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

Control mode based WEB automated testing device and method

A technology of automated testing and patterns, applied in software testing/debugging, error detection/correction, instrumentation, etc., can solve the problems of large amount of code, reduce the efficiency of automated testing, unfavorable user interface, daily maintenance of automated testing codes, etc., to reduce Maintenance costs, improving test efficiency, and reducing duplication of code

Inactive Publication Date: 2018-02-23
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF3 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the existing technology, some problems can be solved by introducing the Page Object design pattern, but the method of using the page as the smallest unit of the WEB UI has problems such as a huge amount of code for element location management and element search, which greatly reduces the efficiency of automated testing and is not conducive to users Daily maintenance of the automated test code of the interface

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
  • Control mode based WEB automated testing device and method
  • Control mode based WEB automated testing device and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. The following disclosure provides specific embodiments for realizing the devices and methods of the present invention, so that those skilled in the art can more clearly understand how to realize the present invention. To simplify the disclosure of the present invention, components and arrangements of specific examples are described below. Furthermore, the present invention may repeat reference numerals or letters in different examples. This repetition is for simplicity and clarity and does not in itself indicate a relationship between the various embodiments or arrangements discussed. It should be noted that components illustrated in the figures are not necessarily drawn to scale. Descriptions of well-known components and processing techniques and processes are omitted herein to avoid unnecessarily limiting the present invention. It should...

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 control mode based WEB automated testing device. The device comprises a business action module, a test case module, a test data module, a continuous integration module, a testexecution module and a control module; the device business action module is used for completing packaging of business logical action of automated testing; the test case module is used for calling business action needed by a test case from the business action module; the test data module is used for storing data information needed by testing; the continuous integration module is used for concentrating a test code to a trunk test program and completing compiling, packaging and testing of an automated calling program project; the test execution module is used for calling a tool and an executionplatform of WEB automated testing; the control module is used for seeking a concrete control in a WEB interface and generating a control case. By selecting the control as the minimum unit to further refine the page, operation testing is conducted on the control, duplicated codes in automated testing are reduced, and the testing efficiency is improved. The invention further provides a control modebased WEB automated testing method.

Description

technical field [0001] The invention relates to the field of WEB automatic testing, in particular to a WEB automatic testing device and testing method based on a control mode. Background technique [0002] User interface testing (UI testing) is used to test whether the functions of the user interface meet the standards. The functional standards of the user interface include: whether the layout of the functional modules is reasonable, whether the overall style is consistent, whether the placement of each control is in line with customer usage habits, etc. . [0003] The automated testing of the user interface is to simulate the human UI operation by the machine to carry out the automated testing process. Most UI automation tests use positioning methods such as id, name, and class name. Since the WEB interface changes frequently and there are a large number of element operations on the front end, a large number of operation codes are required for maintenance. Therefore, 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
CPCG06F11/3684G06F11/3688
Inventor 王志广
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO 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