Appium-based Android app automated testing framework construction method and device

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

Active Publication Date: 2021-11-16
TRAVELSKY
View PDF6 Cites 0 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
  • Appium-based Android app automated testing framework construction method and device
  • Appium-based Android app automated testing framework construction method and device
  • Appium-based Android app automated testing framework construction method and device

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 clearer, 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 ne...

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 an Appium-based Android App automated testing framework construction method and device. Wherein, the method includes: encapsulating public methods of App operations to form a public method library, wherein the public methods include an element acquisition method, and the element acquisition method is based on uiautomatorviewer. According to the control type configured in the configuration file, the XML layout file of the current Android terminal is processed Parsing and traversing to obtain the page elements of the App to be tested and generate the page element management classes required by the test framework; build a Spring+TestNG-based template project managed by Maven; among them, the public method library and template project constitute Appium-based Android App automated testing framework. Through the present invention, the problem of low efficiency of Appium-based automated testing is solved, and the efficiency of Appium-based automated testing 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 Patents(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