Skip to content

Providing device permissions while downloading a file from the AUT (iOS/Android)

In this example, you are provided with the storage access to a device(iOS/Android) while downloading a file from AUT. Here, you are storing the context of an application at runtime to a variable using the storeContext command and the same variable can be used in switchContext command to provide the required access.

Solution:

# Command Target Value
Launch Application
1 open /  
Store the context of the application
2 storeContext context  
Display the stored text
3 echo context  

 

Feedback and Knowledge Base