环境安装好以后:
一、打开模拟器
二、在dos命令下打开使用adb命令
1、adb connect 127.0.0.1:62001 通过ip地址链接设备
2、adb install D:appappnewduoceshi.apk( 安装apk包)
或者安装D:appappnewaiduyuedu_3760.apk
3、查看夜游模拟器界面
三、点击打开appium界面
(1)点击appium

(2)点击右上角按钮,开启appium,出现如下界面:
四、启动uiautomatorviewer进行元素定位
(1)在D:appappnewadt-bundle-windows-x86_64-20140702sdk ools目录下面双击启动
uiautomatorviewer 实现APP元素的定位。 如下图:

(2)启动以后点开界面,获取app界面元素,定位

=================================================
安装appnium
方法一:
pip install Appium-python-client
方法二:python中安装