官术网_书友最值得收藏!

Appium architecture

Now that we have understood the different types of mobile apps, let's take a look at how Appium is architected to support mobile app automation. Appium is basically a web server written in Node.js. The server performs actions in the given order:

  • Receives connection from client and initiates a session
  • Listens for commands issued
  • Executes those commands
  • Returns the command execution status

So basically, Appium is a client-server architecture.

The Appium server receives a connection from client in the form of a JSON object over HTTP. Once the server receives the details, it creates a session, as specified in JSON, and returns the session ID, which will be maintained until the Appium server is running. So, all testing will be performed in the context of this newly created session. The following is a diagram depicting the Appium architecture:

The Appium server is written in Node.js; it can be installed via npm or directly from source.

主站蜘蛛池模板: 定州市| 海安县| 和平区| 柯坪县| 平果县| 九龙县| 米泉市| 栾川县| 东丽区| 西乌珠穆沁旗| 额敏县| 界首市| 枣阳市| 武隆县| 旬阳县| 中阳县| 康马县| 宕昌县| 精河县| 康平县| 海门市| 孝昌县| 兴山县| 台州市| 林西县| 马边| 荃湾区| 贡觉县| 定安县| 克山县| 襄垣县| 冀州市| 唐山市| 那曲县| 环江| 安庆市| 谢通门县| 内乡县| 班戈县| 凤冈县| 宜章县|