To run iOS tests, you can follow these steps :

(Note : I am using Java language here in Eclipse IDE and using Appium app):

  1. Create a new java project in Eclipse.
  2. Import jar files : Selenium Server (formerly the Selenium RC Server) version and required client driver (according to your language choice) which can be downloaded here. (To import : Right click on your project -> Properties -> Libraries -> Add External JARs. Add all three selenium jar files here.)
  3. Download Appium app and launch.
  4. You can run your test scripts either in simulator or on real device. To run scripts on real iOS device, you will need 'deviceName', 'platformVersion', 'UDID' (Device ID) and 'Bundle ID' (Application Bundle ID) and absolute path to the .ipa.
  5. To run scripts on iOS simulator , you will need 'deviceName', 'platformVersion', path to .app and 'Bundle ID' of your app.
  6. Choose capabilties in Appium app and mention the same in your script based on whether you are testing on simulator or on device.
  7. Launch Appium server and then run your script.

All Appium server capabilities which can be used can be found here.

You can refer to my blog post here as well for more details to execute a sample basic script.

转自:http://stackoverflow.com/questions/20730917/setting-up-appium-for-ios-app-test-automation

最新文章

  1. Centos7 and docker practices
  2. oracle基本操作
  3. CEF3开发者系列之类和接口
  4. sql里Where条件顺序
  5. centos7.2安装配置
  6. 从user 登陆開始
  7. mysql单引号和双引号的用法
  8. 网络编程(发送get和post请求到服务器端,并获取响应)
  9. HDU 4939 Stupid Tower Defense
  10. 基于存储过程的MVC开源分页控件
  11. shell实现四则运算简单方法
  12. QML与Qt C++ 交互机制探讨与总结
  13. 外部排序&多路归并排序
  14. angular指令的4种设计模式
  15. linux下mount/unmount命令
  16. 《SQL CookBook 》笔记-第二章-查询结果排序
  17. 一个致命的 Redis 命令,导致公司损失 400 万!!
  18. 使用idea创建springboot项目并打成war包发布到tomcat8上
  19. 晚期(运行期)优化---HotSpot虚拟机内的即时编译器
  20. Leetcode 1013. 总持续时间可被 60 整除的歌曲

热门文章

  1. 在 Yii2 项目中使用 Composer 添加 FontAwesome 字体资源
  2. 九度oj 题目1086:最小花费
  3. Luogu【P3609】蹄子剪刀布(DP+滚动数组)
  4. 简单介绍一下solr?
  5. JCaptcha+Memcache的验证码集群实现
  6. ElasticSearch集群状态查看命令大全
  7. json-lib maven依赖出错的问题
  8. Codeforces 432D Prefixes and Suffixes kmp
  9. 湘潭oj1203/邀请赛A题 数论+java大数
  10. (25)python urllib库