Web automated testing method and device

A technology for automated testing and driving testing, applied in software testing/debugging and other directions

Inactive Publication Date: 2014-03-12
YONYOU NETWORK TECH CO LTD
View PDF4 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The comprehensive coverage of function points is achieved, and it also solves the purpose of automatic test code redundancy and low reusability

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
  • Web automated testing method and device
  • Web automated testing method and device
  • Web automated testing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] Reference figure 2 The elements are allocated in various elements abstract models according to the type.

[0039] Take an HTML document as an example:

[0040]

[0041]

[0042] XX file

[0043]

[0044]

[0045]

[0046] XX name

[0047] XX link

[0048] [0049] Year [0050] moon [0051] day [0052]

[0053]

[0054]

[0055] New

[0056] Delete

[0057] Refresh

[0058] Save

[0059]

[0060]

[0061]

[0062] ...

[0063] ...

[0064]

[0065]

[0066]

[0067]

[0068] Scan the HTML document above, through the label, we can get all the operating elements contained in the XX file.Scan to the FileD area. This area is a field area and continues to scan the lower -level node, including an input box (INPUT tag), link (A tag), and the select (Select with Option tags).Scan to the Button area, this area is the button area, which contains three buttons, newly added (button_add tags), delete (button_del tags), and refreshed (button_refresh tags).Scan to...

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 Web automated testing method and device, which are used in the drive testing process of a tested object. The method comprises the following steps: 1, scanning a tested HTML (Hypertext Markup Language) document, and collecting all operable page elements; 2, presetting an action set of various types of elements; 3, executing actions to guarantee the element action set; 4, designing a test case operating step, and providing a basis for a testing action sequence; 5, arranging elements according to a sequence written in a test case, realizing the occurrence of a case sequence via corresponding actions in the element action set, and completing all action sequences according to the case; 6, checking whether all elements initiate actions or not. According to the scheme, the comprehensive coverage of functional points in the web automated testing is ensured; meanwhile, the technical problems of redundant automated testing codes and poor reusability are solved.

Description

Technical field [0001] The present invention involves the field of automation testing, especially a web automation test method and device that is driven by the test of the test object. Background technique [0002] In the current common customer relationship management (CRM) system, the system objects are generally based on files and documents. Files and documents can be seen from the operating interface. The visible parts include fields and buttons.Fields generally correspond to various data types, while buttons correspond to various actions.The fields and buttons are the operation objects for the web automation test to perform automated operations. [0003] After these operation objects are called, a series of responses are given, and the initiator of the execution operation is monitored, and the judgment is given to be successful.It is easy to ignore a problem in this way, that is, the system's files and documents are not fully executed by automation.If the initiator of the a...

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 Applications(China)
IPC IPC(8): G06F11/36
Inventor 姜思慧
Owner YONYOU NETWORK TECH CO LTD
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