Hey,
We have iOS automation scripts using java, appium 1.4.13 and Xcode 7 up and running.
However our app development IDE recently started using XCode 8, which means that out automation also has to.
I did the following but end up getting an error each time (AS below) with the webdriveragent launching but not opening the app. I’m testing on a simulator. Please advise.
Here are the steps I followed so far:
- Upgrade to XCode 8 store version.
- From command line downloaded appium
npm install -g [email protected]
npm install wd (returned [email protected]) - Set desired caps in code as
// Set capabilities
capabilities.setCapability(“deviceName”, DEVICE_NAME);
capabilities.setCapability(“platformName”, “iOS”);
capabilities.setCapability(“platformVersion”, PLATFORM_VERSION);
//capabilities.setCapability(“interKeyDelay”, 0); //Should input text faster
capabilities.setCapability(“bundleId”, BUNDLE_ID);
capabilities.setCapability(“automationName”, “XCUITest”);
//capabilities.setCapability(“wdaLocalPort”, “8100”);
capabilities.setCapability(“app”, IPA_NAME);
On execution the app installs on the simulator, but does not launch - isntaed the webdriveragent launches and then the simulator closes. Got the following error: