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

Abnormity detection method for automated testing and computer readable storage medium

A technology for automated testing and anomaly detection, applied in computing, software testing/debugging, error detection/correction, etc., can solve problems such as spending a lot of time, different test results, and no problems with game functions, to improve judgment accuracy, Improve timeliness and accuracy, avoid the effects of different test results

Active Publication Date: 2020-09-29
福建天晴在线互动科技有限公司
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, if the test completion time is not specified, when the project update cycle is short, there is not enough time to conduct a complete test, and abnormal problems cannot be found in time when the test volume is large
[0004] If the test completion time is artificially stipulated uniformly, if the script is not run within the specified time during the test, the test will be judged as a failure. However, since different operations have different running times on different devices, the test results will be different when the test devices are different. prone to misjudgment
Or because a certain update caused a certain operation in the script to take more time, which caused the test time to expire and was judged as a test failure, but in fact there is no problem with the game function, and it takes a lot of time to manually check the results
[0005] In addition, before the test, the test device is online and can receive script test tasks normally, but during the test, due to network problems or power problems, etc., the device is abnormal, resulting in whether the script is abnormal or not, the test device None of the running scripts can pass. At this time, testers need to spend a lot of time viewing test results to analyze abnormal problems, and the test efficiency cannot be guaranteed.

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
  • Abnormity detection method for automated testing and computer readable storage medium
  • Abnormity detection method for automated testing and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] Please refer to figure 2 , Embodiment 1 of the present invention is: a method for anomaly detection of automated testing, which can be applied to anomaly detection of automated testing of games, comprising the following steps:

[0056] S1: Analyze the test script to obtain script operations, such as long press, click, slide, etc., and further, count the number of times of the script operations obtained through analysis to facilitate subsequent calculations. In a specific application scenario, the parsed script operation syntax reserves keywords and operation symbols.

[0057] S2: Respectively obtain the operation running time of each script operation on each test device.

[0058] Specifically, the first running time of each script operation on standard equipment and the second running time on test equipment with different configurations can be obtained by testing in advance; then according to the first running time and second running time, respectively get Comparison...

Embodiment 2

[0083] This embodiment is a computer-readable storage medium corresponding to the above-mentioned embodiments, on which a computer program is stored, and when the program is executed by a processor, the following steps are implemented:

[0084] Analyze the test script to get the script operation;

[0085] Obtain the operation running time of each script operation on each test device respectively;

[0086] According to the operation run-time length of each script operation on each test device in each test script, calculate the script run-time length of each test script on each test device respectively;

[0087] A test script is run on the first test device, and if the running time exceeds the script running time of the test script on the first test device, it is determined that the test is abnormal.

[0088] Further, after the determination that the test is abnormal, it further includes:

[0089] Running the test script on the second test device, if the running time exceeds t...

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 an abnormity detection method for automated testing and a computer readable storage medium, and the method comprises the steps: analyzing a test script, and obtaining a scriptoperation; respectively obtaining operation running duration of each script operation on each test device; according to the operation running duration of each script operation in each test script on each test device, respectively calculating to obtain the script running duration of each test script on each test device; and running a test script on the first test equipment, and if the running timeexceeds the script running time of the test script on the first test equipment, judging that the test is abnormal. According to the method, the timeliness and accuracy of finding the exception can beimproved.

Description

technical field [0001] The present invention relates to the technical field of automated testing, in particular to an automatic testing abnormality detection method and a computer-readable storage medium. Background technique [0002] At present, the test completion time of the automatic test game function modules is generally set manually, or the test completion time is not specified. [0003] However, if the test completion time is not specified, when the project update cycle is short, there is not enough time to conduct a complete test, and abnormal problems cannot be found in time when the test volume is large. [0004] If the test completion time is artificially stipulated uniformly, if the script is not run within the specified time during the test, the test will be judged as a failure. However, since different operations have different running times on different devices, the test results will be different when the test devices are different. At this time, it is easy ...

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/3684G06F11/3688
Inventor 刘德建王诗佳林琛
Owner 福建天晴在线互动科技有限公司