Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system for generating page automation test script

A technology for automated testing and script generation, applied in software testing/debugging, etc., to achieve the effects of reducing workload, improving testing efficiency, and flexibly adjusting

Active Publication Date: 2016-03-30
ALIBABA GRP HLDG LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] This application provides a page automation test script generation method and system to solve the problem of automatic test script generation in the page coding process

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 and system for generating page automation test script
  • Method and system for generating page automation test script
  • Method and system for generating page automation test script

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] refer to figure 1 , which shows a first embodiment of a page automation test script generation method of the present application, including the following steps:

[0049] Step 101, monitor the input operation, and obtain the input html attribute and attribute value of the page element to be converted.

[0050] The page automation test script generation system includes an input interface for inputting html attributes and the corresponding attribute values. The page automation test script generation system obtains the html attributes of the page elements to be converted by monitoring the input operation of the input field corresponding to the input interface. and property values. Specifically, the input function can be realized through the swing interface framework technology of java, and a swing monitoring event program can be added to realize the monitoring of input operation and content.

[0051] The html attribute of the page element to be converted usually includes ...

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 provides a method for generating an automatic test script on a page. The method comprises the following steps of monitoring input operation to acquire an input html attribute, an attribute value and a conversion type; querying a conversion rule corresponding to the html attribute based on the acquired html attribute, and converting the attribute value into a conversion value meeting the requirement of target grammar according to the conversion rule; and querying an assembly rule corresponding to the conversion type based on the acquired conversion type, and assembling the conversion value according to the assembly rule to obtain a target test script. The invention also provides a system for generating the automatic test script on the page to implement the method. By the method and the system for generating the automatic test script on the page, the efficiency of generating the automatic test script can be improved, and the test time and workload can be reduced.

Description

technical field [0001] The present application relates to the technical field of computer software testing, in particular to a method and system for generating page automation test scripts. Background technique [0002] During the software development process or after the development is completed, it is usually necessary to conduct relevant tests on the software to find problems in time, so as to ensure that the software can run normally after release. Through continuous research and development, the industry has developed a series of automated testing methods to automate software testing to improve testing efficiency, shorten testing time and labor costs. [0003] However, it is difficult to process the web pages in the development process by means of automated testing, because the automated testing of web pages first needs to automatically convert the source code of the web page elements into an executable syntax for automated testing, but because web pages Elements have ...

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 ALIBABA GRP HLDG LTD