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

Web automation test method and device, electronic equipment and storage medium

A technology for automated testing and testing machines, applied in software testing/debugging, electrical digital data processing, error detection/correction, etc., can solve the problems of increasing the number of testing machines, idle waste of testing machines, and difficult implementation, and achieve the goal of improving efficiency Effect

Active Publication Date: 2021-03-16
ISOFTSTONE INFORMATION TECHNOLOGY (GROUP) CO LTD
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, based on the method of automated testing tools, the test machines that perform test tasks are all physical machines, that is, physical machines that have installed corresponding operating systems and browsers. For multiple combination tests of multiple machines, multiple operating systems, and browser versions, etc. , which will increase the number of testing machines required, and the cost is high, and it is wasteful to idle the testing machine when the test is not performed; but if the testing machine is used for other tasks at the same time, there may be conflicts or performance problems
In addition, in the test work, it is not easy to implement the test machine environment that is completely the same or a certain item is configured differently.
For the container method, like the rabbit platform, although the test machine is supported, it cannot view the dynamic operation of the browser in real time, and can only view the service execution status through the log; and the container where the test machine is located must be deployed on the same machine as the management server , cannot be separated

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 automation test method and device, electronic equipment and storage medium
  • Web automation test method and device, electronic equipment and storage medium
  • Web automation test method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] figure 1 It is a flow chart of the web automation testing method in Embodiment 1 of the present invention. This embodiment is applicable to the web automation testing situation that supports remote real-time viewing of the execution status of the test service in the testing machine. The method can be executed by a web automation testing device, which can be implemented in the form of software and / or hardware, and can be configured in an electronic device, for example, the electronic device can be a device with communication and computing capabilities such as a background server. like figure 1 As shown, the method specifically includes:

[0029] Step 101, based on the container technology, deploy the test machine on the physical machine according to the preset configuration file and the test machine dependent image; wherein, the configuration file includes at least novnc port information and test service information.

[0030] Container technology is to isolate the depl...

Embodiment 2

[0055] figure 2 It is a flow chart of the web automation testing method in the second embodiment of the present invention, and the second embodiment is further optimized on the basis of the first embodiment. like figure 2 As shown, the method includes:

[0056] Step 201, based on the container technology, according to the target operating system, browser information, web automation tools and log report results, the production of the test machine dependent image is realized.

[0057] Wherein, the target operating system includes a linux operating system or a windows operating system, the browser information includes at least two browser information, and at least two candidate test machine dependent images supporting different operating systems and different browser information are produced.

[0058] Because the attributes of different test tasks lead to different operating systems and browser information, it is necessary to support different operating systems and different ...

Embodiment 3

[0078] Figure 5 It is a schematic structural diagram of the web automation testing device in Embodiment 3 of the present invention, and this embodiment is applicable to web automation testing that supports remote real-time viewing of the execution status of the test service in the testing machine. like Figure 5 As shown, the device includes:

[0079] The test machine deployment module 510 is used to deploy the test machine on the physical machine according to the preset configuration file and the test machine dependent image based on the container technology; wherein, the configuration file includes at least novnc port information and test service information;

[0080] Port information sending module 520, for sending described novnc port information to test management platform;

[0081] The test service execution module 530 is used for the test machine to execute the test service according to the test service information.

[0082] The embodiment of the present invention i...

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 embodiment of the invention discloses a web automatic test method and device, electronic equipment and a storage medium. The web automation test method comprises the steps of deploying a test machine on a physical machine based on a container technology according to a preset configuration file and a test machine dependent mirror image; wherein the configuration file at least comprises novnc port information and test service information; sending the novnc port information to a test management platform; and executing a test service according to the test service information by the test machine. According to the method of the invention, the efficiency of web automatic testing is improved through the reusability of the testing machine depending on the mirror image, and the execution condition of the testing service of the testing machine can be remotely checked in real time by setting the novnc port information.

Description

technical field [0001] The embodiment of the present invention relates to the technical field of software testing, and in particular to a web automation testing method, device, electronic equipment and storage medium. Background technique [0002] Web automated testing, that is, using testing tools to simulate manual browser automated testing, the testing process is based on browser operations. Therefore, the test tool or test platform must drive the browser to operate in order to complete the web automation test tool. [0003] Currently, testing tools or platforms can drive browsers to execute tests based on web automation testing tools (such as selenium). Based on the test tool selenium, it supports distributed test execution, that is, it supports the configuration of the center and nodes, and starts one or more browser drivers of all machine nodes under the center to implement multi-environment execution tests. Or implement test machine testing services based on contain...

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
CPCG06F11/3664G06F11/3696G06F11/3688
Inventor 黄丽改王永海赵洲鹏
Owner ISOFTSTONE INFORMATION TECHNOLOGY (GROUP) CO LTD