Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for automatically recovering cross-model GUI (graphic user interface) test scripts

A graphical user interface and test script technology, applied in software testing/debugging, program control devices, etc., can solve problems such as unrecognizable processing events, failure of event stream reachability, and inability to directly trigger current events.

Inactive Publication Date: 2012-07-11
NANJING UNIV
View PDF2 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The problem to be solved by the present invention is: the existing automation event reachability model cannot completely describe the whole event flow contained in the GUI application program, and even a large number of controls may not be recognized; Identify, that is, the corresponding GUI controls and events cannot be found in the new version of the event accessibility model, or the accessibility of the event flow is invalid, that is, after the previous event is triggered, the current event cannot be directly triggered

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
  • Method for automatically recovering cross-model GUI (graphic user interface) test scripts
  • Method for automatically recovering cross-model GUI (graphic user interface) test scripts

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to solve the problem that the old version of the automated GUI test scripts in the regression test fails in large numbers on the new version of the GUI program due to GUI changes and other reasons, avoid the huge manpower caused by manually modifying a large number of test scripts or even having to re-record the GUI test case set and time overhead. The invention proposes a cross-model GUI test script automatic repair method, and uses a model checking method to help test engineers to perform automatic script repair. The cross-model GUI test script automatic repair method needs to use the event reachability model of the new version GUI program to verify the validity of the old version GUI test script, and delete, add or modify the old version GUI test script based on the event reachability model The invalid part enables the modified GUI test script to be successfully executed on the new version of the GUI program.

[0030] The repair object of the method of 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 invention discloses a method for automatically recovering cross-model GUI (graphic user interface) test scripts, which is used for carrying out automatic recovery on GUI test scripts recorded on an older-version GUI program aiming at a new-version GUI program. The invention provides a method implemented by using the complementation of two event reachability models so as to describe the GUI structure and event reachability models of an application program more completely and accurately, the legitimacy of statements of the GUI test scripts is examined by using the two event reachability models, and an automatic recovery scheme is given to incorrect GUI test scripts in the new-version GUI program. According to the invention, the legitimacy verification and recovery of scripts are completed by using the collaboration of the two models, and a self-built event reachability model is continuously perfected in the process of recovering without the overmuch confirmations of engineers; and due to the joint analysis and verification of the two models, the integral description on all event flows included in the GUI application program is ensured, and the automation of legitimacy verification and recovery of GUI test scripts is realized.

Description

technical field [0001] The invention belongs to the technical field of software testing, especially the technical field of regression testing for GUI programs in software testing. The repair object is an automated GUI test script, specifically a test script recorded by a test engineer using an automated GUI testing tool. A Cross-Model Automatic Repair Method for GUI Test Scripts. Background technique [0002] In software engineering, software testing is an essential and important part. In order to ensure software quality, software testing engineers need to spend a lot of manpower and material resources on software testing. These testing activities include system-level testing, namely Graphical User Interface (GUI) testing. Existing automated testing tools provide recording / replaying functions, and test engineers can manually record test scripts and re-execute test scripts during regression testing. [0003] However, with software evolution and version changes, the GUI...

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/36G06F9/44
Inventor 陈振宇高则宝邹云潇骆斌
Owner NANJING UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products