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

Automated testing method and device, medium and electronic equipment

An automated testing and automatic technology, applied in software testing/debugging, electrical digital data processing, error detection/correction, etc., can solve the problems of a large number of labor costs, random automated testing, and high maintenance costs, reducing costs and improving test coverage. rate effect

Active Publication Date: 2019-08-02
BEIJING VOLCANO ENGINE TECH CO LTD
View PDF9 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, these two automated testing methods will have some problems, such as the operation is too random to make the automated testing insufficient; a lot of labor costs are required to maintain test cases, resulting in high maintenance costs

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
  • Automated testing method and device, medium and electronic equipment
  • Automated testing method and device, medium and electronic equipment
  • Automated testing method and device, medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] see figure 1 , the embodiment of the present invention provides an automated testing method, the method is based on server user data for testing, specifically including the following steps:

[0035] S100. Receive random operation data sent by at least one terminal, and generate buried point data according to business logic; wherein, each operation is generated by an algorithm based on a state, a control, and an event.

[0036] Specifically, the terminal obtains the random operation data of the application program and sends it to the server. Each terminal application program is automatically run with a random strategy, and the operation data (action log) corresponding to each step of operation (action) is recorded during the running process, and at the same time, the server generates embedded point data for events triggered during the running process. Wherein, the operation data includes information such as the time when the current operation occurs, the active componen...

Embodiment 2

[0069] see Figure 6 , the embodiment of the present invention provides an automated testing device 200, which performs testing based on server user data. The automated testing device 200 includes: a data receiving module 210, a buried point generating module 220, a matrix generating module 230, a matrix merging module 240, a matrix transfer module 250 and an automated testing module 260.

[0070] The data receiving module 210 is configured to receive random operation data sent by at least one terminal, wherein each operation is generated by an algorithm based on a state, a control, and an event.

[0071] Specifically, each terminal acquires random operation data of the application program and sends it to the server. The application program of each terminal is automatically run with a random strategy, and the operation data (action log) corresponding to each operation (action) is recorded during the running process. Wherein, the operation data includes information such as th...

Embodiment 3

[0103] An embodiment of the present disclosure provides a non-volatile computer storage medium, the computer storage medium stores computer-executable instructions, and the computer-executable instructions can execute the automated testing method in any of the above-mentioned method embodiments.

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 device, a medium and electronic equipment. The method comprises the following steps: receiving random operation data sent by at least one terminal, and generating buried point data according to service logic; wherein the operation is generated by a state, a control and an event; generating an operation burying point matrix according to the operation data and the burying point data, and generating a burying point frequency matrix based on the burying point data; combining the operation burying point matrix and the burying point frequency matrix to generate an operation frequency matrix; converting the operation frequency matrix to generate a transfer matrix of a corresponding state; wherein each element in the transition matrix is a transition probability of transition from one state to another state, and the state is a marked state obtained through a clustering algorithm; and returning the transfer matrix to the terminal, wherein the terminal automatically makes an event selection according to the transfer matrix. According to the automatic testing method, the automatic maintenance cost can be reduced. A test case close to useruse behavior operation is automatically generated, and the test coverage rate is increased.

Description

technical field [0001] The invention relates to the field of automated testing, in particular to an automated testing method, device, medium and electronic equipment. Background technique [0002] With the development of automation technology, automated testing has been widely used. Automated testing is to run an automated testing program on a computer. The automated testing program configures and checks information on the device under test and auxiliary testing equipment through multiple control links (serial port, Telnet or reverse Telnet), and establishes the device under test and auxiliary testing. The communication link of the device controls multiple network cards on the computer to send and receive test frames, and completes the automatic acquisition and judgment of test results, and finally obtains the test results of the test program. [0003] At present, there are two ways to realize the commonly used automated testing technology: the first is to randomly generate...

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 BEIJING VOLCANO ENGINE 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