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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

