Mobile-Side Automation ==> what is Appium

Source: Internet
Author: User
Tags appium

Transferred from: http://www.imdsx.cn/

Mobile app is divided into two categories, native app (Native app) and hybrid app (Hybrid app)

Native app (Native app)

Native app is actually our common traditional app development mode, cloud data storage +app application client. The app client contains all the UI elements, frame logic, and so on. Only data is stored in the cloud.

Hybrid app (Hybrid app)

Hybrid app is HTML5 app, mixed app is usually composed of two parts, HTML5 Cloud website +app application client, where the app client is actually just a shelf, the UI elements and logic are stored in the cloud, each time when the app is opened, Go to the cloud to get data presented to mobile users. To put it bluntly, the hybrid app is nesting Web pages into the app client. Because every time you open the APP to request data to the HTML cloud service, it generates a small amount of data traffic, and if you don't have a network, you can't see the HTML App. This is the often said H5 page.

Appium Introduction

Appium is an open-source, cross-platform, automated testing framework for Native apps, Hybrid apps.

Appium has a better philosophy of design, simply do not for mobile automation testing and the development of a set of API interface, so Appium is also based on selenium Webdriver has been extended to expand some of the operational Mobile API interface, After we learned the API interface of selenium, we learned that the Appium only need to learn to expand the API interface of those operations mobile side.

The best thing about Appium is that it supports cross-platform operations. In fact, when we tested it, we started a appium server, which can be put on any machine for common use by the company's automated testers.

Appium principle

Appium since is based on the selenium do two expansion, then Appium is also a classic client-server design pattern, our code is a narrow client, the server side and selenium different, Selenium directly test the browser Web page and use the browser as the server. and Appium's service side is our own start-up appium-server. The data and operation commands are passed in the same way as the Selenium API interface, adhering to the rest design-style API interface. (The so-called rest design style, just a bunch of people who like to write a paper to put out the noun, let everyone see the foggy. Simple understanding, is an interface design method, online for rest interpretation of endless, translated into three words, look at the URL know what to do, see HTTP Metod know what to do, look at the HTTP Status code to know the results. )

Appium Workflow

Mobile-Side Automation ==> what is Appium

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.