Appium interface running process (combined with log screenshot analysis)

Source: Internet
Author: User

Appium interface Running Process:

1. Start an HTTP server: 127.0.0.1:4723
2. Initialize the test Code Setup () to create a Session object on the HTTP server
3. Start calling ADB, locate the device on the connection, set the device ID
4. Wait for the device to be ready to respond to commands
5. Turn on Logcat log monitoring
6. Save the generated apk attribute information file Strings.json to the device/data/local/tmp directory
7, read the APK installation situation
8, port mapping, sent to Appium httpserver content, after httpserver directly to the device
Forward tcp:4724 tcp:4724
9, the Appiumbootstrap.jar package to the device's/data/local/tmp directory
10, install unicodeime-debug.apk to the device
11, install settings_apk-debug.apk to the device
12, install unlock_apk-debug.apk to the device
13. Kill All Uiautomator processes
14, Run bootstrap---uiautomator runtest ***.jar–c ......


15. Open Appium socket server on port 4724
16. Load JSON, wake-up client
17. Submit command to Appium
18. Start the device, unlock the screen, and prepare to receive command
19. Return the response results to the client
20. Execute test Code
21. Turn off log monitoring
22. Close the client link
23. Close UIAutomation
24. Clean up Android objects
25. Clean Appium Session

Appium interface running process (combined with log analysis)

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.