Textbook official website: Getting Started See (official website textbook)
http://airtest.netease.com/docs/cn/index.html
https://testerhome.com/topics/12486
https://testerhome.com/topics/17892 (introductory tutorial to explain in detail)
Prepared demo
Item structure as shown:
Script is as follows:
- Achieve a multi-case operation while generating reports polymerization
- Different devices run the same script
Script execution method :( python3 environment installed)
Into the root directory of the project: python3 runner.py F: \ airtest_project \ air_case
After executing the script, log folder extra logs generated content xx.air:
Generate reports command: python3 report.py F: \ airtest_project \ air_case \ log
After executing the script generate reports, create an aggregated report summary.html :
Aggregate Report summary.html, as follows, to enter xx.air script corresponding corresponding file name to see the results