Hi everyone,
I need to test UTM parameters in my app. As per google developer article I need to install and quit the app. Then I have to run the adb shell command to set the UTM parameters and then I can run my test.
driver.closeApp(); just minimises the app.
driver.resetApp(); reinstalls the app and reset all the settings. So whatever commands I run before launchapp are useless.
driver.launchApp(); also does the same thing. After this command the app opens as if it was being opened for the first time so i guess this is also reinstalling the app.
My requirement is Kill the app --> run a command --> reopen the app. This cannot be done by above methods. Is there any other way?
I am using Appium 1.4.13 GUI mode (not commandline) on ONX 10.11.2 El Capitan for testing my android app.
Thanks in advance.