Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS: Restart app without reset with default server settings - How? #3783

Closed
amedvedjev opened this issue Oct 8, 2014 · 5 comments
Closed
Labels

Comments

@amedvedjev
Copy link
Contributor

the problem is valid when Appium server used with third-party services like AppThwark.

we do not control Appium server in such case and it is running with default settings = reset app during launchApp().

Question:

  • How restart client in such case without client reset on real iOS device (not emulator)?
  • Is it possible to implement reset control during launchApp() execution?
@0x1mason
Copy link

0x1mason commented Oct 8, 2014

You can control resets with noReset and fullReset capabilities as described here: http://appium.io/slate/en/master/?java#appium-server-capabilities Eg

DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.SetCapability("browserName", "");
capabilities.SetCapability("appium-version", "1.0");
capabilities.SetCapability("platformName", "Android");
capabilities.SetCapability("platformVersion", "4.3");
capabilities.SetCapability("deviceName", "Android Emulator");
capabilities.SetCapability("app", app);
capabilities.SetCapability("noReset", true);

@amedvedjev
Copy link
Contributor Author

really thanks!

how i missed it....

@0x1mason
Copy link

0x1mason commented Oct 8, 2014

Hope it works for you.

I'm going to close the issue. If you're still having problems, comment here and I'll reopen it.

@marcinstagrowski
Copy link

marcinstagrowski commented Mar 3, 2019

You can control resets with noReset and fullReset capabilities as described here: http://appium.io/slate/en/master/?java#appium-server-capabilities Eg

capabilities.SetCapability("noReset", true);

This solved all my problems! Thanks!

@lock
Copy link

lock bot commented Mar 10, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants