Method for generating script files to test Web application software and device thereof

A script file and software testing technology, which is applied in the field of generating script files to test web application software, and can solve the problem of high maintenance of scripts

Inactive Publication Date: 2009-09-09
STATE GRID CORP OF CHINA +4
View PDF1 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] In order to solve the problem of high maintenance of scripts in the automated testing process of Web appli

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 script files to test Web application software and device thereof
  • Method for generating script files to test Web application software and device thereof
  • Method for generating script files to test Web application software and device thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The first embodiment provided by the present invention is an automated testing method for Web application software, the method flow is as follows image 3 shown, including:

[0026] Step 101: Obtain each Web element in the Web application software to be tested, and generate a Web element library.

[0027] Step 102: Generate an operation set of each Web element based on each Web element in the Web element library, and generate an operation library according to each Web element and the corresponding operation set.

[0028] Step 103: Read the Web elements in the operation library and their corresponding operation sets one by one, set the actions performed by each operation, generate a control unit (ie, the operation action library) according to the Web elements and the actions corresponding to their operations, and translate them into script file.

[0029] Step 104: Convert a test case into a parameter list (ie, an automated test case) required for running the script fil...

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 generating script files to test Web application software and a device thereof. In order to overcome high maintenance workload of scripts during automation tests of the Web application software, the method comprises the following steps: translating Web elements of the Web application software to be tested and corresponding operation action sets into the script files, obtaining identification information of the Web elements corresponding to test steps of a test case and operation action description information, sequentially calling the corresponding identification information of the Web elements and the operation action description information according to the test steps by the script files, automatically testing the Web application software to be tested, sequentially reading the corresponding identification information of the Web elements and the operation action description information according to the test steps by the generated script files so as to reduce the maintenance workload of the script files.

Description

technical field [0001] The invention belongs to the field of automatic testing, in particular to a method and a device for generating script files to test Web application software. Background technique [0002] Automated testing is the process of simulating manual operations with the help of testing tools and test specifications, thereby partially or completely replacing manual testing and improving testing efficiency. Automated testing has a strong advantage. With the computing power of the computer, it can run repeatedly and tirelessly. For data, it can perform accurate and large-scale comparisons without errors. Automated testing can free testers from the heavy and repetitive testing process. Therefore, automated testing is getting more and more attention and favor from everyone. [0003] Patent Application No. 200710043589 "An automated test method and device for a Web application system", the test method is as follows: decompose the business process of the Web applicat...

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 STATE GRID CORP OF CHINA
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