windows上Appium安装和使用

时间:2021-10-07 18:39:10

1、Appium安装相关依赖工具:

Android Studio或者Android SDK:https://developer.android.com/studio/
Appium Desktop: https://github.com/appium/appium-desktop
Appium: https://github.com/appium/appium
Appium Clients:http://appium.io/docs/en/about-appium/appium-clients/
示例代码:https://github.com/appium/sample-code

 

2、环境变量:

ANDROID_HOME=D:AndroidAppium-install-packageandroid-sdk
PATH=$ANDROID_HOME/bin/:~/bin/:$PATH

 

3、不通过Android Stuido,直接启动模拟器:

D:Androidandroid-sdkemulatoremulator.exe -list-avds

D:Androidandroid-sdkemulatoremulator.exe ‘@设备名‘

 

4、查找app入口

adb logcat | grep Displayed