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

Web automatic test framework system

An automated testing and framework system technology, applied in software testing/debugging, error detection/correction, instrumentation, etc., can solve the problems of increasing the amount of script code and increasing the cost of scripting, and achieve the effect of reducing the amount of code and reducing the cost of writing

Pending Publication Date: 2021-12-24
四川启睿克科技有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For each actual project, the number of test case scripts can reach tens of thousands. If these two types of judgment conditions are added to each test case script class, the amount of script code will be greatly increased, which will undoubtedly increase script writing. cost

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 automatic test framework system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0018] Such as figure 1 As shown, a web automation testing framework system provides the inheritance and use of other modules to complete the writing, execution, and output of test results of automated test scripts through the separated pre- and post-judgment method. The different modules divided include:

[0019] The basic class module, which provides the most basic web page operation method, is used to be inherited by other modules, and calls the page operations in this module.

[0020] This module is the core module of the entire system, and all other modules need to use the methods contained in this module. At the same time, the module is scalable. In the process of performing automated testing, when using the methods of the basic class, if the basic class method lacks the operation method required for the test, you can add it to the basic class method at any time, and you can use the basic class method more flexibly. But for commonly used page operation methods, the ba...

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 automatic test framework system, which comprises a basic class module which integrates and packages a plurality of page operation methods and is used for being inherited by other modules and calling the page operation methods in the module; a page object class module integrates all page object elements of a project project and has an operation method of the basic class module by inheriting the basic class module; a public auxiliary method class module is used for providing a test case script execution result for the framework; a test case script method module is used for compiling a test case script; a pre-test and post-test judgment condition module comprises a pre-test judgment condition and a post-test judgment condition which are inherited and called by the test case script method module; a test case script execution module is used for executing the test case script and outputting a corresponding test result; a test result integration module is used for carrying out integration operation on the test results and outputting the test results; according to the invention, the repeatability of the test script is reduced.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to a web automation testing framework system. Background technique [0002] For the current mainstream web automated testing framework system, the test case script module is the most important module in project testing. This module is mainly used to write test case scripts. The quality of test case scripts directly affects the test quality of the entire project. The test case script module of the framework will write pre- and post-judgment conditions in each test case script class when writing test case scripts. These conditions mainly include two types: pre-judgment conditions and post-judgment conditions. The pre-judgment conditions are mainly used to pre-set the test environment, such as browser driver settings and browser maximization; the post-judgment conditions are mainly used to clean up the test environment after the test is completed, providing a clean environment...

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/36G06F8/30
CPCG06F11/3684G06F11/3688G06F8/315
Inventor 植松
Owner 四川启睿克科技有限公司
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