A docker-based webui automated testing method

A technology for automated testing and test reporting, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as machine requirements and unsolved environmental construction, and save machine resource requirements, deployment, and machine reduction. effect of numbers

Active Publication Date: 2021-10-22
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the problems of machine requirements and environment construction are still unresolved

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
  • A docker-based webui automated testing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The present invention provides a docker-based WebUI automated testing method, such as figure 1 As shown, the methods include:

[0041] S1, install the docker module on the host machine, and configure the container image based on the docker module;

[0042] S2, start the container image;

[0043] S3, create a Python module;

[0044] S4, preset the test cases to be executed on the container image;

[0045] S5, run the test case, and output the test report on the Python module.

[0046] In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions protected by the present invention will be clearly and completely described below using specific embodiments and accompanying drawings. Obviously, the implementation described below Examples are only some embodiments of the present invention, but not all embodiments. Based on the embodiments in this patent, all other embodiments obtained by persons of ...

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 docker-based WebUI automated testing method, installing a docker module on a host machine, configuring a container image based on the docker module; starting the container image; creating a Python module; presetting the test case to be executed on the container image; running the test Use case, output test report on Python module. Combine the docker container technology with the existing webUI test framework to reduce the number of machines required for testing. The test environment image can be customized through the docker container technology, and the same test environment can be created by starting the image, saving a lot of time for building the test environment. Start multiple selenium node container nodes on the host machine where docker is installed, saving a lot of machine resource requirements. And the container starts quickly, saving the deployment of the test environment.

Description

technical field [0001] The invention relates to the field of server testing, in particular to a docker-based WebUI automated testing method. Background technique [0002] In daily testing, you will encounter the test scenario of UI automation for web applications. The commonly used tool is to use Selenium, combined with some test frameworks to combine test cases for UI automation testing, but this UI automation method will bring the following problems: [0003] The test machine and the test script are not separated, which consumes hardware resources; the serial execution efficiency of the script is low, and the automatic execution time is too long; the environment is complicated to build; for the multi-version test of the browser, the demand for the machine is a big problem; [0004] For the above problems, it is currently possible to implement multi-threading to improve test efficiency. But opening multiple browsers will also bring certain problems to the hardware resource...

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/36G06F9/455
CPCG06F9/45558G06F11/3672G06F2009/4557G06F2009/45575
Inventor 王志广
Owner ZHENGZHOU YUNHAI INFORMATION 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