This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.
1 / 7
Jan 2018

I know this topic has been covered several times, but I haven’t found an answer.

The simulator restarts and re-installs the app for each test that my script runs. I’ve tried using noReset and fullReset a million times and it doesn’t make any difference.

What I need is:

  1. The simulator starts and the app is installed.
  2. The app is launched and the test is executed.
  3. The app is closed and completely reset.
  4. The app is re-launched, next test is executed, and so on.

At the VERY least, the app can be re-installed after the test ends. Re-launching the simulator is very time consuming! I don’t see why this is so difficult to accomplish. I’ve looked everywhere for a solution.

current setup:

self.driver = webdriver.Remote(
            command_executor='http://0.0.0.0:4723/wd/hub',
            desired_capabilities={
                'app': os.path.abspath('applicationtotest/XXXX.app'),
                'platformName': 'iOS',
                'platformVersion': '10.3',
                'deviceName': 'iPhone 6s',
                'newCommandTimeout': "7200",
                'locationServicesEnabled': True,
                'automationName': 'XCUITest',
                'fullReset': False,
            })
  • created

    Jan '18
  • last reply

    Jan '18
  • 6

    replies

  • 562

    views

  • 3

    users

  • 1

    like

Sorry about that. Then just using ‘noReset’: True can you post the logs in a gist link?

i am using noReset: true and it works in my case.

iOSClient: {
            port: 4723,
                desiredCapabilities: {
                    platformName: "iOS",
                    platformVersion: "11.2",
                    deviceName: "iPad Pro (9.7-inch)",
                    app: "path/to/app/*.app",
                    automationName: "XCUITest",
                    autoWebview: true,
                    noReset: true
            }

can you post a log or send in msg?