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

Automatically testing interface of graphical user interface program and automatically testing method thereof

A graphical user interface and automatic testing technology, applied in the direction of software testing/debugging, can solve the problems of increased testing cost, robustness of graphical user interface and limited effect of limit testing, so as to improve the speed of testing and achieve robustness And limit test, improve the effect of test accuracy

Inactive Publication Date: 2007-12-05
KORTIDE LTD
View PDF0 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, to use this tool, you must be familiar with the relevant API (application programming interface) and each message, and the user must manually record each parameter of the message, which undoubtedly increases the cost of testing, and the tool is robust to the graphical user interface and Limit testing doesn't do much

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
  • Automatically testing interface of graphical user interface program and automatically testing method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] As shown in Figure 1, the automatic test interface is located between the driver and the event parser, and the event parser directly faces the automatic test interface instead of the driver, so that the driver is transparent to the event parser; and the event parser It is only responsible for processing the data sent by the automatic test interface. The automated test interface provides various data to the parser depending on the type of test.

[0013] As shown in Figure 2, the automatic test interface includes: multiple threads, one or more data files, random events and a configuration file.

[0014] The implementation process of the automatic test interface and its automatic test method according to the present invention will be further described below in conjunction with specific embodiments:

[0015] First, before starting the GUI program, the automatic test interface needs to obtain whether the running mode is normal mode, recording mode, playback mode or random m...

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 self-testing interface between driving and affair analyzer and self-testing method of image boundary program for user, which comprises the following parts: multiple line paths, one or more data file, random affair and allocating file. The self-testing method comprises the following steps: obtaining the operating pattern of self-testing interface; affirming whether the operating pattern is common pattern, recording pattern, playback pattern or random pattern; writing the data read by data line path into ordered data file when the operating pattern is recording pattern; reading data from ordered data file through reading data line path when the operating pattern is playback pattern; transmitting the data to the affair analyzer; hanging the reading data line path when the operating pattern is random pattern; generating random pattern through random affair generating line path; transmitting the affair to the affair analyzer to process. The invention is convenient to record and play back the operation of mouse and keyboard with automatic regression test, which is fit for robustness and limit test.

Description

technical field [0001] The invention relates to an automatic test interface for testing a graphical user interface program. The test interface can record and replay the operations driven by the user's mouse and keyboard through data files. The invention also relates to a method for performing automatic testing by the automatic testing interface. Background technique [0002] The graphical user interface is the final display of the program to the user, and the only part of the program that the user can see is the graphical user interface. Therefore, the quality of the graphical user interface directly affects the user experience and directly determines the quality of the program. Just because the GUI is so important in the application program, people pay more and more attention to the testing of the GUI. [0003] The interaction between the graphical user interface and the user is generally through hardware such as the mouse (or touch screen) and keyboard, so the test of the...

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 KORTIDE LTD
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