Appium Android driver is un installing for second time even full reset is false. Below are cases i am attaching.
** First time installing as expected **
capabilities.setCapability("noReset", false);
capabilities.setCapability("fullReset", true);
androidDriver = makeAndroidDriver(serverUrl, capabilities);
** Here also uninstalling even fullReset= true and noReset=false**
capabilities.setCapability("noReset", true);
capabilities.setCapability("fullReset", false);
androidDriver = makeAndroidDriver(serverUrl, capabilities);
** for third time and next onwards, it is not uninstalling **
capabilities.setCapability("noReset", true);
capabilities.setCapability("fullReset", false);
androidDriver = makeAndroidDriver(serverUrl, capabilities);
** When i change capabilities fullrest=true then reinstalling as expected.but again same as above scenarios **
capabilities.setCapability("noReset", false);
capabilities.setCapability("fullReset", true);
androidDriver = makeAndroidDriver(serverUrl, capabilities);
The problem here AndroidDrviver not initializing second time properlly after fullRset=false. This one is happening only in android. In IOS its is working properlly Please help. Tq in advance.
This will work fine . Since I am guessing that AUT(Application Under Test) is getting fresh installation and moreover appium is started with new session
** Here also uninstalling even fullReset= true and noReset=false**
For this
** for third time and next onwards, it is not uninstalling ** [Which is correct only] For this
** When i change capabilities fullrest=true then reinstalling as expected.but again same as above scenarios **
For this: Not able to identify your issue .
For more info on this capabilities . Please go and visit once appium java docs . Appium Capabilities Docs
Official-Appium Docs Link
Reset Statergies on ANDROID & iOS