Test method, Appium client and computer storage medium

A test method and client-side technology, applied in computing, software testing/debugging, error detection/correction, etc., can solve problems such as large amount of scripts, inability to discover new function risks in time, and low test efficiency

Pending Publication Date: 2021-12-03
BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, for mixed-development applications, specific writing / maintenance scripts are required, resulting in a large amount of scripts, resulting in high application testing costs, and risks brought by new functions cannot be discovered in time; it can be seen from this that the existing There is a technical problem of low testing efficiency in the testing method of the application

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
  • Test method, Appium client and computer storage medium
  • Test method, Appium client and computer storage medium
  • Test method, Appium client and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] The embodiment of the present application provides a test method, which is applied to the Appium client, wherein the Appium client is connected to the terminal through the Appium server, and the terminal is installed with an application program. figure 1 For a schematic flow diagram of an optional testing method provided in the embodiment of the present application, refer to figure 1 As shown, the above test methods may include:

[0028] S101: Obtain the i-level page of the application;

[0029] At present, technologies such as Native, H5, applets, RN, and Flutter are generally used for hybrid-developed applications. When testing hybrid-developed applications, the cost of coding / maintaining scripts is high, and it cannot be implemented in a timely manner. Discover the risks brought by new functions, such as native application CRASH, ANR and H5 page resource loading failure, etc.

[0030] In order to reduce the test cost and avoid the risks brought by the existing test...

Embodiment 2

[0144] Figure 5 Schematic diagram of the structure of an Appium client provided by the embodiment of this application Figure 1 ,Such as Figure 5 As shown, the Appium client is connected to the terminal through the Appium server, and the application program is installed on the terminal, including: obtaining module 51, parsing module 52, testing module 53 and u determining module 54; wherein,

[0145] The obtaining module 51 is used to obtain the i-level page of the application program; wherein, i is the number of consecutive jumps required to jump from the startup page of the application program to the i-level page;

[0146] Parsing module 52, for when i is less than the maximum page depth of the application program, analyze the i-level page according to the type of the handle of the i-level page, and obtain the clickable elements of the i-level page; wherein, the maximum page depth of the application program is the application program total number of pages;

[0147] The ...

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 embodiment of the invention discloses a test method which is applied to an Appium client, the Appium client is connected with a terminal through an Appium server, and an application program is installed on the terminal. The method comprises: obtaining an i-level page of the application program, and when i is smaller than the maximum page depth of the application program, analyzing the i-level page according to the type of a handle of the i-level page to obtain clickable elements of the i-level page; performing a click test on the clickable elements of the i-level page to obtain a test result of the i-level page, updating i to i + 1, and returning to execute the step of obtaining the i-level page of the application program; and determining the test result of the i-level page as the test result of the application program when i is greater than or equal to the maximum page depth of the application program. The embodiment of the invention also provides an Appium client and a computer storage medium.

Description

technical field [0001] The application relates to application testing technology, and in particular to a testing method, an Appium client and a computer storage medium. Background technique [0002] At present, mobile application development technologies are extensive, usually involving technologies such as Native, H5, applets, RN, and Flutter. [0003] As a cross-platform automated testing tool, Appium meets the needs of automated testing to a certain extent, reducing the manpower of testers in the main process of regression testing. However, for mixed-development applications, specific writing / maintenance scripts are required, resulting in a large amount of scripts, resulting in high application testing costs, and risks brought by new functions cannot be discovered in time; it can be seen from this that the existing There is a technical problem of low testing efficiency in the testing method of the application program. Contents of the invention [0004] The embodiment ...

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/3688
Inventor 徐征磊赵然
Owner BEIJING WODONG TIANJUN INFORMATION TECH CO LTD
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