Test case description oriented GUI (Graphical User Interface) automatic test system and test method thereof

A technology for automated testing and test cases, applied in the direction of software testing/debugging, etc., can solve the problems of heavy task of test script writing, and the consistency of test scripts and test cases consumes a lot of time and manpower, so as to save writing work and improve readability. , time-saving effect

Inactive Publication Date: 2011-08-17
BEIHANG UNIV
View PDF1 Cites 47 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention aims at the heavy task of writing test scripts in current GUI automated testing, the time-consuming and labor-intensive determination of the consistency of test scripts

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 case description oriented GUI (Graphical User Interface) automatic test system and test method thereof
  • Test case description oriented GUI (Graphical User Interface) automatic test system and test method thereof
  • Test case description oriented GUI (Graphical User Interface) automatic test system and test method thereof

Examples

Experimental program
Comparison scheme
Effect test

test Embodiment 1

[0046] Test cases generally include several test steps that describe test actions. Aiming at the description of test steps, the method of the present invention proposes a test case natural description language to describe the test steps in the test case, thereby standardizing the writing mode of the test steps in the test case. The test case natural description language library 11 defines the natural description language elements involved in the writing of test steps in test cases, that is, test action elements. These test action elements can be combined to express the test step description content of all the GUI test cases of the system under test .

[0047] Step 2: The test case conversion module 12 converts the edited test case into the corresponding test script, and then judges whether the user continues to edit the test case. If the user wants to continue editing, go to step 1 to execute, and if it does not continue to edit, execute Step 3. The test case conversion module ...

test Embodiment Cas

[0048] Such as Figure 4 It is an example of a test case Case1. The test case involves two test nodes: machine A and machine B. Figure 5 For the two corresponding converted test scripts, namely the test script Case1A of machine A and the test script Case1B of machine B, the test script of machine A is used to complete. Figure 4 In the operation performed on machine A, the test script of machine B is used to complete Figure 4 In the operation performed on the B machine. against Figure 4 As shown in the test steps, the test case conversion module 12 parses out the machine name (A or B), action name (click, set and observe), control name (a, b, c, and d) from each action sentence Parameter value. among them, Figure 4 The third sentence in "After 3 seconds" is a waiting sentence. It does not indicate the machine to which it belongs. This sentence is divided into the machine script to which it belongs. Here is the test script of machine A. The fourth sentence and the third sent...

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 a test case description oriented GUI (Graphical User Interface) automatic test system and a test method thereof, belonging to the field of software test. The test system comprises a test management subsystem and a test executive subsystem, wherein the test management subsystem is used for providing test case oriented normalized description language elements to generate a test case in a test step; and the test executive subsystem is used for transmitting a corresponding test script to a corresponding test node in an automatic conversion test step and is used for executing the test script to generate a test result. In the test method, a normalized test step is generated, the test script is automatically generated aiming at the step, a test execution coordination message is increased in the test script, and automatic testing is realized aiming at a distributed test system. Through the system and the method, the conventional heavy test script editing task of GUI automatic testing is simplified, time and labor are saved, and the problem of coordination confronted by performing the GUI automatic testing aiming at the distributed system is solved.

Description

Technical field [0001] The invention belongs to the field of software testing, and relates to a GUI automated testing system and a testing method for testing case description. Background technique [0002] At present, GUI (Graphical User Interface) testing for software systems can be divided into manual testing and automated testing. Manual testing has certain limitations. The disadvantages of manual testing are: (1) Manual testing requires high labor and material investment; (2) Manual testing is difficult to ensure the accuracy and reliability of test results; (3) For large and complex For systems, especially safety-critical systems, manual testing is actually not feasible. In comparison, the advantages of GUI automated testing are: (1) It can well replace a large number of human operations in manual testing, complete the automatic operation of the GUI interface, automatically trigger the various functions of the application, and detect the properties and functions of the cont...

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
Inventor 王志超余丹尹杰马世龙储大为张强张杨
Owner BEIHANG UNIV
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