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:\Android\Appium-install-package\android-sdk
PATH=$ANDROID_HOME/bin/:~/bin/:$PATH
3、不通过Android Stuido,直接启动模拟器:
D:\Android\android-sdk\emulator\emulator.exe -list-avds
D:\Android\android-sdk\emulator\emulator.exe ‘@设备名‘
4、查找app入口
adb logcat | grep Displayed
原文地址:https://www.cnblogs.com/andrew-303/p/11821761.html
时间: 2024-11-10 11:53:06