Appium-andriod Automation Implementation Considerations

Source: Internet
Author: User

Note Item:

1.appium requires global installation, otherwise run test case error "Appium not Installed" 2. Start Appium command

Node/applications/appium.app/contents/resources/node_modules/appium/build/lib/main.js

3.ADB auto push to be tested APK to phone end failed

/data/local/tmp/b2d2916bb5388e1dc281ec3e71ef1234.apk:no such file or directory, the solution is to manually execute the command "ADB push xxx.apk/data/ local/tmp/b2d2916bb5388e1dc281ec3e71ef1234.apk "

4.Screen did not unlock successfully

Solution Reference: HTTPS://GITHUB.COM/APPIUM/APPIUM-ANDROID-DRIVER/BLOB/MASTER/DOCS/UNLOCK.MD, as specified below

Using the unlock with UIAutomation capabilities:

{

  "Unlocktype" pin"Unlockkey" 1111"}   

Appium-andriod Automation Implementation Considerations

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.