CN107741902B - Program application detection method and program application detection device - Google Patents
Program application detection method and program application detection device Download PDFInfo
- Publication number
- CN107741902B CN107741902B CN201611202501.3A CN201611202501A CN107741902B CN 107741902 B CN107741902 B CN 107741902B CN 201611202501 A CN201611202501 A CN 201611202501A CN 107741902 B CN107741902 B CN 107741902B
- Authority
- CN
- China
- Prior art keywords
- program application
- program
- control
- test
- testing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000001514 detection method Methods 0.000 title description 7
- 238000012360 testing method Methods 0.000 claims abstract description 395
- 230000002159 abnormal effect Effects 0.000 claims abstract description 76
- 238000000034 method Methods 0.000 claims description 27
- 230000004044 response Effects 0.000 claims description 24
- 238000005070 sampling Methods 0.000 claims description 10
- 238000012937 correction Methods 0.000 claims description 4
- 230000006870 function Effects 0.000 description 123
- 230000005856 abnormality Effects 0.000 description 22
- 230000008569 process Effects 0.000 description 20
- 101150054987 ChAT gene Proteins 0.000 description 11
- 101100203187 Mus musculus Sh2d3c gene Proteins 0.000 description 11
- 238000010586 diagram Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 7
- 230000004048 modification Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000010998 test method Methods 0.000 description 3
- 230000004075 alteration Effects 0.000 description 2
- 230000006399 behavior Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000001419 dependent effect Effects 0.000 description 1
- 230000008451 emotion Effects 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/362—Debugging of software
- G06F11/366—Debugging of software using diagnostics
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention provides a program application testing method, which comprises the following steps: a1, acquiring all functional controls of the application of the tested program and corresponding control test probabilities; a2, according to all the function controls of the application of the program to be tested and the corresponding control test probabilities, carrying out a program application scene test on the application of the program to be tested so as to detect the abnormal application scene of the program; a3, if the program application scene is detected to be abnormal, recording the test information of the function control with the latest set times and the corresponding program application scene abnormal information; and A4, reporting the function control test information of the latest set times and the corresponding program application scene abnormal information, and returning to the step A2 until the test is finished.
Description
Technical Field
The present invention relates to the field of program application detection, and in particular, to a program application detection method and a program application detection apparatus.
Background
With the development of science and technology, more and more programs are applied to various mobile terminals and fixed desktop terminals, and people all use various programs in daily life to meet various interaction and information acquisition requirements of people.
Due to the fact that the use amount of the user of the program application is large, if the program application has an abnormal scene phenomenon under a certain specific condition, the user experience is greatly influenced; therefore, before pushing the program application to the market, the program application development company performs comprehensive random function test on the program application so as to discover the occurrence condition of the abnormal scene phenomenon of the program application as early as possible.
However, the existing program application test software is difficult to cover all functions of the program application; when the conventional program application test software is used for testing a program application scene, the test mode is single, and the program application test software is easy to enter a dead loop, so that the program application test efficiency is reduced, and meanwhile, when a program application abnormal scene is found, the program application abnormal scene cannot be effectively played back.
Disclosure of Invention
The embodiment of the invention provides a program application testing method and a program application testing device which have higher testing efficiency and can effectively play back program application abnormal scenes; the program application testing method and the program application testing device solve the technical problems that the existing program application testing method and the existing program application testing device are low in testing efficiency and cannot effectively play back program application abnormal scenes.
The embodiment of the invention provides a program application testing method, which comprises the following steps:
a1, acquiring all functional controls of the application of the tested program and corresponding control test probabilities;
a2, according to all the functional controls of the tested program application and the corresponding control test probabilities, performing a program application scene test on the tested program application to detect program application scene abnormity;
a3, if the program application scene is detected to be abnormal, recording the test information of the function control with the latest set times and the corresponding program application scene abnormal information; and
and A4, reporting the function control test information of the latest set times and the corresponding program application scene abnormal information, and returning to the step A2 until the test is finished.
An embodiment of the present invention further provides a program application testing apparatus, which includes:
the functional control acquisition module is used for acquiring all functional controls applied by the tested program and corresponding control test probabilities;
the program application scene testing module is used for carrying out program application scene testing on the program application to be tested according to all the functional controls applied by the program to be tested and the corresponding control testing probability so as to detect program application scene abnormity;
the abnormal information recording module is used for recording the test information of the function control with the latest set times and the corresponding abnormal information of the program application scene if the abnormal program application scene is detected; and
and the information reporting module is used for reporting the function control test information with the latest set times and the corresponding program application scene abnormal information.
Compared with the prior art, the program application testing method and the program application testing device provided by the invention have the advantages that all the functional controls and control testing probabilities of the tested program application are set in advance, so that the testing efficiency of the program application testing is improved; meanwhile, the test information of the function control and the corresponding program application scene abnormal information are recorded simultaneously, so that the program application abnormal scene is effectively played back; the technical problems that the existing program application testing method and device are low in testing efficiency and cannot effectively play back program application abnormal scenes are solved.
Drawings
FIG. 1 is a flow chart of a first preferred embodiment of a program application testing method of the present invention;
FIG. 2 is a flow chart of a second preferred embodiment of the program application testing method of the present invention;
FIG. 3 is a flowchart of step S201 of a second preferred embodiment of the program application testing method of the present invention;
FIG. 4 is a flowchart of step S202 of the second preferred embodiment of the program application testing method of the present invention;
FIG. 5 is a schematic structural diagram of a program application testing device according to a first preferred embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a program application testing device according to a second preferred embodiment of the present invention;
fig. 7 is a schematic structural diagram of a functionality control acquiring module of a second preferred embodiment of the program application testing apparatus according to the present invention;
FIG. 8 is a schematic structural diagram of a program application scenario test module of a second preferred embodiment of the program application test apparatus of the present invention;
FIG. 9 is a flowchart illustrating the testing of the program application testing method and apparatus according to one embodiment of the present invention;
FIG. 10 is a diagram illustrating a program application testing method and an apparatus for testing program application according to the present invention;
fig. 11 is a schematic view of a working environment structure of an electronic device in which the program application testing apparatus of the present invention is located.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present invention are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the invention and should not be taken as limiting the invention with regard to other embodiments that are not detailed herein.
In the description that follows, embodiments of the invention are described with reference to steps and symbols of operations performed by one or more computers, unless otherwise indicated. It will thus be appreciated that those steps and operations, which are referred to herein several times as being computer-executed, include being manipulated by a computer processing unit in the form of electronic signals representing data in a structured form. This manipulation transforms the data or maintains it at locations in the computer's memory system, which may reconfigure or otherwise alter the computer's operation in a manner well known to those skilled in the art. The data maintains a data structure that is a physical location of the memory that has particular characteristics defined by the data format. However, while the principles of the invention have been described in language specific to above, it is not intended to be limited to the specific details shown, since one skilled in the art will recognize that various steps and operations described below may be implemented in hardware.
The program application testing apparatus of the present invention may be used in a variety of electronic devices for performing program application scenario testing including, but not limited to, wearable devices, personal computers, server computers, hand-held or laptop devices, mobile devices (such as mobile phones, Personal Digital Assistants (PDAs), media players, and the like), multiprocessor systems, consumer electronics, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices. The electronic equipment of the invention improves the testing efficiency of the program application test by presetting all the functional controls and the control testing probability of the tested program application; meanwhile, the electronic device records the test information of the functional control and the corresponding abnormal information of the program application scene, so that the effective playback of the abnormal scene of the program application is realized.
Referring to fig. 1, fig. 1 is a flowchart illustrating a program application testing method according to a first preferred embodiment of the present invention. The program application testing method of the preferred embodiment may be implemented using the electronic device described above, and includes:
step S101, acquiring all functional controls applied by a tested program and corresponding control test probabilities;
step S102, according to all functional controls of the application of the program to be tested and the corresponding control test probabilities, carrying out a program application scene test on the application of the program to be tested so as to detect the abnormality of the program application scene;
step S103, if the application scene of the program is detected to be abnormal, recording the test information of the function control with the latest set times and the corresponding abnormal information of the application scene of the program;
and step S104, reporting the test information of the function control with the latest set times and the corresponding program application scene abnormal information, and returning to the step S102 until the test is finished.
The specific flow of each step of the program application testing method of the present preferred embodiment is described in detail below.
In step S101, if the program application testing apparatus needs to perform a program application test on the program application under test, all the functional controls and corresponding control testing probabilities of the program application under test are obtained. The function control can be operated corresponding to any function atom in the tested program application, such as sending a random expression. The control testing probability is the probability of randomly executing the function control. All the functional controls applied by the tested program and the corresponding control test probabilities are preset. The functional atomic operation is an operation which is not interrupted by a thread scheduling mechanism, and once the functional atomic operation starts to run, the functional atomic operation runs to the end and is not switched to another thread. Subsequently, the process goes to step S102.
In step S102, the program application testing apparatus performs a program application scenario test on the program application under test according to all the functional controls and the corresponding control testing probabilities of the program application under test acquired in step S101. Specifically, the program application testing device may obtain all the function controls of each program application scenario, then perform the function atomic operation on the function controls in the program application scenario according to the control testing probability corresponding to each function control, and if the function atomic operation jumps to a new program application scenario, read all the function controls of the program application scenario again, and continue the program application scenario testing until the program application scenario is detected to be abnormal or the testing is finished.
The application scenario exception includes, but is not limited to, an application scenario crash (e.g., application scenario crash), a system performance exception (e.g., system CPU, memory, and handle data exception), an application scenario response timeout (e.g., a long-time unresponsiveness of the application scenario to the function atomic operation), and an application scenario response exception (e.g., a response exception of the application scenario to the function atomic operation, for example, the function atomic operation triggers a modal window, thereby preventing the subsequent path from being covered). If the program application scene abnormality is detected, the process goes to step S103.
In step S103, the program application testing apparatus detects a program application scenario exception in the current program application scenario, and since the program application scenario exception may be caused by atomic operations corresponding to the function control for the last number of times, the program application testing apparatus records test information of the function control for the last set number of times and corresponding program application scenario exception information.
The program application scene exception information includes, but is not limited to, program application scene log information, program application scene sampling information, program application scene screenshot information, playback stack information, and the like.
If program application scene collapse, system performance abnormality, program application scene response timeout and other program abnormalities occur, the program application testing device should acquire program application scene program information such as program application scene log information, program application scene sampling information and playback stack information; if the test script is abnormal, such as abnormal response of the application scene of the program, the application test device of the program can judge the reason of the abnormal application scene of the program by only acquiring the screenshot information of the application scene of the program. Subsequently, the process goes to step S104.
In step S104, the program application testing apparatus reports the test information of the function control obtained in step S103 by the latest set number of times and the corresponding program application scenario exception information, where the reporting operation may be sending the test information and the program application scenario exception information to a background database for storage, so that a user can play back and analyze the program application scenario exception through the test information of the function control. After the report is completed, the program application testing device returns to step S102 to continue testing other program application scenarios until the test is completed.
This completes the program application test process of the program application test method of the present preferred embodiment.
The program application testing method of the preferred embodiment sets all the functional controls and control testing probabilities applied by the tested program in advance, thereby improving the testing efficiency of the program application testing; and simultaneously recording the test information of the function control and the corresponding program application scene abnormal information, thereby realizing the effective playback of the program application abnormal scene.
Referring to fig. 2, fig. 2 is a flowchart illustrating a program application testing method according to a second preferred embodiment of the present invention. The program application testing method of the preferred embodiment may be implemented using the electronic device described above, and includes:
step S201, acquiring all functional controls applied by a tested program and corresponding control test probabilities;
step S202, according to all functional controls of the application of the program to be tested and the corresponding control test probabilities, carrying out a program application scene test on the application of the program to be tested so as to detect the abnormality of the program application scene;
step S203, if the application scene of the program is detected to be abnormal, recording the test information of the function control with the latest set times and the corresponding abnormal information of the application scene of the program;
step S204, reporting the test information of the function control with the latest set times and the corresponding program application scene abnormal information;
step S205, according to the abnormal information of the program application scene, the control testing probability of the corresponding functional control is reduced according to a preset rule; and returns to step S202 until the test ends.
The specific flow of each step of the program application testing method of the present preferred embodiment is described in detail below.
In step S201, if the program application testing apparatus needs to perform the program application test on the program application under test, all the functional controls and the corresponding control testing probabilities of the program application under test are obtained. The function control can be operated corresponding to any function atom in the tested program application, such as sending a random expression. The control testing probability is the probability of randomly executing the function control. All the functional controls applied by the tested program and the corresponding control test probabilities are preset. Specific setting method referring to fig. 3, fig. 3 is a flowchart of step S201 of the second preferred embodiment of the program application testing method of the present invention. The step S201 includes:
step S301, the program application testing apparatus obtains a function control tree (e.g., a UI interface control tree) of the program application under test, where the function control tree of the program application under test is formed by using each function control as a node, and includes all function controls of the program application under different program application scenarios. And then the program application testing device adopts the tree structure to display the functional control under each program application scene.
Step S302, the program application testing device receives a testing probability setting instruction of a user, wherein the testing probability setting instruction is an instruction of the control testing probability corresponding to each function control set by the user according to the displayed function control. And then the program application testing device sets the control testing probability corresponding to each functional control according to the testing probability setting instruction. Subsequently, the process goes to step S202.
In step S202, the program application testing apparatus performs a program application scenario test on the program application under test according to all the functional controls and the corresponding control testing probabilities of the program application under test acquired in step S201.
Specifically, referring to fig. 4, fig. 4 is a flowchart of step S202 of the program application testing method according to the second preferred embodiment of the present invention. The step S202 includes:
step S401, the program application testing apparatus performs initialization operation on the application of the program to be tested to show an initial program application scenario, so as to eliminate the influence of the current state of the application of the program to be tested on the testing operation.
Step S402, the program application testing apparatus obtains all the function controls of the current program application scenario.
And S403, performing functional atomic operation on the functional controls in the program application scene by the program application testing device according to all the functional controls and the corresponding control testing probabilities in the current program application scene, returning to the step S402 to read all the functional controls in the program application scene if the functional atomic operation jumps to a new program application scene, and continuing to perform the program application scene test until the program application scene is detected to be abnormal or the test is finished.
If the current program application scene of the tested program application has an expression sending control, a text sending control and a picture sending control, and the control testing probabilities of the expression sending control, the text sending control and the picture sending control are respectively 0.1, 0.2 and 0.3, the testing probabilities of performing expression sending atomic operation, text sending atomic operation and picture sending atomic operation are respectively 0.1/0.6, 0.2/0.6 and 0.3/0.6.
The application scenario exception includes, but is not limited to, an application scenario crash (e.g., application scenario crash), a system performance exception (e.g., system CPU, memory, and handle data exception), an application scenario response timeout (e.g., a long-time unresponsiveness of the application scenario to the function atomic operation), and an application scenario response exception (e.g., a response exception of the application scenario to the function atomic operation, for example, the function atomic operation triggers a modal window, thereby preventing the subsequent path from being covered). If the program application scene abnormality is detected, the process goes to step S203. And if no program application scene exception is detected, waiting for the normal end of the test.
In step S203, the program application testing apparatus detects a program application scenario exception in the current program application scenario, and since the program application scenario exception may be caused by atomic operations corresponding to the function control for the last number of times, the program application testing apparatus records the test information of the function control for the last set number of times and corresponding program application scenario exception information. The most recent setting number can be set according to the specific needs of the user.
The program application scene exception information includes, but is not limited to, program application scene log information, program application scene sampling information, program application scene screenshot information, playback stack information, and the like.
If program application scene collapse, system performance abnormality, program application scene response timeout and other program abnormalities occur, the program application testing device should acquire program application scene program information such as program application scene log information, program application scene sampling information and playback stack information; if the test script is abnormal, such as abnormal response of the application scene of the program, the application test device of the program can judge the reason of the abnormal application scene of the program by only acquiring the screenshot information of the application scene of the program. Subsequently, the process goes to step S204.
In step S204, the program application testing apparatus reports the testing information of the function control with the latest set number of times acquired in step S203 and the corresponding program application scenario exception information, so that the user can play back and analyze the program application scenario exception through the testing information of the function control. Subsequently, it goes to step S205.
In step S205, since the user may not be able to immediately process the application scenario exception, in order to prevent the application testing efficiency from being affected by the repeated occurrence of the application scenario exception of a certain program, in this step, the application testing apparatus may reduce the control testing probability of the corresponding function control according to the preset rule according to the application scenario exception information obtained in step S203, thereby avoiding the repeated occurrence of the same application scenario exception of the program.
If the current program application scene of the tested program application has an expression sending control, a text sending control and a picture sending control, the control testing probabilities of the expression sending control, the text sending control and the picture sending control are respectively 0.1, 0.2 and 0.3, if the current program application scene is abnormal when the expression sending atomic operation is carried out, the control testing probability of the expression sending control is corrected to be 0.05, and thus the testing probabilities of the expression sending atomic operation, the text sending atomic operation and the picture sending atomic operation are respectively 0.05/0.55, 0.2/0.55 and 0.3/0.55.
And if the current program application scene is abnormal again when the expression sending atomic operation is carried out again in the current program application scene, correcting the control test probability of the expression sending control to be 0.02, so that the test probabilities of carrying out the expression sending atomic operation, the character sending atomic operation and the picture sending atomic operation are respectively 0.02/0.52, 0.2/0.52 and 0.3/0.52.
Since the program application scenario exception may not be caused by a single atomic operation behavior, if all the latest atomic operations causing the program application scenario exception are directly prohibited, the test operation may be incomplete, and therefore, by gradually reducing the control test probability of the strongly-related function control atomic operation, the occurrence probability of the program application scenario exception may be effectively reduced on the basis of ensuring the integrity of the test operation. The preset rule for gradual reduction may be based on the rule of halving the probability of the event (halving the probability of occurrence of the last events causing the application scenario exception), halving the shortest path (halving the probability of occurrence of the event on the shortest occurrence path causing the application scenario exception), and so on. And then returning to the step S202 to continue the test of the application scenes of other programs until the test is finished.
This completes the program application test process of the program application test method of the present preferred embodiment.
On the basis of the first preferred embodiment, the program application testing method of the present preferred embodiment further improves the integrity of the acquisition of the function control by setting the function control tree; and the program application testing method corrects the control testing probability according to the abnormal information of the program application scene, thereby further improving the testing efficiency of the program application testing.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a program application testing apparatus according to a first preferred embodiment of the present invention. The program application testing apparatus of the present preferred embodiment can be implemented by using the first preferred embodiment of the program application testing method, and the program application testing apparatus 50 of the present preferred embodiment includes a function control obtaining module 51, a program application scenario testing module 52, an exception information recording module 53, and an information reporting module 54.
The functional control obtaining module 51 is configured to obtain all functional controls of the application of the program to be tested and corresponding control testing probabilities; the program application scenario test module 52 is configured to perform a program application scenario test on the program application to be tested according to all the functional controls applied by the program to be tested and the corresponding control test probabilities, so as to detect a program application scenario abnormality; the abnormal information recording module 53 is configured to record test information of the function control of the latest set number of times and corresponding program application scene abnormal information if the program application scene is detected to be abnormal; the information reporting module 54 is configured to perform a reporting operation on the function control test information with the latest set number of times and the corresponding program application scenario exception information.
When the program application testing device 50 of the preferred embodiment is used, first, if the program application testing device 50 needs to perform a program application test on a program application to be tested, the functional control obtaining module 51 obtains all functional controls and corresponding control test probabilities of the program application to be tested. The function control can be operated corresponding to any function atom in the tested program application, such as sending a random expression. The control testing probability is the probability of randomly executing the function control. All the functional controls applied by the tested program and the corresponding control test probabilities are preset. The functional atomic operation is an operation which is not interrupted by a thread scheduling mechanism, and once the functional atomic operation starts to run, the functional atomic operation runs to the end and is not switched to another thread.
Then, the program application scenario testing module 52 performs a program application scenario test on the program application to be tested according to the program application testing device and the corresponding control testing probability of the program application to be tested, which are obtained by the functional control obtaining module 51. Specifically, the program application scenario testing module 52 may obtain all the functional controls of each program application scenario, then perform the functional atomic operation on the functional controls in the program application scenario according to the control testing probabilities corresponding to the functional controls, and if the functional atomic operation jumps to a new program application scenario, read all the functional controls of the program application scenario, and continue the program application scenario testing until the program application scenario is detected to be abnormal or the testing is completed.
The application scenario exception includes, but is not limited to, an application scenario crash (e.g., application scenario crash), a system performance exception (e.g., system CPU, memory, and handle data exception), an application scenario response timeout (e.g., a long-time unresponsiveness of the application scenario to the function atomic operation), and an application scenario response exception (e.g., a response exception of the application scenario to the function atomic operation, for example, the function atomic operation triggers a modal window, thereby preventing the subsequent path from being covered).
If the exception information recording module 53 detects an exception in the program application scenario in the current program application scenario, since the exception in the program application scenario may be caused by the atomic operations corresponding to the function controls for the last number of times, the exception information recording module 53 records the test information of the function controls for the last set number of times and the exception information of the corresponding program application scenario.
The program application scene exception information includes, but is not limited to, program application scene log information, program application scene sampling information, program application scene screenshot information, playback stack information, and the like.
If program application scene collapse, system performance abnormality, program application scene response timeout and other program abnormalities occur, the abnormality information recording module 53 should acquire program application scene program information such as program application scene log information, program application scene sampling information, playback stack information and the like; if a test script abnormality such as a program application scene response abnormality occurs, the abnormality information recording module 53 only needs to acquire the screenshot information of the program application scene to determine the cause of the program application scene abnormality.
Finally, the information reporting module 54 reports the test information of the function control with the latest set number of times and the corresponding program application scenario exception information acquired by the exception information recording module 53, where the reporting operation may be to send the test information and the program application scenario exception information to a background database for storage, so that the user can play back and analyze the program application scenario exception through the test information of the function control. After the reporting is completed, the information reporting module 54 returns to the program application scenario testing module 52 to continue the testing of the other program application scenarios until the testing is completed.
This completes the program application test process of the program application test apparatus 50 of the present preferred embodiment.
The program application testing device of the preferred embodiment sets all the functional controls and control testing probabilities applied by the tested program in advance, so that the testing efficiency of the program application testing is improved; and simultaneously recording the test information of the function control and the corresponding program application scene abnormal information, thereby realizing the effective playback of the program application abnormal scene.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a program application testing device according to a second preferred embodiment of the present invention. The program application testing apparatus of the present preferred embodiment can be implemented by using the second preferred embodiment of the program application testing method, and the program application testing apparatus 60 of the present preferred embodiment includes a function control obtaining module 61, a program application scenario testing module 62, an abnormal information recording module 63, an information reporting module 64, and a control testing probability correcting module 65.
The functional control obtaining module 61 is configured to obtain all functional controls applied by the program to be tested and corresponding control testing probabilities; the program application scenario test module 62 is configured to perform a program application scenario test on the program application to be tested according to all the functional controls and corresponding control test probabilities of the program application to be tested, so as to detect program application scenario abnormality; the abnormal information recording module 63 is configured to record test information of the function control of the latest set number of times and corresponding program application scene abnormal information if the program application scene is detected to be abnormal; the information reporting module 64 is configured to perform a reporting operation on the function control test information of the latest set number of times and the corresponding program application scenario exception information; the control test probability correction module 65 is configured to reduce the control test probability of the corresponding functional control according to a preset rule according to the program application scene exception information.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a functionality control acquiring module of a second preferred embodiment of a program application testing apparatus according to the present invention. The function control acquiring module 61 includes a function control tree acquiring and presenting unit 71 and a control test probability setting unit 72.
The function control tree obtaining and displaying unit 71 is configured to obtain a function control tree of the application of the program to be tested, and display all function controls of the application of the program to be tested according to the function control tree; the control test probability setting unit 72 is configured to receive a test probability setting instruction, and set a control test probability corresponding to the functional control according to the test probability setting instruction.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a program application scenario testing module of a second preferred embodiment of the program application testing apparatus of the present invention, where the program application scenario testing module 62 includes an initialization unit 81, a scenario control obtaining unit 82, and a testing unit 83.
The initialization unit 81 is configured to perform initialization operation on the application program under test to show an initial program application scenario; the scene control acquiring unit 82 is configured to acquire all function controls of a program application scene; the testing unit 83 is configured to test the program application scenario according to all the functional controls of the program application scenario and the corresponding control testing probabilities.
When the program application testing device 60 of the preferred embodiment is used, first, if the program application testing device 60 needs to perform a program application test on a program application to be tested, the functional control obtaining module 61 obtains all functional controls and corresponding control test probabilities of the program application to be tested. The function control can be operated corresponding to any function atom in the tested program application, such as sending a random expression. The control testing probability is the probability of randomly executing the function control. All the functional controls applied by the tested program and the corresponding control test probabilities are preset. The specific setting method can comprise the following steps:
the function control tree obtaining and displaying unit 71 of the function control obtaining module 61 obtains a function control tree (such as a UI interface control tree) of the application of the program under test, where the function control tree of the application of the program under test is formed by using each function control as a node, and includes all function controls of the application of the program under test in different program application scenarios. Then, the function control tree obtaining and displaying unit 71 performs a display operation on the function control in each program application scene by using a tree structure.
The control test probability setting unit 72 of the function control obtaining module 61 receives a test probability setting instruction of the user, where the test probability setting instruction is an instruction of the control test probability corresponding to each function control set by the user according to the displayed function control. Then, the control test probability setting unit 72 sets the control test probability corresponding to each functional control according to the test probability setting instruction.
And then the program application scenario testing module 62 performs a program application scenario test on the program application to be tested according to all the functional controls of the program application to be tested and the corresponding control testing probabilities, which are obtained by the functional control obtaining module 61.
The specific process comprises the following steps:
the initialization unit 81 of the program application scenario test module 62 performs an initialization operation on the program application under test to expose an initial program application scenario, so as to eliminate the influence of the current state of the program application under test on the test operation.
The scene control acquisition unit 82 of the program application scene test module 62 acquires all the function controls of the current program application scene.
The testing unit 83 of the program application scenario testing module 62 performs a function atomic operation on the function controls in the program application scenario according to all the function controls of the current program application scenario and the corresponding control testing probabilities, and returns to the scenario control obtaining unit 82 to read all the function controls of the program application scenario if the function atomic operation jumps to a new program application scenario, and continues to perform the program application scenario testing until the program application scenario is detected to be abnormal or the testing is completed.
If the current program application scene of the program application to be tested has an expression sending control, a text sending control and a picture sending control, and the control test probabilities of the expression sending control, the text sending control and the picture sending control are 0.1, 0.2 and 0.3 respectively, the test probabilities of performing the expression sending atomic operation, the text sending atomic operation and the picture sending atomic operation by the test unit 83 are 0.1/0.6, 0.2/0.6 and 0.3/0.6 respectively.
The application scenario exception includes, but is not limited to, an application scenario crash (e.g., application scenario crash), a system performance exception (e.g., system CPU, memory, and handle data exception), an application scenario response timeout (e.g., a long-time unresponsiveness of the application scenario to the function atomic operation), and an application scenario response exception (e.g., a response exception of the application scenario to the function atomic operation, for example, the function atomic operation triggers a modal window, thereby preventing the subsequent path from being covered). If the program application scene abnormity is detected, the abnormal information recording module 63 is switched to. And if no program application scene exception is detected, waiting for the normal end of the test.
If the exception information recording module 63 detects an exception in the program application scenario in the current program application scenario, since the exception in the program application scenario may be caused by the atomic operation corresponding to the function control for the last number of times, the exception information recording module 63 records the test information of the function control for the last set number of times and the exception information of the corresponding program application scenario. The most recent setting number can be set according to the specific needs of the user.
The program application scene exception information includes, but is not limited to, program application scene log information, program application scene sampling information, program application scene screenshot information, playback stack information, and the like.
If program application scene collapse, system performance abnormality, program application scene response timeout and other program abnormalities occur, the abnormal information recording module 63 should acquire program application scene program information such as program application scene log information, program application scene sampling information, playback stack information and the like; if the test script is abnormal, such as a program application scene response abnormality, the abnormal information recording module 63 may determine the cause of the program application scene abnormality only by acquiring the screenshot information of the program application scene.
Then, the information reporting module 64 reports the test information of the function control of the latest set number of times acquired by the abnormal information recording module 63 and the corresponding program application scene abnormal information, so that the user can play back and analyze the program application scene abnormal information through the test information of the function control.
Finally, since the user may not be able to immediately process the application scenario exception, in order to prevent the application testing efficiency from being affected by the repeated occurrence of the application scenario exception of a certain program, in this step, the control testing probability modification module 65 reduces the control testing probability of the corresponding functional control according to the preset rule according to the application scenario exception information acquired by the exception information recording module 63, thereby avoiding the repeated occurrence of the same application scenario exception.
If the current program application scene of the program application to be tested has an expression sending control, a text sending control and a picture sending control, the control test probabilities of the expression sending control, the text sending control and the picture sending control are respectively 0.1, 0.2 and 0.3, and if the current program application scene is abnormal during expression sending atomic operation, the control test probability correction module 65 corrects the control test probability of the expression sending control to 0.05, so that the test probabilities of the expression sending atomic operation, the text sending atomic operation and the picture sending atomic operation are respectively 0.05/0.55, 0.2/0.55 and 0.3/0.55.
If the current program application scene is abnormal again when the expression sending atomic operation is performed again in the current program application scene, the control test probability correction module 65 corrects the control test probability of the expression sending control to 0.02, so that the test probabilities of the expression sending atomic operation, the text sending atomic operation, and the picture sending atomic operation are 0.02/0.52, 0.2/0.52, and 0.3/0.52, respectively.
Since the program application scenario exception may not be caused by a single atomic operation behavior, if all the latest atomic operations causing the program application scenario exception are directly prohibited, the test operation may be incomplete, and therefore the control test probability modification module 65 may reduce the occurrence probability of the program application scenario exception effectively on the basis of ensuring the integrity of the test operation by gradually reducing the control test probability of the strongly-related functional control atomic operation. And then returns to the program application scenario testing module 62 to continue testing other program application scenarios until the testing is completed.
This completes the program application test process of the program application test device 60 of the present preferred embodiment.
On the basis of the first preferred embodiment, the program application testing device of the present preferred embodiment further improves the integrity of the function control acquisition through the setting of the function control tree; and the program application testing device corrects the testing probability of the control according to the abnormal information of the program application scene, thereby further improving the testing efficiency of the program application testing.
The following describes a specific flow of each step of the program application testing method and the program application testing apparatus according to the present invention by using a specific embodiment. Referring to fig. 9, fig. 9 is a test flow chart of the program application testing method and the program application testing apparatus according to the embodiment of the invention. The program application testing device in this embodiment is arranged on a testing electronic terminal for performing a program application test, and the testing electronic terminal may be a mobile terminal or a fixed desktop terminal. The specific program application test flow comprises the following steps:
step S901, obtaining all functional controls and corresponding control test probabilities of the application of the program under test.
Step S902, initializing the application of the tested program, specifically, initializing the application scene of the initial program of the application of the tested program; initializing test parameters (such as control test probability) of the application of the tested program; and initializing a reporting file of the application of the tested program (emptying a reporting history record).
Step S903, reading the function control of the current program application scene and the corresponding control test probability, and using the control test probability to randomly test the function control of the current program application scene. And if the application scenes of other programs are jumped to, continuously reading the corresponding functional control and the corresponding control testing probability to carry out random testing until the testing is finished.
Step S904, detecting whether a program application scene exception occurs, if no program application scene exception occurs, going to step S903; if the program application scene exception occurs, the process goes to step S905.
Step S905, if a program application scene exception occurs, records the test information of the function control of the latest set number of times and corresponding program application scene exception information. The test information includes, but is not limited to, the number of the function control of the most recently set number of times and the test sequence.
Step S906, performing an exception reporting operation on the test information of the function control with the latest set number of times and the corresponding exception information of the program application scenario.
And step S907, reducing the control testing probability of the corresponding functional control according to a preset rule according to the abnormal information of the program application scene, so as to avoid the repeated occurrence of the same program application scene abnormality. And returning the reduced control testing probability to step S902 for initialization of the application under test.
Thus, the program application test method and the program application test process of the program application test apparatus according to the present embodiment are completed.
The following describes a procedure of the program application testing method and the program application testing apparatus according to an embodiment of the present invention. FIG. 10 is a schematic diagram of the program application testing method and the program application testing apparatus according to the present invention.
Wherein the program application includes functionality controls 1001 through 1007,
the control name of the functionality control 1001 is groupbuddyname, class: LabelUI, text: morning party group; the chat server is used for reading the chat content of the corresponding group;
the control name of the function control 1002 is send _ rich _ edge, class is RichEditUI; for inputting chat content;
the control name of the function control 1003 is send _ message _ button, class is button UI; for sending chat content;
the control name of the functional control 1004 is emotion _ btn, class is Option UI; for inputting chat emoticons;
the control name of the function control 1005 is capture _ screen _ btn, class is opentionUI; the screen shot is used for carrying out screen shot;
the control name of the function control 1006 is send _ picture _ btn, class is button UI, and is used for sending pictures;
the control name of the function control 1007 is send _ file _ btn, class is button UI, and is used for sending a folder;
the user can set the control testing probability of each function control.
And then performing initialization operation on the program application. And then randomly testing the function control of the current program application scene, wherein if a testing process can be performed, the testing process comprises the steps of clicking the function control 1001 to check the content in the discussion group A, inputting the chat content in the function control 1002, inputting the chat emoticon through the function control 1004, and sending the chat content and the chat emoticon through the function control 1003.
If a program application scene abnormity occurs when the chat expression is input, and if the program application scene abnormity of the set chat expression cannot be selected, recording the execution sequence, the serial number and other test information of the functional control of the test flow, and performing abnormity reporting operation on the program application scene abnormity and the test information.
The program application testing method and the program application testing device set all the functional controls and control testing probabilities of the tested program application in advance, so that the testing efficiency of the program application testing is improved; meanwhile, the test information of the function control and the corresponding program application scene abnormal information are recorded simultaneously, so that the program application abnormal scene is effectively played back; the technical problems that the existing program application testing method and device are low in testing efficiency and cannot effectively play back program application abnormal scenes are solved.
As used herein, the terms "component," "module," "system," "interface," "process," and the like are generally intended to refer to a computer-related entity: hardware, a combination of hardware and software, or software in execution. For example, a component may be, but is not limited to being, a process running on a processor, an object, an executable, a thread of execution, a program, and/or a computer. By way of illustration, both an application running on a controller and the controller can be a component. One or more components can reside within a process and/or thread of execution and a component may be localized on one computer and/or distributed between two or more computers.
FIG. 11 and the following discussion provide a brief, general description of an operating environment of an electronic device in which the program application testing apparatus of the present invention is implemented. The operating environment of FIG. 11 is only one example of a suitable operating environment and is not intended to suggest any limitation as to the scope of use or functionality of the operating environment. Example electronic devices 1112 include, but are not limited to, wearable devices, head-mounted devices, medical health platforms, personal computers, server computers, hand-held or laptop devices, mobile devices (such as mobile phones, Personal Digital Assistants (PDAs), media players, and the like), multiprocessor systems, consumer electronics, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
Although not required, embodiments are described in the general context of "computer readable instructions" being executed by one or more electronic devices. Computer readable instructions may be distributed via computer readable media (discussed below). Computer readable instructions may be implemented as program modules, such as functions, objects, Application Programming Interfaces (APIs), data structures, etc. that perform particular tasks or implement particular abstract data types. Typically, the functionality of the computer readable instructions may be combined or distributed as desired in various environments.
FIG. 11 illustrates an example of an electronic device 1112 that includes one or more embodiments of the program application testing apparatus of the present invention. In one configuration, electronic device 1112 includes at least one processing unit 1116 and memory 1118. Depending on the exact configuration and type of electronic device, memory 1118 may be volatile (such as RAM), non-volatile (such as ROM, flash memory, etc.) or some combination of the two. This configuration is illustrated in fig. 11 by dashed line 1114.
In other embodiments, electronic device 1112 may include additional features and/or functionality. For example, device 1112 may also include additional storage (e.g., removable and/or non-removable) including, but not limited to, magnetic storage, optical storage, and the like. Such additional storage is illustrated in FIG. 11 by storage 1120. In one embodiment, computer readable instructions to implement one or more embodiments provided herein may be in storage 1120. Storage 1120 may also store other computer readable instructions to implement an operating system, an application program, and the like. Computer readable instructions may be loaded in memory 1118 for execution by processing unit 1116, for example.
The term "computer readable media" as used herein includes computer storage media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions or other data. Memory 1118 and storage 1120 are examples of computer storage media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by electronic device 1112. Any such computer storage media may be part of electronic device 1112.
The term "computer readable media" may include communication media. Communication media typically embodies computer readable instructions or other data in a "modulated data signal" such as a carrier wave or other transport mechanism and includes any information delivery media. The term "modulated data signal" may include signals that: one or more of the signal characteristics may be set or changed in such a manner as to encode information in the signal.
Components of electronic device 1112 may be connected by various interconnects, such as a bus. Such interconnects may include Peripheral Component Interconnect (PCI), such as PCI express, Universal Serial Bus (USB), firewire (IEEE 1394), optical bus structures, and the like. In another embodiment, components of electronic device 1112 may be interconnected by a network. For example, memory 1118 may be comprised of multiple physical memory units located in different physical locations interconnected by a network.
Those skilled in the art will realize that storage devices utilized to store computer readable instructions may be distributed across a network. For example, an electronic device 1130 accessible via a network 1128 may store computer readable instructions to implement one or more embodiments provided by the present invention. Electronic device 1112 may access electronic device 1130 and download a part or all of the computer readable instructions for execution. Alternatively, electronic device 1112 may download pieces of the computer readable instructions, as needed, or some instructions may be executed at electronic device 1112 and some at electronic device 1130.
Various operations of embodiments are provided herein. In one embodiment, the one or more operations may constitute computer readable instructions stored on one or more computer readable media, which when executed by an electronic device, will cause the computing device to perform the operations. The order in which some or all of the operations are described should not be construed as to imply that these operations are necessarily order dependent. Those skilled in the art will appreciate alternative orderings having the benefit of this description. Moreover, it should be understood that not all operations are necessarily present in each embodiment provided herein.
Also, although the disclosure has been shown and described with respect to one or more implementations, equivalent alterations and modifications will occur to others skilled in the art based upon a reading and understanding of this specification and the annexed drawings. The present disclosure includes all such modifications and alterations, and is limited only by the scope of the appended claims. In particular regard to the various functions performed by the above described components (e.g., elements, resources, etc.), the terms used to describe such components are intended to correspond, unless otherwise indicated, to any component which performs the specified function of the described component (e.g., that is functionally equivalent), even though not structurally equivalent to the disclosed structure which performs the function in the herein illustrated exemplary implementations of the disclosure. In addition, while a particular feature of the disclosure may have been disclosed with respect to only one of several implementations, such feature may be combined with one or more other features of the other implementations as may be desired and advantageous for a given or particular application. Furthermore, to the extent that the terms "includes," has, "" contains, "or variants thereof are used in either the detailed description or the claims, such terms are intended to be inclusive in a manner similar to the term" comprising.
Each functional unit in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium. The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Each apparatus or system described above may perform the method in the corresponding method embodiment.
In summary, although the present invention has been disclosed in the foregoing embodiments, the serial numbers before the embodiments, such as "first" and "second", are used for convenience of description only, and do not limit the sequence of the embodiments of the present invention. Furthermore, the above embodiments are not intended to limit the present invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention, therefore, the scope of the present invention shall be limited by the appended claims.
Claims (11)
1. A method for testing a program application, comprising:
a1, acquiring all functional controls of the application of the tested program and corresponding control test probabilities;
a2, according to all the functional controls of the tested program application and the corresponding control test probabilities, performing a program application scene test on the tested program application to detect program application scene abnormity;
a3, if the program application scene is detected to be abnormal, recording the test information of the function control with the latest set times and the corresponding program application scene abnormal information; and
a4, reporting the function control test information of the latest set times and the corresponding program application scene abnormal information, and returning to the step A2 until the test is finished;
wherein the step A2 includes:
a21, carrying out initialization operation on the tested program application to show an initial program application scene;
a22, acquiring all function controls of the program application scene; and
a23, performing function atomic operation on the function controls in the program application scene according to all the function controls and the corresponding control test probabilities of the program application scene, and turning to the step A22 until the test is finished or the program application scene abnormity is detected if the program application scene jumps to a new program application scene.
2. The program application testing method according to claim 1, wherein the step of obtaining all the functional controls and corresponding control testing probabilities of the tested program application comprises:
acquiring a function control tree of the application of the tested program, and displaying all function controls of the application of the tested program according to the function control tree; and
and receiving a test probability setting instruction, and setting the control test probability corresponding to the functional control according to the test probability setting instruction.
3. The program application testing method according to claim 1, wherein after the reporting operation, before the operation of returning to the step a2, further comprising the steps of:
and reducing the control testing probability of the corresponding functional control according to a preset rule according to the program application scene abnormal information.
4. The program application testing method of claim 1, wherein the program application scenario exception comprises a program application scenario crash, a system performance exception, a program application scenario response timeout, and a program application scenario response exception.
5. The program application testing method of claim 1, wherein the program application scenario exception information comprises program application scenario log information, program application scenario sampling information, program application scenario screenshot information, and playback stack information.
6. A program application testing apparatus, comprising:
the functional control acquisition module is used for acquiring all functional controls applied by the tested program and corresponding control test probabilities;
the program application scene testing module is used for carrying out program application scene testing on the program application to be tested according to all the functional controls applied by the program to be tested and the corresponding control testing probability so as to detect program application scene abnormity;
the abnormal information recording module is used for recording the test information of the function control with the latest set times and the corresponding abnormal information of the program application scene if the abnormal program application scene is detected; and
the information reporting module is used for reporting the function control test information with the latest set times and the corresponding program application scene abnormal information;
wherein the program application scenario test module comprises:
the initialization unit is used for carrying out initialization operation on the application of the program to be tested so as to display an initial program application scene;
a scene control acquiring unit, configured to acquire all function controls of the program application scene; and
and the testing unit is used for performing functional atomic operation on the functional controls in the program application scene according to all the functional controls in the program application scene and the corresponding control testing probabilities.
7. The program application testing apparatus of claim 6, wherein the functionality control acquisition module comprises:
the function control tree obtaining and displaying unit is used for obtaining a function control tree of the application of the tested program and displaying all function controls of the application of the tested program according to the function control tree; and
and the control test probability setting unit is used for receiving a test probability setting instruction and setting the control test probability corresponding to the functional control according to the test probability setting instruction.
8. The program application testing device of claim 6, further comprising:
and the control test probability correction module is used for reducing the control test probability of the corresponding functional control according to a preset rule according to the program application scene abnormal information.
9. The program application testing device of claim 6, wherein the program application scenario exception comprises a program application scenario crash, a system performance exception, a program application scenario response timeout, and a program application scenario response exception.
10. The program application testing device of claim 6, wherein the program application scenario exception information comprises program application scenario log information, program application scenario sampling information, program application scenario screenshot information, and playback stack information.
11. A computer-readable storage medium having stored therein processor-executable instructions, the instructions being loaded by one or more processors to perform the program application testing method of any of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611202501.3A CN107741902B (en) | 2016-12-23 | 2016-12-23 | Program application detection method and program application detection device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611202501.3A CN107741902B (en) | 2016-12-23 | 2016-12-23 | Program application detection method and program application detection device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107741902A CN107741902A (en) | 2018-02-27 |
CN107741902B true CN107741902B (en) | 2020-07-07 |
Family
ID=61234966
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611202501.3A Active CN107741902B (en) | 2016-12-23 | 2016-12-23 | Program application detection method and program application detection device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107741902B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108920377B (en) * | 2018-07-16 | 2022-03-04 | 杭州安恒信息技术股份有限公司 | Log playback test method, system and device and readable storage medium |
CN109408361A (en) * | 2018-08-15 | 2019-03-01 | 中国平安人寿保险股份有限公司 | Monkey tests restored method, device, electronic equipment and computer readable storage medium |
CN112363885B (en) * | 2020-11-10 | 2023-09-22 | 抖音视界有限公司 | Method, device, electronic equipment and computer readable medium for detecting application abnormality |
CN112306819B (en) * | 2020-11-24 | 2022-07-12 | 微医云(杭州)控股有限公司 | Abnormal event playback method and device, electronic equipment and storage medium |
CN112764969A (en) * | 2020-12-31 | 2021-05-07 | 未鲲(上海)科技服务有限公司 | Application software exception handling method and related equipment |
CN113407406B (en) * | 2021-05-26 | 2023-06-23 | 中国联合网络通信集团有限公司 | Abnormality monitoring method and abnormality monitoring system |
CN113835961B (en) * | 2021-09-23 | 2023-05-16 | 中国联合网络通信集团有限公司 | Alarm information monitoring method, device, server and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103019937A (en) * | 2012-12-13 | 2013-04-03 | 广东欧珀移动通信有限公司 | Human-machine interaction interface traverse test method |
CN104063307A (en) * | 2013-03-19 | 2014-09-24 | 腾讯科技(深圳)有限公司 | Software testing method and system |
CN104598380A (en) * | 2015-01-16 | 2015-05-06 | 广东欧珀移动通信有限公司 | Method and system for automatic testing based on control |
CN105786694A (en) * | 2014-12-26 | 2016-07-20 | 展讯通信(天津)有限公司 | Automatic test system and method, and mobile terminals |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160364318A1 (en) * | 2015-06-10 | 2016-12-15 | International Business Machines Corporation | Enhanced bug resolution |
-
2016
- 2016-12-23 CN CN201611202501.3A patent/CN107741902B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103019937A (en) * | 2012-12-13 | 2013-04-03 | 广东欧珀移动通信有限公司 | Human-machine interaction interface traverse test method |
CN104063307A (en) * | 2013-03-19 | 2014-09-24 | 腾讯科技(深圳)有限公司 | Software testing method and system |
CN105786694A (en) * | 2014-12-26 | 2016-07-20 | 展讯通信(天津)有限公司 | Automatic test system and method, and mobile terminals |
CN104598380A (en) * | 2015-01-16 | 2015-05-06 | 广东欧珀移动通信有限公司 | Method and system for automatic testing based on control |
Also Published As
Publication number | Publication date |
---|---|
CN107741902A (en) | 2018-02-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107741902B (en) | Program application detection method and program application detection device | |
US9280451B2 (en) | Testing device | |
CN109429102B (en) | Electronic device and server for displaying applications | |
US20130074051A1 (en) | Tracking and analysis of usage of a software product | |
CN105472417B (en) | Method and device for acquiring video player abnormity | |
CN106888236B (en) | Session management method and session management device | |
CN112241361B (en) | Test case generation method and device, problem scenario automatic reproduction method and device | |
CN107491383A (en) | Catching method, device and the mobile terminal of application crashes Operation Log | |
CN109783345B (en) | Method and system for testing small program performance | |
JP6130976B2 (en) | Web page encoding identification method, web page encoding identification device, program, and recording medium | |
CN110515854B (en) | Application program abnormality reproduction method and device and electronic equipment | |
WO2017206476A1 (en) | Method, device and apparatus for detecting cpu occupation | |
CN112817866A (en) | Recording playback method, device, system, computer equipment and storage medium | |
CN107026865A (en) | Anomalous event processing method and system, client and service end | |
KR102569998B1 (en) | Method for managing notifications of applications and an electronic device thereof | |
CN110888731A (en) | Route data acquisition method, device, equipment and storage medium | |
CN109492163B (en) | List display recording method and device, terminal equipment and storage medium | |
CN110209557B (en) | User operation recording and restoring method, device and equipment and readable storage medium | |
CN110781052A (en) | Offline monitoring method, device, computer equipment and storage medium | |
CN106708705B (en) | Terminal background process monitoring method and system | |
CN108170605A (en) | Submission method, client and the computer readable storage medium of bug information | |
US9912796B2 (en) | Apparatus and method for correcting an input number | |
CN111124627B (en) | Method and device for determining call initiator of application program, terminal and storage medium | |
US9749397B2 (en) | Methods, systems, and computer-readable media for testing applications on a handheld device | |
CN110727537A (en) | Method and device for uniformly processing response message, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |