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

Method for generating graphical user interface (GUI) software test case based on incident response function tree

An event response function and software testing technology, which is applied in software testing/debugging, electrical digital data processing, error detection/correction, etc., can solve the problems of complex models, simplification of test cases, etc., and achieve concise models, easy implementation, and methods simple effect

Inactive Publication Date: 2016-06-15
BEIHANG UNIV
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] According to one aspect of the present invention, a GUI software test case generation method based on the event response function tree model is provided to overcome the shortcomings of the existing method that the model is complex and the test case cannot be simplified in combination with the source code, and an event-based A Method of Generating GUI Software Test Cases Responding to Function Tree Model

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 generating graphical user interface (GUI) software test case based on incident response function tree
  • Method for generating graphical user interface (GUI) software test case based on incident response function tree
  • Method for generating graphical user interface (GUI) software test case based on incident response function tree

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Before the specific description, first determine the relevant concepts.

[0029] Function call graph: The function call graph of a software is a directed graph, its nodes are all functions, and its edges are the call relationships between functions, including both "intra-class" function calls and "inter-class" function calls. If function A calls function B, there is an edge from A to B. Such as image 3 As shown, it is a part of a GUI software function call graph written in Java language, in which the edge from node "FileMenuUtil.exit" to node "Notepad.exit" is an "inter-class" function call, and the edge from node "FileMenuUtil.exit" to node The edge of "FileMenuUtil.confirmExit" is an "in-class" function call.

[0030] Event response function: The event response function is a special function in GUI software, which connects user operations and internal codes. For example, when the user clicks a button, the system will automatically call the event response function,...

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

A method for generating a graphical user interface (GUI) software test case based on an incident response function tree comprises the steps of analyzing function call relations of GUI software, and constructing a function call graph of the GUI software; extracting all incident response functions according to the constructed software function call graph, recording corresponding operations of the incident response functions, and generating script files; analyzing master-slave relations of the incident response functions through the function call graph, and thus constructing the incident response function tree; traversing the incident response function tree generated in the third step, finding all paths beginning from a root node and ending at a leaf node, sequentially combining recorded corresponding operation scripts according to the sequence of the incident response function, and finally generating the test case. The incident response function tree is constructed according to the method, reachable relations between incidents can be analyzed automatically, and an effective test case is generated.

Description

technical field [0001] The invention relates to a method for generating a GUI software test case, in particular to a method for generating a GUI software test case based on an event response function tree model. The method belongs to the technical field of software testing. Background technique [0002] The use of Graphical User Interface (GUI) is becoming more and more common in today's software systems. Usually, in a software system, the GUI part occupies more than half of the code, so the correctness of the GUI part of the software system is to ensure the correctness of the entire software system. critical to the correct operation of the system. In order to ensure the correctness of the GUI part of the software, a more common way is GUI testing. The acquisition of GUI software test cases is generally very resource-intensive and involves a lot of human participation. Although some researchers have proposed some methods for automatic generation of GUI test cases, due to ...

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/3684
Inventor 殷蓓蓓王宾方蕴宇蔡开元
Owner BEIHANG 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