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

A gui software input boundary value acquisition method and system

An acquisition method and boundary value technology, applied in the field of GUI software input boundary value acquisition, can solve the problems of heavy workload, long time consumption, low efficiency, etc., and achieve the goal of improving work efficiency, reducing workload, and high degree of automation Effect

Active Publication Date: 2017-09-29
中国软件评测中心(工业和信息化部软件与集成电路促进中心)
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This is a simple and easy method, but in practice, especially in the iterative software development process, the software requirements change frequently, and it is difficult for the above documents to be consistent with the latest software codes, and testers often get Outdated and obsolete documents, relying on such documents to obtain software input boundary values ​​that are far from the final software; Compared with the first method, the second method does not have the problem of being out of line with the source code and being outdated, but This method has high requirements for testers, requiring testers to have high programming experience and familiarity with different programming languages, and because there is no direct correspondence between the source program code and interface controls, even by analyzing the source code The program code finds all the variables in the program, and cannot obtain the value range of the interface controls. It still takes a long time for testers to find information related to software input from the source program code; in the third method, Testers try to input data of different lengths and types, and get the boundary of the software input field through continuous trial input
This method has a certain degree of blindness, and needs to try each field multiple times, with heavy workload and low efficiency

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
  • A gui software input boundary value acquisition method and system
  • A gui software input boundary value acquisition method and system
  • A gui software input boundary value acquisition method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] The present invention mainly solves the problem of obtaining the boundary value of the input field of GUI software, and its purpose is to provide a method for automatically obtaining the boundary value of the input field of GUI software, so that testers can grasp the scope and type of the input field intuitively, accurately and quickly, and provide a basis for testing Use case design provides the basis.

[0059] The invention mainly aims at four different boundary and range setting modes of the GUI software input interface, and proposes a solution for obtaining the software input boundary. For the situation where the software input boundary is set through the form design code, this solution uses the automatic scanning and analysis method of the form design code file to find out all the controls contained in the form and generate a list of keyboard input controls. According to the attributes of each control, Get the boundary value of the control;

[0060] For the situat...

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 software input boundary value acquisition method, which is applied to software containing a graphical user interface GUI, including: scanning the source code of the software to be tested; obtaining the code corresponding to the window input control of the software in the code file section, the code section contains the range information of the input field. The invention also discloses a system corresponding to the above method. The invention provides a convenient and efficient method for software input field testing, and can greatly improve the adequacy, effectiveness and testing efficiency of software input field testing.

Description

technical field [0001] The invention relates to the field of software testing, in particular to a method and system for acquiring GUI (Graphical User Interface) software input boundary values. Background technique [0002] Software input is the source of driving software operation. By processing different software inputs, the software completes the specified functions. When the software does not deal with some possible input, the software will run wrong. The core task of software testing is to design various software inputs in the software input domain, and to verify whether the software processing is correct. If the input field of the software can be exhausted, all the problems in the software can be found out. However, since the software input field is a huge space, it is impossible to run test cases for all inputs in a limited time, which is commonly called The input explosion problem. In order to solve the problem of input explosion, many methods have been proposed in...

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 Patents(China)
IPC IPC(8): G06F11/36
Inventor 于长钺于秀山田洪娟郭立宏刘然迟芳刘丰孙宁
Owner 中国软件评测中心(工业和信息化部软件与集成电路促进中心)
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