Appium use under Windows

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.