Selenium :Appium Architecture


Appium Architecture communication steps

Step 1:Appium client (C# or Java or Python ) connects with Appium Server (Appium app  are basically server, written in Node.js and expose the Rest Api)and communicate via JSON Wire Protocol
Step 2: Appium Server then creates a automation session for that client and also checks the desired capabilities of client and connects with respective vendor-provided frameworks like (Selendroid/UIAutomator (based on android versions)/UIautomation (In case of IOS)
Step 3: Vendor-provided frameworks (UIAutomator/UIautomation)will then communicate with bootstrap.jar which is running in Emulator/Real device for performing client operations
Step 4: Bootstrap.jar act as a TCP server to perform action on our AUT (Application Under Test)
  


server (Appium) basically exposes REST api which performs the following actions:
1) Receives connection from client
2) Listen command
3) Execute command
4) Respond back the command execution status


Exection Flow>> ::>>Appium command sent in form of json via http request to Appium Server -->Appium server invokes vendor specific mechanism to execute those commands --->Client send back the message to Appium server --->Appium server logs the result in console 

Post a Comment

0 Comments