ios+Appium+Java
2024-09-02 07:25:18
To run iOS tests, you can follow these steps :
(Note : I am using Java language here in Eclipse IDE and using Appium app):
- Create a new java project in Eclipse.
- 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.)
- Download Appium app and launch.
- 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.
- To run scripts on iOS simulator , you will need 'deviceName', 'platformVersion', path to .app and 'Bundle ID' of your app.
- Choose capabilties in Appium app and mention the same in your script based on whether you are testing on simulator or on device.
- 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
最新文章
- Centos7 and docker practices
- oracle基本操作
- CEF3开发者系列之类和接口
- sql里Where条件顺序
- centos7.2安装配置
- 从user 登陆開始
- mysql单引号和双引号的用法
- 网络编程(发送get和post请求到服务器端,并获取响应)
- HDU 4939 Stupid Tower Defense
- 基于存储过程的MVC开源分页控件
- shell实现四则运算简单方法
- QML与Qt C++ 交互机制探讨与总结
- 外部排序&;多路归并排序
- angular指令的4种设计模式
- linux下mount/unmount命令
- 《SQL CookBook 》笔记-第二章-查询结果排序
- 一个致命的 Redis 命令,导致公司损失 400 万!!
- 使用idea创建springboot项目并打成war包发布到tomcat8上
- 晚期(运行期)优化---HotSpot虚拟机内的即时编译器
- Leetcode 1013. 总持续时间可被 60 整除的歌曲