I am trying to automate my iOS native app. I am using appium with JAVA and TestNG framework.
I have written capabilities as follows:
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability("appium-version", "1.4.0");
capabilities.setCapability("platformName", "iOS");
capabilities.setCapability("platformVersion", "8.4");
capabilities.setCapability("deviceName", "iPhone 4s");
capabilities.setCapability("app", "/Users/ankit/Desktop/Appium/PeddleSeller.app");
capabilities.setCapability("bundleId","com.Peddle-Seller");
driver = new IOSDriver(new URL("http://127.0.0.1:4723/wd/hub"), capabilities);
capabilities.setCapability(MobileCapabilityType.APP_PACKAGE, "com.Peddle-Seller");
capabilities.setCapability(MobileCapabilityType.APP_ACTIVITY, "com.Peddle-Seller.SplashActivity");
Do I miss anything for iOS app?
Can anyone give me sample project for automation of native iOS app.
It will be great help.