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

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.

主站蜘蛛池模板: 离岛区| 蒲城县| 楚雄市| 宜宾县| 利川市| 南乐县| 麻阳| 淄博市| 深水埗区| 桐城市| 顺义区| 咸阳市| 通化县| 淮滨县| 黄大仙区| 大连市| 德昌县| 贺州市| 清苑县| 息烽县| 商河县| 紫金县| 泸西县| 阿坝| 唐山市| 朔州市| 涿鹿县| 雷山县| 开封市| 镶黄旗| 临泽县| 区。| 南召县| 呼和浩特市| 丘北县| 改则县| 合江县| 商河县| 鲁甸县| 锦屏县| 徐州市|