Check patentability & draft patents in minutes with Patsnap Eureka AI!

Automatic testing method and related equipment

A technology of automated testing and test analysis, applied in software testing/debugging, error detection/correction, instruments, etc., can solve the problem of high cost of test analysis and achieve the effect of reducing the cost of test analysis

Pending Publication Date: 2022-03-11
CHINA CONSTRUCTION BANK
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The invention provides an automated testing method and related equipment to solve the problem of high cost of testing and analysis of automated testing

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
  • Automatic testing method and related equipment
  • Automatic testing method and related equipment
  • Automatic testing method and related equipment

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0050] refer to figure 2 , figure 2 For the first embodiment of the automated testing method of the present invention, the automated testing method comprises the following steps:

[0051] Step S10, when the execution data sent by the server is received, the execution data is sent to the client, and the log information is extracted from the execution data. The execution data is obtained by the server executing the command submitted by the client.

[0052] In this embodiment, the execution subject is a log analysis device. For the convenience of description, a device is used to refer to a log analysis device below. The client communicates with the server through the device, the automated testing tool in the client submits data to the device, the device forwards the submitted data to the server, the server tests the data, and then returns the test log to the client through the device. The data submitted by the client can be the command issued by the automated testing tool Selen...

no. 2 example

[0067] refer to image 3 , image 3 As the second embodiment of the automated testing method of the present invention, based on the first embodiment, step S30 includes:

[0068] Step S31, constructing a source parameter ID and a response ID according to the log corresponding to the target command.

[0069] In this embodiment, after obtaining the log corresponding to the target command, the source parameter ID and the response ID are constructed based on the log. For example, the constructed source parameter ID is sourceId, and the constructed response ID is responseId. It should be noted that if the log contains a parameter ID, sourceId is the source parameter ID, and if the log does not contain a parameter ID, the source parameter ID is empty. In addition, if the log contains a response element, the response ID is related to the response element, and if the log does not contain a response effect, the response ID is empty.

[0070] Step S32, constructing a first command ch...

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 an automatic testing method and related equipment, and belongs to the technical field of software test.The method comprises the steps that execution data sent by a server side are forwarded to a client side, and log information is extracted from the execution data; when the test termination information is received, extracting a log corresponding to the target command from the log information; determining a first command chain and command response content corresponding to the target command according to a log corresponding to the target command; determining test analysis information according to a first command chain corresponding to the target command and the command response content; and sending the test analysis information to the client. According to the invention, the interaction data of the client and the server is stored, and if the test is terminated, the log information is analyzed to obtain the command chain and the command response content, so that a tester can accurately position the problem existing in the test based on the command chain and the command response content, the tester does not need to analyze, and the test efficiency is improved. And the test analysis cost of the automatic test is reduced.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to an automatic testing method and related equipment. Background technique [0002] Selenium is an open source and free tool for automated testing of web applications. Selenium supports multiple browsers and programming languages ​​for multiple operating systems. Selenium runs directly in the browser, simulating real users operating web pages. The main functions of Selenium include: testing compatibility with browsers and Web system functions. Selenium is currently the most widely used automated testing tool for web applications. [0003] When Selenium is testing, it will submit the test cases to the background of the browser to run, and the background will return the running results to the client where the browser is located, and the testers will analyze the test according to the running results. [0004] Testers rely on their own experience to conduct test analysis ba...

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/30G06F11/36
CPCG06F11/3089G06F11/3692
Inventor 王锐张同虎吕新科
Owner CHINA CONSTRUCTION BANK
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More