appium在MAC上环境搭建
2017-07-22 20:31
405 查看
1. 安装、启动Appium
bixiaopeng@bixiaopeng ~$ npm install -g appium Password: npm http GET https://registry.npmjs.org/appium npm http 200 https://registry.npmjs.org/appium npm http GET https://registry.npmjs.org/appium/-/appium-0.15.0.tgz npm http 200 https://registry.npmjs.org/appium/-/appium-0.15.0.tgz ………..此处省略N多字 ├── swig@1.1.0 (optimist@0.6.0, uglify-js@2.4.0) ├── express@3.4.8 (methods@0.1.0, merge-descriptors@0.0.1, cookie-signature@1.0.1, range-parser@0.0.4, fresh@0.2.0, debug@0.7.4, buffer-crc32@0.2.1, cookie@0.1.0, send@0.1.4, commander@1.3.2, connect@2.12.0) ├── socket.io@0.9.16 (base64id@0.1.0, policyfile@0.0.4, redis@0.7.3, socket.io-client@0.9.16) └── ws@0.4.31 (tinycolor@0.0.1, options@0.0.5, commander@0.6.1, nan@0.3.2)
bixiaopeng@bixiaopeng ~$ npm install wd npm http GET https://registry.npmjs.org/wd npm http 200 https://registry.npmjs.org/wd ………..此处省略N多字
bixiaopeng@bixiaopengtekiMacBook-Pro ~$ appium &
2.
检查环境。使用命令appium-doctor
出现上面的问题解决的方法:
bixiaopeng@bixiaopengtekiMacBook-Pro ~$ sudo vim /etc/profile 加入: export JAVA_HOME=/Library/Java/Home
3.执行測试用例
測试JAVA用例:安装apps/ContactManager/ContactManagers.spk
导入idea — 环境配置成功后 — 右点选中AndroidContactsTest — Run'AndroidContactsTest'
微信公众帐号:
wirelessqa
关于作者:
作者: 毕小朋 | 老 毕 邮箱: wirelessqa.me@gmail.com微博: @WirelessQA 博客: http://blog.csdn.net/wirelessqa
相关文章推荐
- mac下appium自动化测试安卓环境的搭建和运行测试
- appium环境搭建 window 和 mac 笔记本
- appium在MAC上环境搭建
- MAC下的appium环境搭建
- 一、Mac下Appium环境搭建
- 集成——Mac电脑上app自动化测试(Appium + xcode 8.2 + python)环境搭建
- 二、Mac下Appium环境搭建
- MAC下的appium环境搭建
- appium mac环境搭建
- Mac appium 自动化环境搭建
- appium在MAC上环境搭建
- Appium - iOS Mac环境搭建
- Appium+robotframwork+python 在mac上测试ios应用——1.环境搭建
- mac_appium环境搭建
- mac+Appium+java+IOS 自动化测试环境搭建
- Appium for IOS Automation Test(一) MAC平台中Appium 环境搭建
- 小姐姐教你如何搭建Appium IOS 自动化测试Mac环境
- Appium - iOS Mac环境搭建
- MAC 搭建自动化测试环境(基于Appium+python+ios/android+unnitest+HTMLTestRunner)(一)