UI automatic test method and device

An automated test and a technology to be tested, applied in the computer field, can solve problems such as heavy test workload, low stability, time-consuming and labor-intensive, etc., to improve test efficiency and accuracy, reduce test cost, and reduce test workload Effect

Pending Publication Date: 2020-04-10
GUANGZHOU PINWEI SOFTWARE
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In order to solve the problems of the prior art, the embodiment of the present invention provides a UI automation testing method to overcome the need to spend a lot of manpower and material re

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
  • UI automatic test method and device
  • UI automatic test method and device
  • UI automatic test method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] figure 1 is a flow chart of a UI automation testing method shown according to an exemplary embodiment, refer to figure 1 As shown, the method includes the following steps:

[0057] S1: Obtain common functions of both the software to be tested and the reference software, and determine corresponding test operations according to the common functions.

[0058] Specifically, since generally when a new version of the software is released, the function points of the new version of the software are limited, and most of them are not changed, that is, most of the function points of the old version are used. This feature is used in the embodiments of the present invention. By performing the same operation on the old and new versions, and then comparing the results of the two, it is tested whether the common functions of the new version software and the old version software are consistent. It should be noted here that the new version software is the software to be tested in the e...

Embodiment 2

[0090] Figure 5 is a schematic structural diagram of a UI automated testing device shown according to an exemplary embodiment, refer to Figure 5 As shown, the device includes:

[0091] An operation acquisition module, configured to acquire the common functions of the software to be tested and the reference software, and determine the corresponding test operation according to the common functions;

[0092] A result acquisition module, configured to acquire a first test result generated by the software to be tested executing the test operation and a second test result generated by the reference software executing the test operation;

[0093] A difference comparison module, configured to compare the first test result and the second test result corresponding to each step in the test operation, and determine whether there is a difference between the first test result and the second test result;

[0094] The report generation module is configured to generate a difference report ...

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 UI automatic test method and device, and the method comprises the steps: obtaining a common function of to-be-tested software and reference software, and determining a corresponding test operation according to the common function; obtaining a first test result generated when the to-be-tested software executes the test operation and a second test result generated when thereference software executes the test operation; comparing the first test result and the second test result corresponding to each step in the test operation, and judging whether a difference exists between the first test result and the second test result or not; and if the difference exists, generating a difference report according to the first test result, the second test result and the corresponding test operation. By executing the same operation on the to-be-tested software and the reference software and comparing whether the test results of the to-be-tested software and the reference software are different or not, the test of the to-be-tested software is completed, the test workload is reduced, the test efficiency and accuracy are improved, an automatic case and a maintenance case do not need to be written, and the test cost is reduced.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a UI automation testing method and device. Background technique [0002] Software testing is indispensable in the software development process. Testing tools are used to perform testing operations according to a certain testing plan and process. The purpose is to find potential defects in the software, reduce software development and maintenance costs, and promote software quality improvement. Among various types of automated software testing, the software testing closest to user needs is related to user interaction, that is, user interface testing. User interface testing is called User interface testing in English, referred to as UI testing, and mainly refers to testing the functional modules of the user interface. Whether the layout is reasonable, whether the overall style is consistent, whether the placement of each control is in line with the customer's usage habits, etc., ...

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
IPC IPC(8): G06F11/36
CPCG06F11/3692
Inventor 陈策
Owner GUANGZHOU PINWEI SOFTWARE
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