Please post your Web Driver questions in official Web Driver forum

Monday, July 4, 2016

Executing appium tests on iOS mobile app

Back to Appium Tutorial Index

Assuming that you have completed installation of xCode and appium on OSx.
Download iphone the sample app and unzip it
Stop Appium app if it is running - Open iOS settings on appium app and specify > App Path, Force Device (if you need to), Platform version as following -

Screen Shot 2016-06-02 at 13.13.54.png

Now appium is ready to install app on iPhone 6-

Screen Shot 2016-06-02 at 13.15.54.png

Click the Inspector button > It would launch inspector and open given app on iPhone 6. You can click on any element and appium inspector would show corresponding details. This information can be used to build element locators for tests -
Screen Shot 2016-06-02 at 13.23.44.png

You can also record use and throw scripts using Record button and modify it to develop production ready script

Now you are ready to test sample ios app tests specified in testng.xml :)

Fork me on GitHub