How to transition from manual testing to automation--Android system application

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

Insert picture description hereInsert picture description here
Execute pip -version and install without error

Published 22 original articles · praised 5 · visits 4324

Guess you like

Origin blog.csdn.net/weixin_42231208/article/details/89176926
Recommended