Appium moving end, test environment

A, Appium client installation

1, Appium brief

(1) Features

    Appium is an open source automated testing tools, support for native applications on iOS and Android, web applications and hybrid applications. It was written by express node.js framework of the HTTP server, appium webdriver use of json wire protocol, driven Apple UIAutomator framework of UIAutomation library system, Android system.

  • "Mobile native application" refers to those applications with iOS or Android SDK to write (Application referred to as app).
  • "Mobile web application" means the application using a mobile browser access (appium support Chrome on Android and Safari on iOS).
  • "Hybrid application" refers to a native code page view Package - native code web content and interaction. For example, as Phonegap, it enables developers to develop applications using web technology, and then encapsulated native code, which is mixed applications.

    Appium is a cross-platform tool: It allows testers to use the same set of API to write automated test scripts on different platforms (iOS, Android), thereby greatly increasing the reusability between iOS and Android test suite code.

  • Official website: www.appium.io, was developed by the company SauceLab

(2) Appium works

Here Insert Picture Description

(2) Appium work process

bootstra.jar is a uiautomator written case package. By the end of the PC in order to run the phone side.
Here Insert Picture Description

2, Appium installation

(1) Appium Desktop installation

Appium also installed in two ways, I'm here only introduces a

  • Before installing Appium Desktop, need to configure the JDK, SDK environment is good, no Node.js
  • Downloading Appium desktop, graphical interface, easy to operate and does not require complex configuration, and up to now has been in maintenance. Download the official website address is as follows, if a relatively slow speed, you can use 4G hotspot at
    the official website address
    testerhome domestic download site, I look up to version 1.8 when
    domestic address
  • Installation is simple, just click to install, all the way to the next step. If this machine, then fill in: 127.0.0.1 to
    Here Insert Picture Description

(2) Installation Appium-Python Library

    Client-Python-Appium (practical approach Appium Client are hidden in the source code, you need to install the Client before using this.)

  • The first :( recommended ) in the command line interface inputpip install appium-python-client
    Here Insert Picture Description
  • The second : installation package
略略略略略略~太麻烦
Published 59 original articles · won praise 6 · views 10000 +

Guess you like

Origin blog.csdn.net/qq_27009225/article/details/104111037