Appium介绍见官网:http://appium.io/docs/cn/about-appium/intro/#introduction-to-appium
http://appium.io/docs/cn/appium-setup/platform-support/index.html
本节介绍按照appium环境(JAVA+Eclipse)
1. JAVA SDK
不再介绍,自行百度。
2. Android SDK:
下载http://tools.android-studio.org/index.php/sdk 并配置环境变量sdk\platform-tools, sdk\tools(Android_Home=E:\Android_SDK, %ANDROID_HOME%\platform-tools;%ANDROID_HOME%\tools;)
注:cmd运行adb检查是否配置成功
打开Android manager.exe下载Android版本(比如6.0)
打开AVD Manage.exe ,创建模拟器
3. 在eclipse中配置Android SDK
Windows->references->Android->选择Android SDK路径,比如E:\Android_SDK
4. 下载appium client:
jar包:http://central.maven.org/maven2/io/appium/java-client/5.0.4/
maven 配置:http://mvnrepository.com/artifact/io.appium/java-client
5. 下载appium server:
下载地址https://bitbucket.org/appium/appium.app/downloads/
现在推荐使用appium-desktop代替appium-server,相关介绍和下载可以到官网https://github.com/appium/appium-desktop
6. 运行appium-doctor检测一切都是否准备就绪
注意需要把Appium\node_modules\.bin 放在环境变量中