title:python Operation in environment airtest project
date: 2021-05-18
1. The Android data cable connects to the computer perform
adb devices
adb tcpip 5555
Then you can unplug the data cable
2. Check the wireless debugging function in Android settings
3.adb Remote connection to mobile phone
adb connect 192.168.5.14
4. Check whether the device is connected
adb devices
5. The computer cmd Switch to project path first , And then run
For example, my project is placed on the desktop, so I cut to the desktop in advance
cd desktop
6. Run the project
stay cmd Input in :
python -m airtest run Clock in .air --device Android:///192.168.5.17:5555 --log log/
Official documents :airtest
Every year at the beginning of
introduction This paper mainl