Hi all,
I use appium to start an android apk and create some pre-condition for testing my main apk, the first part goes well and everything is set until it reaches end and I see in the appium logs that the first apk is forced stopped and this part messes everythig and my main apk cannot see any of those preconditions since that apk is force stopped. Is there a away to end the session without force stopping the first apk ?
This is what I see no matter the flags I set:
Running ‘/home/automation/Android/Sdk/platform-tools/adb’ with args: ["-P",5037,"-s",“HT68R0207645”,“shell”,“am”,“force-stop”,“ru.gavrikov.mocklocations”]
I am setting this flags from my scripts :
desired_caps = {}
.
.
.
.
desired_caps[‘dontStopAppOnReset’] = ‘true’
desired_caps[‘noReset’] = ‘true’
desired_caps[‘fullReset’] = ‘false’
self.driver = webdriver.Remote(‘http://localhost:4723/wd/hub’, desired_caps)
But none of them seems to stop the appium from force stopping the first apk.
Your help is greatly appreciated.