1.web Automation Testing Selenium Webdriver is the C/S mode, server side and client side is achieved through Webdriver protocol, and Appium is a reference selenium developed, the adoption is Webdriver Protocols, while the underlying packages test tools for different platforms;
2.Appium Android Platform Architecture diagram:
Principle:
A. When executing a script, Client-java translates the script into the Webdriver protocol, interacting with Appium server through JSON;
B. Appium server passes the Webdriver protocol and translates it into a UI Automator command, executed by bootstrap
C. Bootstrap forwarding of execution results back to Appium server
3.Appium iOS platform Architecture diagram:
Principle:
A. When executing a script, Client-java translates the script into the Webdriver protocol, interacting with Appium server through JSON;
B. Appium server passes the Webdriver protocol and translates it into a instruments command, executed through UIAutomation
C.instruments to forward the execution results back to Appium server
Appium Basic Three: Appium realization principle