What is dontStopAppOnReset Capabilities? – pCloudy – Question and Answers
Home >> Appium Tricks and Tricks >> What is dontStopAppOnReset Capabilities? ...

What is dontStopAppOnReset Capabilities?



Doesn't stop the process of the app under test, before starting the app using adb. 
If the app under test is created by another anchor app, setting this false, allows the process of the anchor app to be still alive, during the start of the test app using adb. 
In other words, with dontStopAppOnReset set to true, Appium will not include the -S flag in theadb shell am start call. With this capability set to false, the -S flag is included.

Eg:-capabilities.setCapability("dontStopAppOnReset", false);
Valid Values:-true,false
Default value:false

Leave a Reply

Your email address will not be published. Required fields are marked *