Principle automated testing tools

appium

First, the principle

1. Call Android adb command completes basic system operations

Bootstrap.jar deployed on 2.android

3.bootstrap.jar connection is established through the forward port and pc

4.pc side analyzes the command, pass through the forward port bootstrap.jar

5.bootstrap.jar receiving the request, the commands to uiautomator

6.uiautomator Run

Second, what the library needs to be introduced

time、os、unitest、appium webdriver、HTMLTestRunner

 

appium reference links

https://www.cnblogs.com/csj2018/p/9937511.html

https://www.cnblogs.com/sophia194910/p/7515165.html

https://www.cnblogs.com/helenMemery/p/7346485.html

 

selenium

First, the principle

1. Code: webdriver by the protocol driver code to a webdriver

2. Drive: drive commands to the browser

3. Browser: Browser command execution

Second, what the library needs to be introduced

time、os、unitest、webdriver、HTMLTestRunner

 

selenium reference links

https://blog.csdn.net/dawei_yang000000/article/details/87639928

Guess you like

Origin www.cnblogs.com/wangdadada/p/12194728.html