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:
- The simulator starts and the app is installed.
- The app is launched and the test is executed.
- The app is closed and completely reset.
- 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,
})