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

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.

主站蜘蛛池模板: 剑川县| 龙江县| 嘉荫县| 东光县| 项城市| 怀宁县| 隆化县| 洛南县| 泰顺县| 阆中市| 翁牛特旗| 子长县| 屏南县| 平凉市| 新郑市| 高雄市| 东山县| 陆河县| 禄丰县| 三门峡市| 剑河县| 疏勒县| 定襄县| 盘锦市| 庆阳市| 青川县| 昆明市| 永州市| 新津县| 陇西县| 玉林市| 双流县| 平邑县| 博客| 西平县| 晋城| 肥东县| 香河县| 微山县| 龙江县| 札达县|