Cross-platform UI automatic test method and device

An automated testing and cross-platform technology, applied in the computer field, can solve problems such as complex testing schemes, heavy testing workload, and high testing costs, and achieve the effects of improving testing efficiency and accuracy, reducing testing costs, and reducing testing workload

Active Publication Date: 2020-04-14
GUANGZHOU PINWEI SOFTWARE
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problems of the prior art, the embodiment of the present invention provides a cross-platform UI automation testing method to overcome the complex test scheme, high test cost, heavy test workload and low efficiency of the cross-platform software product test in the prior art And other issues

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] figure 1 It is a flowchart of a cross-platform UI automation testing method shown according to an exemplary embodiment, refer to figure 1 As shown, the method includes the following steps:

[0056] S1: Extracting functions of the software to be tested, and matching corresponding test operations for the software to be tested according to the functions.

[0057] Specifically, since most of the business functions of the same software on different platforms are generally the same when the software is released, this feature is used in the embodiment of the present invention to perform the same operation on the same software on different platforms, and then The results are compared to test whether the functions of the software on different platforms are consistent.

[0058] Therefore, in the embodiment of the present invention, it is necessary to first determine the functions of the software to be tested, and then determine the corresponding test operations according to the...

Embodiment 2

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

[0090] An operation acquiring module, configured to extract functions of the software to be tested, and match corresponding test operations for the software to be tested according to the functions;

[0091] A result obtaining module, configured to obtain a first test result generated by the software under test executing the test operation on the first platform and a second test result generated by the software under test executing the test operation on the second platform ;

[0092] 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;

[0093] The report generation module is configure...

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 cross-platform UI automatic test method and device, and the method comprises the steps: extracting the function of to-be-tested software, and matching a corresponding test operation for the to-be-tested software according to the function; obtaining a first test result generated when the to-be-tested software executes the test operation on the first platform and a second test result generated when the to-be-tested software executes the test operation on the second platform; 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 comparing whether the test results generated when the same software executes the same operation under different platformsare consistent or not, the test of the to-be-tested software under different platforms is realized, the test scheme is simplified, the test cost is reduced, the test workload is reduced, and the testefficiency and accuracy are improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a cross-platform 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...

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/3688G06F11/3692Y02D10/00
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