Automatic test method and automatic test platform for graphic user interface (GUI) based on x extensive makeup language (XML) packaging key word

A technology for automatic testing and testing platforms, applied in software testing/debugging, program control devices, etc., can solve problems such as review, confusion, and test scripts that cannot directly use test cases, and achieve the effect of improving readability

Inactive Publication Date: 2011-03-30
AEROSPACE INFORMATION
View PDF0 Cites 43 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to solve the problem of mixing test drive, test logic and test data in the existing scripted automatic test met

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
  • Automatic test method and automatic test platform for graphic user interface (GUI) based on x extensive makeup language (XML) packaging key word
  • Automatic test method and automatic test platform for graphic user interface (GUI) based on x extensive makeup language (XML) packaging key word
  • Automatic test method and automatic test platform for graphic user interface (GUI) based on x extensive makeup language (XML) packaging key word

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The above and other technical features and advantages of the present invention will be described in more detail below in conjunction with the accompanying drawings. The specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0029] First, the XML keywords, types and structures in the present invention are described. see figure 1 As shown, it is a keyword structure diagram of the GUI automatic testing method based on XML-encapsulated keywords of the present invention, which defines the structure between keywords.

[0030] The types of keywords are:

[0031] Test framework class: test case set, test case, test case precondition, test case postcondition;

[0032] Reference class: external test case set, test data table;

[0033] Variable class: variable, structure;

[0034] Test management support category: corresponding to product requirements and corresponding testing requirements;

[0035] Operation...

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 an automatic test method and an automatic test platform for a graphic user interface (GUI) based on extensive makeup language (XML) packaging key words. The method comprises the following steps: step a, a test architecture designer builds an XML architecture file for describing test key words comprising GUI elements; step b, a test example designer compiles an XML file according to the key words to form a test example which comprises test example logic, test data and an expectant result; and step c, a test platform developer develops an automatic test engine, analyzes the XML file in the test example, explains the test key words, locates the GUI elements, executes the test and verifies the result. The test logic and the test data are drawn out of test scripts and constructed by the automatic test developer and the developer, so that the automatic test developer and the tester can allow full play to individual superiorities without interaction.

Description

technical field [0001] The invention relates to a computer software testing technology, in particular to a GUI automatic testing method and an automatic testing platform of a Web application program. Background technique [0002] With the development of computer software technology and the Internet, Web applications have been used more and more. In traditional web application GUI automatic testing methods, people need to write test scripts, use scripting language programming to implement test logic, drive the tested application GUI elements, and realize the purpose of automatic testing. Many commercial testing tools such as HP's WinRunner, QTP, open source testing tools Watir, Selenium, etc. are based on this principle. Commercial tools usually provide recording functions, which can record the operations of testers and generate test scripts. [0003] The disadvantage of this method is: the script generated by the recording method is hard-coded, unstructured, and difficult ...

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/36G06F9/44
Inventor 胡骥
Owner AEROSPACE INFORMATION
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