How to transition from manual testing to automation-Android system application
Applicable scene:
- The individual is currently preparing for the transfer of automated testing positions, but the company does not currently have automated testing technology
- For some occasional bugs, you need to repeatedly test the operation steps, manual operation is time-consuming and laborious
...
This article recommends UI automation testing for Android system apps, using uiautomator2 + Python, and the compiler is Eclipse
Test environment preparation:
- Install Eclipse compiler
- Install Python, I am using Python 3.6.2
- Install pip
- pip command to install uiautomator
- Install WEditor, view interface elements
Problems encountered:
- Install pip, and add pip.exe path to system environment variables
Execute pip -version and install without error
- Create a new jython project in eclipse, and import uiautomator2 reports an error because it is necessary to select Python for
specific installation and use. Refer to:
https://www.cnblogs.com/fnng/p/8486863.html