Hi,
I am trying to figure out, how to uninstall and install the app when the test case starts. Furthermore, I do not want the app getting uninstalled when the application closes.
I tried the below, but it is uninstalling the app at the end of the test case.
Mobile.startApplication(‘Path’, true)
I tried “Mobile.startApplication(‘Path’, false)” but this does not install or uninstall and install the app when the test case starts.
I basically have 2 test cases. What I am trying to do is,
Test case 1 Configuring the app: The app installs the app or uninstalls and installs the app again, and the app starts configuring.
Test case 2 Crate a workflow- Creating a workflow. Here the configured app should open and create the workflow.
Mobile.startApplication(‘Path’, false)
Can anyone tell me how to do this?