Unlock instant, AI-driven research and patent intelligence for your innovation.

Multi-terminal interaction automatic regression testing method

An automatic regression and multi-terminal technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve the time-consuming and labor-consuming problems of manual regression testing, reduce labor costs and error probability, save test time, The effect of improving test progress and quality

Pending Publication Date: 2021-11-19
ZHEJIANG WANPENG EDUCATION TECH CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a method for automatic regression testing of multi-terminal interaction for the situation that manual regression testing is very time-consuming and labor-intensive

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] Step 1. Connect the device under test to the computer via a USB data cable, and input the number of devices under test, the use case number, and the user role of the App under test according to the test requirements;

[0020] The data input described is implemented as follows:

[0021] The program obtains the number of input devices under test, use case number, and user role data of the App under test through input("Please enter").strip(), and uses logging to record the data entered in the program, the device information obtained, and the operation of executing the test, etc. recorded in the log file.

[0022] Step 2. Complete the preparatory work before the test, including obtaining the information of the device under test (device model, system version, screen resolution, etc.), starting Appium, installing the app under test, and starting the app under test;

[0023] The pre-test preparations described are as follows:

[0024] 1. Obtain the list of tested devices thr...

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 discloses a multi-terminal interaction automatic regression testing method. The method comprises the following steps: 1, connecting a tested equipment with a computer through a USB data line, and inputting the number of the tested equipment, case numbers and tested App user roles according to test requirements; 2, completing preparation work before testing, wherein the preparation work comprises the steps of obtaining information of tested equipment, starting Appium, installing a tested App and starting the tested App; 3, reading the number of the test case written in the Excel, and executing the test case according to the number of the test case, wherein the test case comprises a tested module, an operation instruction, an operation name, operation content, Android version compatibility and whether multi-thread locking exists or not; and step 4, ending the test and generating a test report, and completing the generation of the test report by using python + unittest + HTMLtestrunner. According to the invention, the regression test efficiency is greatly improved, the labor cost and the error probability are reduced, and the test progress and quality are improved.

Description

technical field [0001] The invention belongs to the field of software testing, and in particular relates to a method for automatic regression testing of multi-terminal interaction. Background technique [0002] Regression testing is a very important part of the software life cycle. During the software development process, regression testing is repeated, and the rapid iteration of new versions increases the workload and repetition rate of regression testing. Using manual testing for regression testing, in addition to increasing the workload, there are many other uncontrollable factors that affect the progress and quality of testing. [0003] The present invention develops a method for automatic regression testing of multi-terminal interaction. It only needs to execute the automated testing program on the computer, and can automatically complete the Android mobile terminal App regression testing work according to the test cases set in advance, and can control multiple The int...

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/3684G06F11/3688G06F11/3692Y02D10/00
Inventor 戴敏
Owner ZHEJIANG WANPENG EDUCATION TECH CO LTD