1. Create an AVD, version 4.4, start and unlock
2. Download the jar package, Selenium-java-2.44.0.jar,selenium-server-standalone-2.44.0.jar,java-client-1.7.0.jar
3. Create a Java project and import the above jar package
4. Start Appium (command line: appium)
5. Running the JUnit program
The method of element recognition and location under Appium
Using Uiautomatorviewer.bat (recommended) or Monitor.bat
These are both located under Android Sdk\adt-bundle-windows-x86_64-20131030\sdk\tools
About Apppackage and appactivity, you can directly ask the development, their own words may be more trouble
Findelementbyid: Using resource ID to locate
Findelementbyname: Using text positioning
Findelementbyclassname: Using class positioning
XPath: not much to use
viewing elements using Uiautomatorviewer
650) this.width=650; "title=" 1.png "src=" Https://s3.51cto.com/wyfs02/M02/A2/8D/wKioL1miTsmSd_ Ywaacgh0hlguu025.png-wh_500x0-wm_3-wmp_4-s_3314283520.png "alt=" Wkiol1mitsmsd_ywaacgh0hlguu025.png-wh_50 "/>
Appium use under Windows