Method and device for constructing Android App automated test framework based on Appium

A technology of automated testing and construction methods, applied in the field of Android App automated testing framework construction based on Appium, can solve problems such as low automated testing efficiency, and achieve the effect of improving automated testing efficiency

Active Publication Date: 2018-08-21
TRAVELSKY
View PDF6 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The present invention provides an Appium-based Android App automated testing framework construction method and device, to at least solve the problem of low efficiency of Appium-based automated testing in the related art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for constructing Android App automated test framework based on Appium
  • Method and device for constructing Android App automated test framework based on Appium
  • Method and device for constructing Android App automated test framework based on Appium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The characteristics and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is only to provide a better understanding of the present invention by showing examples of the present invention.

[0029] It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method and a device for constructing an Android App automated test framework based on Appium. The method comprises the following steps: forming a public method library for public methods for encapsulating an App operation, wherein the public method comprises an element obtaining method, and the element obtaining method performs parsing and traversing on an xml layout fileof the current Android terminal according to a control type configured in a configuration file based on uiautomatorviewer so as to obtain page elements of App to be tested and generate a page elementmanagement class required by the test framework; constructing a Maven-managed Spring+TestNG-based template project; wherein the Android App automated test framework based on Appium is constructed by the public method library and the template project. Through the method and the device provided by the invention, the problem of low efficiency of the automated test based on Appium is solved, and the efficiency of the automated test based on Appium is improved.

Description

technical field [0001] The present invention relates to the field of automated testing, in particular to an Appium-based Android App automated testing framework construction method and device. Background technique [0002] Terminology Explanation [0003] uiautomatorviewer: The element acquisition tool that comes with the Android SDK (can obtain id, name); [0004] @componet, @Autowired: Spring annotations for automatic scan generation and assembly of Java objects; [0005] POI: API for reading and writing files in Microsoft Office format; [0006] activity: One of the four major components in the Android system, which can be used to display View. [0007] For Android App developers, the various bugs and terminal tests of Android Apps are different from common Web applications: Bugs in Android Apps are often hidden deeply, and sometimes they do not appear until users use them. For the testing process, it is necessary to ensure enough test scenarios, and at the same time,...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3684
Inventor 程立陈梦星邓浩然杨冬森
Owner TRAVELSKY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products