CN107741902A - Program application detection method and program application detection means - Google Patents

Program application detection method and program application detection means Download PDF

Info

Publication number
CN107741902A
CN107741902A CN201611202501.3A CN201611202501A CN107741902A CN 107741902 A CN107741902 A CN 107741902A CN 201611202501 A CN201611202501 A CN 201611202501A CN 107741902 A CN107741902 A CN 107741902A
Authority
CN
China
Prior art keywords
program application
application scenarios
functionality controls
test
program
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.)
Granted
Application number
CN201611202501.3A
Other languages
Chinese (zh)
Other versions
CN107741902B (en
Inventor
潘燕宜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201611202501.3A priority Critical patent/CN107741902B/en
Publication of CN107741902A publication Critical patent/CN107741902A/en
Application granted granted Critical
Publication of CN107741902B publication Critical patent/CN107741902B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/366Software debugging using diagnostics

Abstract

The present invention provides a kind of program application testing method, and it includes:A1, all functionality controls for obtaining tested program application and corresponding components testing probability;A2, all functionality controls applied according to tested program and corresponding components testing probability, the test of line program application scenarios is entered to tested program application, to detect program application scenarios exception;A3, program application scenarios exception is such as detected, then record sets the test information of the functionality controls of number and corresponding program application scenarios abnormal information recently;A4, the functionality controls of nearest setting number are tested into information and corresponding program application scenarios abnormal information carries out reporting operation, and return to step A2 terminates until testing.

Description

Program application detection method and program application detection means
Technical field
The present invention relates to program application detection field, more particularly to a kind of program application detection method and program application inspection Survey device.
Background technology
With the development of science and technology, the program of various mobile terminals and fixed desktop end, using more and more, people's is daily Various program applications are being used in daily life, to meet the various interactions of people and acquisition of information need Ask.
Because user's usage amount of program application is larger, is applied such as program and occur that abnormal scene shows in certain specified conditions As meeting strong influence Consumer's Experience;Therefore program application and development company by the program application before market is pushed to, to this Program application carries out comprehensive random function test, so that discovery procedure applies the occurrence condition of abnormal scene phenomenon in advance as far as possible.
But the institute that existing program application test software is difficult to overlay program application is functional;And existing program application For test software when entering the test of line program application scenarios, test mode is single, is easily accessible endless loop, so as to cause program application The decline of testing efficiency, while when discovery procedure applies abnormal scene, the program can not be carried out effectively using abnormal scene Playback.
The content of the invention
A kind of testing efficiency of offer of the embodiment of the present invention is higher and can apply what abnormal scene effectively be played back to program Program application testing method and program application test device;To solve existing program application testing method and program application test The testing efficiency of device is relatively low and can not apply the technical problem that effectively be played back of abnormal scene to program.
The embodiment of the present invention provides a kind of program application testing method, and it includes:
A1, all functionality controls for obtaining tested program application and corresponding components testing probability;
A2, all functionality controls applied according to the tested program and corresponding components testing probability, to the quilt The test of line program application scenarios is entered in ranging sequence application, to detect program application scenarios exception;
A3, such as detect program application scenarios exception, then record recently setting number functionality controls test information with And corresponding program application scenarios abnormal information;And
A4, the functionality controls of the number of setting recently are tested into information and corresponding program application scenarios abnormal information Carry out reporting operation, and return to step A2 is until test terminates.
The embodiment of the present invention also provides a kind of program application test device, and it includes:
Functionality controls acquisition module, for all functionality controls for obtaining tested program application and corresponding components testing Probability;
Program application scenarios test module, for all functionality controls for being applied according to the tested program and corresponding Components testing probability, the test of line program application scenarios is entered to the tested program application, to detect program application scenarios exception;
Abnormal information logging modle, for such as detecting program application scenarios exception, then record sets the work(of number recently The test information and corresponding program application scenarios abnormal information of energy control;And
Information reporting module, for the functionality controls test information of the number of setting recently and corresponding program to be answered Carried out reporting operation with scene abnormal information.
Compared to prior art, program application testing method of the invention and program application test device are in advance to by ranging All functionality controls and components testing probability of sequence application are configured, so as to improve the test effect of program application test Rate;The test information to functionality controls and corresponding program application scenarios abnormal information record simultaneously simultaneously, realize Effective playback of abnormal scene is applied to program;Solve existing program application testing method and program application test device Testing efficiency is relatively low and can not apply the technical problem that effectively be played back of abnormal scene to program.
Brief description of the drawings
Fig. 1 is the flow chart of the first preferred embodiment of the program application testing method of the present invention;
Fig. 2 is the flow chart of the second preferred embodiment of the program application testing method of the present invention;
Fig. 3 is the step S201 of the second preferred embodiment of the program application testing method of present invention flow chart;
Fig. 4 is the step S202 of the second preferred embodiment of the program application testing method of present invention flow chart;
Fig. 5 is the structural representation of the first preferred embodiment of the program application test device of the present invention;
Fig. 6 is the structural representation of the second preferred embodiment of the program application test device of the present invention;
Fig. 7 is the structure of the functionality controls acquisition module of the second preferred embodiment of the program application test device of the present invention Schematic diagram;
Fig. 8 is the program application scenarios test module of the second preferred embodiment of the program application test device of the present invention Structural representation;
Fig. 9 be the present invention program application testing method and program application test device specific embodiment testing process Figure;
Figure 10 uses schematic diagram for program application testing method and program application test device of the invention;
Figure 11 be the present invention program application test device where electronic equipment working environment structural representation.
Embodiment
Schema is refer to, wherein identical element numbers represent identical component, and principle of the invention is to implement one Illustrated in appropriate computing environment.The following description is based on the illustrated specific embodiment of the invention, and it should not be by It is considered as the limitation present invention other specific embodiments not detailed herein.
In the following description, specific embodiment of the invention will be referred to as the operation performed by one or multi-section computer The step of and symbol illustrate, unless otherwise stating clearly.Therefore, it will appreciate that these steps and operation, be carried for several times wherein having To be performed by computer, include by representing with the computer disposal list of the electronic signal of the data in a structuring pattern Member is manipulated.This manipulation transforms data or the opening position being maintained in the memory system of the computer, it can match somebody with somebody again Put or change the running of the computer in a manner familiar to those skilled in the art in addition.The data knot that the data are maintained Structure is the provider location of the internal memory, and it has the particular characteristics as defined in the data format.But the principle of the invention is with above-mentioned Word illustrates, it is not represented as a kind of limitation, those skilled in the art will appreciate that plurality of step as described below and Operation also may be implemented among hardware.
The present invention program application test device can be used for it is various enter line program application scenarios test electronic equipment in, this Electronic equipment includes but is not limited to wearable device, personal computer, server computer, hand-held or laptop devices, shifting Dynamic equipment (such as mobile phone, personal digital assistant (PDA), media player etc.), multicomputer system, consumer electronics Equipment, minicom, mainframe computer include the DCE of above-mentioned any system or equipment.The electricity of the present invention Sub- equipment is configured by all functionality controls and the components testing probability applied in advance to tested program, so as to improve The testing efficiency of program application test;The test information to functionality controls and corresponding program should simultaneously for the electronic installation simultaneously Recorded with scene abnormal information, realize effective playback that abnormal scene is applied to program.
Fig. 1 is refer to, Fig. 1 is the flow chart of the first preferred embodiment of the program application testing method of the present invention.This is excellent The program application testing method of embodiment is selected above-mentioned electronic installation to can be used to be implemented, the program application testing method bag Include:
Step S101, obtain all functionality controls of tested program application and corresponding components testing probability;
Step S102, all functionality controls and corresponding components testing probability applied according to tested program, to tested The test of line program application scenarios is entered in program application, to detect program application scenarios exception;
Step S103, program application scenarios exception is such as detected, then record sets the test of the functionality controls of number recently Information and corresponding program application scenarios abnormal information;
Step S104 is abnormal by the test information of the functionality controls of nearest setting number and corresponding program application scenarios Information is reported, and return to step S102 is until test terminates.
The following detailed description of the idiographic flow of each step of the program application testing method of this preferred embodiment.
In step S101, as program application test device needs to enter tested program application line program application test, then All functionality controls of tested program application and corresponding components testing probability can be obtained.Here functionality controls can correspond to Any function atomic operation in tested program application, such as sends out a random expression.Components testing probability then performs to be random The probability of the functionality controls.All functionality controls and corresponding components testing probability of above-mentioned tested program application are to be used for Pre-set.Here function atomic operation refers to the operation that will not be interrupted by thread scheduling mechanism, and function atomic operation is once Bring into operation, end will be run to always, another thread will not be switched to.Then pass to step S102.
In step s 102, the institute that the tested program that program application test device obtains according to step S101 is applied is functional Control and corresponding components testing probability, the test of line program application scenarios is entered to tested program application.Specifically, program application Test device can obtain all functionality controls of each program application scenarios, then be surveyed according to control corresponding to each functionality controls Probability is tried, function atomic operation is carried out to the functionality controls in the program application scenarios, as the function atomic operation jumps to newly Program application scenarios, then read all functionality controls of the program application scenarios again, continue the test of program application scenarios, Until detect that program application scenarios are abnormal or test terminates.
Here program application scenarios include but is not limited to program application scenarios collapse (such as program application scenarios extremely Crash), systematic function abnormal (such as system CPU, internal memory and handle data exception), program application scenarios response timeout (such as journey Sequence application scenarios do not respond for a long time to function atomic operation) and program application scenarios response abnormality (such as program application scenarios Modal window is triggered to the response abnormality of function atomic operation, such as function atomic operation, it is follow-up so as to lead to not carry out Covering in path etc.).Step S103 is gone to if detecting that program application scenarios are abnormal.
In step s 103, program application test device detects that program application scenarios are different in present procedure application scenarios Often, because caused by having atomic operation corresponding to functionality controls multiple recently, therefore the program application scenarios are probably extremely Here program application test device record sets the test information of the functionality controls of number and corresponding program applied field recently Scape abnormal information.
Here program application scenarios abnormal information includes but is not limited to program application scenarios log information, program applied field Scape sample intelligence, program application scenarios shot image information and playback stack information etc..
Such as collapse of generating program application scenarios, systematic function exception and program application scenarios response timeout program exception When, program application test device should obtain program application scenarios log information, program application scenarios sample intelligence and playback heap The program application scenarios program information such as stack information;During such as generating program application scenarios response abnormality test script exception, program Program application scenarios shot image information need to be only obtained using test device can determining program application scenarios abnormal cause.Then pass to Step S104.
In step S104, program application test device is by the functionality controls of the nearest setting number obtained in step S103 Test information and corresponding program application scenarios abnormal information reported, the operation that reports here can be by above-mentioned survey Examination information and program application scenarios abnormal information send to background data base and stored, so that user passes through functionality controls Test information is played back and analyzed extremely to program application scenarios.Program application test device return to step after reporting S102 continues the test of other program application scenarios until being completed.
So complete the program application test process of the program application testing method of this preferred embodiment.
All functionality controls to tested program application and the control in advance of the program application testing method of this preferred embodiment Part test probability is configured, so as to improve the testing efficiency of program application test;Test information to functionality controls simultaneously And corresponding program application scenarios abnormal information is recorded simultaneously, effectively the returning using abnormal scene to program is realized Put.
Fig. 2 is refer to, Fig. 2 is the flow chart of the second preferred embodiment of the program application testing method of the present invention.This is excellent The program application testing method of embodiment is selected above-mentioned electronic installation to can be used to be implemented, the program application testing method bag Include:
Step S201, obtain all functionality controls of tested program application and corresponding components testing probability;
Step S202, all functionality controls and corresponding components testing probability applied according to tested program, to tested The test of line program application scenarios is entered in program application, to detect program application scenarios exception;
Step S203, program application scenarios exception is such as detected, then record sets the test of the functionality controls of number recently Information and corresponding program application scenarios abnormal information;
Step S204 is abnormal by the test information of the functionality controls of nearest setting number and corresponding program application scenarios Information is reported;
Step S205, according to program application scenarios abnormal information, the components testing probability of corresponding functionality controls is pressed in advance If rule is reduced;And return to step S202 is until test terminates.
The following detailed description of the idiographic flow of each step of the program application testing method of this preferred embodiment.
In step s 201, as program application test device needs to enter tested program application line program application test, then All functionality controls of tested program application and corresponding components testing probability can be obtained.Here functionality controls can correspond to Any function atomic operation in tested program application, such as sends out a random expression.Components testing probability then performs to be random The probability of the functionality controls.All functionality controls and corresponding components testing probability of above-mentioned tested program application are to be used for Pre-set.Specific method to set up can be found in Fig. 3, and Fig. 3 is the second preferred embodiment of the program application testing method of the present invention Step S201 flow chart.Step S201 includes:
Step S301, program application test device obtain functionality controls tree (such as UI interface controls of tested program application Tree), the functionality controls tree of tested program application here is made up of each functionality controls as node, and that includes the tested program Apply all functionality controls under distinct program application scenarios.Subsequent program application test device is using tree to each Functionality controls under program application scenarios are shown operation.
Step S302, the test probability that program application test device receives user set instruction, and the test probability, which is set, to be referred to Make the functionality controls according to displaying for user, the instruction of the components testing probability of each functionality controls of correspondence of setting.Subsequent journey Sequence application test device components testing probability according to corresponding to test probability sets instruction to set each functionality controls.Then pass to Step S202.
In step S202, program application test device is functional according to the institute of the step S201 tested program applications obtained Control and corresponding components testing probability, the test of line program application scenarios is entered to tested program application.
It is specific to refer to Fig. 4, the step of Fig. 4 is the second preferred embodiment of the program application testing method of the present invention S202 flow chart.Step S202 includes:
Step S401, program application test device carries out initialization operation to tested program application, to show initial journey Sequence application scenarios, to eliminate influence of the current state of tested program application to test operation.
Step S402, program application test device obtain all functionality controls of present procedure application scenarios.
Step S403, program application test device is according to all functionality controls of present procedure application scenarios and corresponding Components testing probability, function atomic operation is carried out to the functionality controls in program application scenarios, as the function atomic operation redirects To new program application scenarios, then return to step S402 reads all functionality controls of the program application scenarios again, continues Program application scenarios are tested, until detecting that program application scenarios are abnormal or test terminates.
There is present procedure application scenarios as tested program is applied expression to send control, word transmission control and picture Send control, the expression sends control, word send control and picture send control components testing probability be respectively 0.1, 0.2 and 0.3, then carry out expression and send the test that atomic operation, word transmission atomic operation and picture send atomic operation Probability is respectively 0.1/0.6,0.2/0.6 and 0.3/0.6.
Here program application scenarios include but is not limited to program application scenarios collapse (such as program application scenarios extremely Crash), systematic function abnormal (such as system CPU, internal memory and handle data exception), program application scenarios response timeout (such as journey Sequence application scenarios do not respond for a long time to function atomic operation) and program application scenarios response abnormality (such as program application scenarios Modal window is triggered to the response abnormality of function atomic operation, such as function atomic operation, it is follow-up so as to lead to not carry out Covering in path etc.).Step S203 is gone to if detecting that program application scenarios are abnormal.Such as it is not detected by any program applied field The abnormal normal termination to be tested such as then of scape.
In step S203, program application test device detects that program application scenarios are different in present procedure application scenarios Often, because caused by having atomic operation corresponding to functionality controls multiple recently, therefore the program application scenarios are probably extremely Here program application test device record sets the test information of the functionality controls of number and corresponding program applied field recently Scape abnormal information.The nearest setting number can specifically need to be configured according to user.
Here program application scenarios abnormal information includes but is not limited to program application scenarios log information, program applied field Scape sample intelligence, program application scenarios shot image information and playback stack information etc..
Such as collapse of generating program application scenarios, systematic function exception and program application scenarios response timeout program exception When, program application test device should obtain program application scenarios log information, program application scenarios sample intelligence and playback heap The program application scenarios program information such as stack information;During such as generating program application scenarios response abnormality test script exception, program Program application scenarios shot image information need to be only obtained using test device can determining program application scenarios abnormal cause.Then pass to Step S204.
In step S204, program application test device is by the functionality controls of the nearest setting number obtained in step S203 Test information and corresponding program application scenarios abnormal information reported, so that user is believed by the tests of functionality controls Breath is played back and analyzed extremely to program application scenarios.Then pass to step S205.
In step S205, because user possibly can not be handled program application scenarios immediately extremely immediately, in order to The abnormal influence that repeated to program application testing efficiency of some program application scenarios is prevented, in this step, program should The program application scenarios abnormal information that can be obtained with test device according to step S203, to the components testing of corresponding functionality controls Probability is reduced by preset rules, so as to avoid identical program application scenarios are abnormal from repeated.
There is present procedure application scenarios as tested program is applied expression to send control, word transmission control and picture Send control, the expression sends control, word send control and picture send control components testing probability be respectively 0.1, 0.2 and 0.3, when such as carrying out expression transmission atomic operation, there is exception in present procedure application scenarios, then send expression and control The components testing probability of part is modified to 0.05, so carries out expression and sends atomic operation, word transmission atomic operation and picture The test probability for sending atomic operation is respectively 0.05/0.55,0.2/0.55 and 0.3/0.55.
Such as when present procedure application scenarios carry out expression transmission atomic operation again, present procedure application scenarios occur again Exception, then the components testing probability that expression is sent to control are modified to 0.02, so carry out expression transmission atomic operation, word The test probability for sending atomic operation and picture transmission atomic operation is respectively 0.02/0.52,0.2/0.52 and 0.3/ 0.52。
Caused by program application scenarios may not be by single atomic operation behavior extremely, therefore here as that will own The abnormal nearest atomic operation of initiator application scenarios is directly forbidden, and may result in the imperfect of test operation, therefore this In by the components testing probability for the functionality controls atomic operation for gradually reducing strong correlation, the integrity degree of test operation can ensured On the basis of, effectively reduce the abnormal probability of happening of said procedure application scenarios.The preset rules progressively lowered can be to use Halve and (halve the probability of happening for triggering the abnormal nearest some events of the program application scenarios) based on the probability of happening, based on most Short path halves and (halved the probability of happening of the event triggered on the abnormal most bob means of livelihood footpath of the program application scenarios) isotactic Then.It is then returned to step S202 and continues the test of other program application scenarios until being completed.
So complete the program application test process of the program application testing method of this preferred embodiment.
On the basis of first preferred embodiment, the program application testing method of this preferred embodiment passes through functionality controls tree Setting, further increase functionality controls acquisition integrality;And the program application testing method is according to program applied field Amendment of the scape abnormal information to components testing probability, the test for further increasing program application test are efficient.
The present invention also provides a kind of program application test device, refer to Fig. 5, and Fig. 5 is the program application test of the present invention The structural representation of the first preferred embodiment of device.Above-mentioned journey can be used in the program application test device of this preferred embodiment The first preferred embodiment of sequence application testing method is implemented, and the program application test device 50 of this preferred embodiment includes work( Can control acquisition module 51, program application scenarios test module 52, abnormal information logging modle 53 and information reporting module 54.
Functionality controls acquisition module 51 is used for all functionality controls for obtaining tested program application and corresponding control is surveyed Try probability;Program application scenarios test module 52 is used for all functionality controls applied according to tested program and corresponding control Test probability, the test of line program application scenarios is entered to tested program application, to detect program application scenarios exception;Abnormal information is remembered Record module 53 be used for such as detect program application scenarios exception, then record recently setting number functionality controls test information with And corresponding program application scenarios abnormal information;Information reporting module 54 is used to the functionality controls of nearest setting number testing letter Breath and corresponding program application scenarios abnormal information carry out reporting operation.
The program application test device 50 of this preferred embodiment is in use, first such as the needs pair of program application test device 50 Line program application test is entered in tested program application, then it is active to obtain the institute that the tested program is applied for functionality controls acquisition module 51 Can control and corresponding components testing probability.Here functionality controls can correspond to any function atom in tested program application Operation, such as send out a random expression.Components testing probability is then the probability for performing the functionality controls at random.Above-mentioned tested program All functionality controls and corresponding components testing probability of application are to be used to pre-set.Here function atomic operation is Refer to the operation that will not be interrupted by thread scheduling mechanism, function atomic operation will run to end always, no once operation Another thread can be switched to.
What the tested program that subsequent program application scenarios test module 52 obtains according to functionality controls acquisition module 51 was applied Program application test device part and corresponding components testing probability, the test of line program application scenarios is entered to tested program application. Specifically, program application scenarios test module 52 can obtain all functionality controls of each program application scenarios, then according to each Components testing probability corresponding to individual functionality controls, function atomic operation is carried out to the functionality controls in the program application scenarios, such as The function atomic operation jumps to new program application scenarios, then reads all functionality controls of the program application scenarios again, after Continue and tested into line program application scenarios, until detecting that program application scenarios are abnormal or test terminates.
Here program application scenarios include but is not limited to program application scenarios collapse (such as program application scenarios extremely Crash), systematic function abnormal (such as system CPU, internal memory and handle data exception), program application scenarios response timeout (such as journey Sequence application scenarios do not respond for a long time to function atomic operation) and program application scenarios response abnormality (such as program application scenarios Modal window is triggered to the response abnormality of function atomic operation, such as function atomic operation, it is follow-up so as to lead to not carry out Covering in path etc.).
As abnormal information logging modle 53 present procedure application scenarios detect program application scenarios exception, due to the journey Sequence application scenarios are probably caused by having atomic operation corresponding to multiple functionality controls recently extremely, therefore abnormal information here Logging modle 53 records the test information of the functionality controls of setting number and corresponding program application scenarios abnormal information recently.
Here program application scenarios abnormal information includes but is not limited to program application scenarios log information, program applied field Scape sample intelligence, program application scenarios shot image information and playback stack information etc..
Such as collapse of generating program application scenarios, systematic function exception and program application scenarios response timeout program exception When, abnormal information logging modle 53 should obtain program application scenarios log information, program application scenarios sample intelligence and playback The program application scenarios program information such as stack information;It is different during such as generating program application scenarios response abnormality test script exception Normal information logging modle 53 need to obtain program application scenarios shot image information can determining program application scenarios abnormal cause.
The functionality controls for the nearest setting number that last information reporting module 54 obtains abnormal information logging modle 53 Test information and corresponding program application scenarios abnormal information are reported, and the operation that reports here can be by above-mentioned test Information and program application scenarios abnormal information send to background data base and stored, the survey for passing through functionality controls so as to user Examination information is played back and analyzed extremely to program application scenarios.Information reporting module 54 returns to program application after reporting Scrnario testing module 52 continues the test of other program application scenarios until being completed.
So complete the program application test process of the program application test device 50 of this preferred embodiment.
All functionality controls to tested program application and the control in advance of the program application test device of this preferred embodiment Part test probability is configured, so as to improve the testing efficiency of program application test;Test information to functionality controls simultaneously And corresponding program application scenarios abnormal information is recorded simultaneously, effectively the returning using abnormal scene to program is realized Put.
Fig. 6 is refer to, Fig. 6 is the structural representation of the second preferred embodiment of the program application test device of the present invention. The second preferred embodiment of above-mentioned program application testing method can be used to enter for the program application test device of this preferred embodiment Row is implemented, and the program application test device 60 of this preferred embodiment includes functionality controls acquisition module 61, the survey of program application scenarios Die trial block 62, abnormal information logging modle 63, information reporting module 64 and components testing probability correcting module 65.
Functionality controls acquisition module 61 is used for all functionality controls for obtaining tested program application and corresponding control is surveyed Try probability;Program application scenarios test module 62 is used for all functionality controls applied according to tested program and corresponding control Test probability, the test of line program application scenarios is entered to tested program application, to detect program application scenarios exception;Abnormal information is remembered Record module 63 be used for such as detect program application scenarios exception, then record recently setting number functionality controls test information with And corresponding program application scenarios abnormal information;Information reporting module 64 is used to the functionality controls of nearest setting number testing letter Breath and corresponding program application scenarios abnormal information carry out reporting operation;Components testing probability correcting module 65 is used for according to journey Sequence application scenarios abnormal information, the components testing probability of corresponding functionality controls is reduced by preset rules.
Fig. 7 is refer to, Fig. 7 is that the functionality controls of the second preferred embodiment of the program application test device of the present invention obtain The structural representation of module.The functionality controls acquisition module 61 includes functionality controls tree and obtains display unit 71 and components testing Probability setting unit 72.
Functionality controls tree obtains the functionality controls tree that display unit 71 is used to obtain tested program application, and according to function control Part tree is shown to all functionality controls that tested program is applied;Components testing probability setting unit 72 is used to receive test generally Rate sets instruction, and the components testing probability according to corresponding to test probability sets instruction to set functionality controls.
Fig. 8 is refer to, Fig. 8 is the program application scenarios of the second preferred embodiment of the program application test device of the present invention The structural representation of test module, the program application scenarios test module 62 includes initialization unit 81, scene control obtains list Member 82 and test cell 83.
Initialization unit 81 is used to carry out initialization operation to tested program application, to show initial program applied field Scape;Scene control acquiring unit 82 is used for all functionality controls for obtaining program application scenarios;Test cell 83 is used for according to journey Program application scenarios are tested by all functionality controls of sequence application scenarios and corresponding components testing probability.
The program application test device 60 of this preferred embodiment is in use, first such as the needs pair of program application test device 60 Line program application test is entered in tested program application, then it is active to obtain the institute that the tested program is applied for functionality controls acquisition module 61 Can control and corresponding components testing probability.Here functionality controls can correspond to any function atom in tested program application Operation, such as send out a random expression.Components testing probability is then the probability for performing the functionality controls at random.Above-mentioned tested program All functionality controls and corresponding components testing probability of application are to be used to pre-set.Specific method to set up may include:
The functionality controls tree of functionality controls acquisition module 61 obtains the function control that display unit 71 obtains tested program application Part tree (such as UI interface control trees), the functionality controls tree of tested program application here are made up of each functionality controls as node, All functionality controls under distinct program application scenarios are applied that includes the tested program.Subsequent functionality controls tree acquisition exhibition Show that unit 71 is shown operation using tree to the functionality controls under each program application scenarios.
The test probability that the components testing probability setting unit 72 of functionality controls acquisition module 61 receives user sets instruction, It is functionality controls of the user according to displaying that the test probability, which sets instruction, and the components testing of each functionality controls of correspondence of setting is general The instruction of rate.Subsequent components testing probability setting unit 72 is according to corresponding to test probability sets instruction to set each functionality controls Components testing probability.
What the tested program that subsequent program application scenarios test module 62 obtains according to functionality controls acquisition module 61 was applied All functionality controls and corresponding components testing probability, the test of line program application scenarios is entered to tested program application.
Idiographic flow includes:
The initialization unit 81 of program application scenarios test module 62 carries out initialization operation to tested program application, with exhibition Show initial program application scenarios, to eliminate influence of the current state of tested program application to test operation.
The scene control acquiring unit 82 of program application scenarios test module 62 obtains all of present procedure application scenarios Functionality controls.
The test cell 83 of program application scenarios test module 62 is according to all functionality controls of present procedure application scenarios And corresponding components testing probability, function atomic operation is carried out to the functionality controls in program application scenarios, as the function is former Child-operation jumps to new program application scenarios, then returns to the institute that scene control acquiring unit 82 reads the program application scenarios again Functional control, continue the test of program application scenarios, until detecting that program application scenarios are abnormal or test terminates.
There is present procedure application scenarios as tested program is applied expression to send control, word transmission control and picture Send control, the expression sends control, word send control and picture send control components testing probability be respectively 0.1, 0.2 and 0.3, then test cell 83 carries out expression transmission atomic operation, word sends atomic operation and picture sends atom The test probability of operation is respectively 0.1/0.6,0.2/0.6 and 0.3/0.6.
Here program application scenarios include but is not limited to program application scenarios collapse (such as program application scenarios extremely Crash), systematic function abnormal (such as system CPU, internal memory and handle data exception), program application scenarios response timeout (such as journey Sequence application scenarios do not respond for a long time to function atomic operation) and program application scenarios response abnormality (such as program application scenarios Modal window is triggered to the response abnormality of function atomic operation, such as function atomic operation, it is follow-up so as to lead to not carry out Covering in path etc.).Abnormal information logging modle 63 is gone to if detecting that program application scenarios are abnormal.Such as it is not detected by any The abnormal normal termination to be tested such as then of program application scenarios.
As abnormal information logging modle 63 present procedure application scenarios detect program application scenarios exception, due to the journey Sequence application scenarios are probably caused by having atomic operation corresponding to multiple functionality controls recently extremely, therefore abnormal information here Logging modle 63 records the test information of the functionality controls of setting number and corresponding program application scenarios abnormal information recently. The nearest setting number can specifically need to be configured according to user.
Here program application scenarios abnormal information includes but is not limited to program application scenarios log information, program applied field Scape sample intelligence, program application scenarios shot image information and playback stack information etc..
Such as collapse of generating program application scenarios, systematic function exception and program application scenarios response timeout program exception When, abnormal information logging modle 63 should obtain program application scenarios log information, program application scenarios sample intelligence and playback The program application scenarios program information such as stack information;It is different during such as generating program application scenarios response abnormality test script exception Normal information logging modle 63 need to obtain program application scenarios shot image information can determining program application scenarios abnormal cause.
Then the functionality controls of the nearest setting number that information reporting module 64 obtains abnormal information logging modle 63 Test information and corresponding program application scenarios abnormal information are reported, the test information for passing through functionality controls so as to user Program application scenarios are played back and analyzed extremely.
Finally because user possibly can not be handled program application scenarios immediately extremely immediately, in order to prevent some journey The abnormal influence that repeated to program application testing efficiency of sequence application scenarios, in this step, components testing probability amendment The program application scenarios abnormal information that module 65 can obtain according to abnormal information logging modle 63, the control to corresponding functionality controls Part test probability is reduced by preset rules, so as to avoid identical program application scenarios are abnormal from repeated.
There is present procedure application scenarios as tested program is applied expression to send control, word transmission control and picture Send control, the expression sends control, word send control and picture send control components testing probability be respectively 0.1, 0.2 and 0.3, when such as carrying out expression transmission atomic operation, there is exception in present procedure application scenarios, then components testing probability The components testing probability that correcting module 65 sends expression control is modified to 0.05, so carries out expression and sends atomic operation, text It is respectively 0.05/0.55,0.2/0.55 and 0.3/ that word, which sends atomic operation and the test probability of picture transmission atomic operation, 0.55。
Such as when present procedure application scenarios carry out expression transmission atomic operation again, present procedure application scenarios occur again Exception, then components testing probability correcting module 65 expression is sent to the components testing probability of control and is modified to 0.02, so enter Row expression sends atomic operation, word sends atomic operation and the test probability of picture transmission atomic operation is respectively 0.02/ 0.52nd, 0.2/0.52 and 0.3/0.52.
Caused by program application scenarios may not be by single atomic operation behavior extremely, therefore here as that will own The abnormal nearest atomic operation of initiator application scenarios is directly forbidden, and may result in the imperfect of test operation, therefore this In components testing probability correcting module 65 by gradually reducing the components testing probability of the functionality controls atomic operation of strong correlation, can On the basis of the integrity degree of test operation is ensured, the abnormal probability of happening of said procedure application scenarios is effectively reduced.Then Return to program application scenarios test module 62 and continue the test of other program application scenarios until being completed.
So complete the program application test process of the program application test device 60 of this preferred embodiment.
On the basis of first preferred embodiment, the program application test device of this preferred embodiment passes through functionality controls tree Setting, further increase functionality controls acquisition integrality;And the program application test device is according to program applied field Amendment of the scape abnormal information to components testing probability, the test for further increasing program application test are efficient.
Illustrate the program application testing method and program application test device of the present invention below by a specific embodiment The idiographic flow of each step.Fig. 9 is refer to, Fig. 9 is the program application testing method and program application test device of the present invention The test flow chart of specific embodiment.Program application test device in this specific embodiment is arranged on into line program application and tested Test electric terminal on, the test electric terminal can be mobile terminal or fixed desktop terminal.The specific program application is surveyed Examination flow includes:
Step S901, obtain all functionality controls of tested program application and corresponding components testing probability.
Step S902, initialization operation is carried out to tested program application, concretely initializes the first of tested program application Beginning program application scenarios;Initialize the test parameter (such as components testing probability) of tested program application;And initialization is by ranging The reporting file (historical record will be reported to empty) of sequence application.
Step S903, the functionality controls of present procedure application scenarios and corresponding components testing probability are read, and used Components testing probability, random test is carried out to the functionality controls of present procedure application scenarios.Such as jump to other program applied fields Scape, then continue to read corresponding functionality controls and corresponding components testing probability carries out random test until test terminates.
Step S904, generating program application scenarios exception is detected whether, such as non-generating program application scenarios are abnormal, then go to Step S903,;Such as generating program application scenarios exception, then step S905 is gone to.
Step S905, such as the test letter of generating program application scenarios exception, the then functionality controls of the nearest setting number of record Breath and corresponding program application scenarios abnormal information.The test information includes but is not limited to the functionality controls of setting number recently Numbering and testing sequence.
Step S906 is abnormal by the test information of the functionality controls of nearest setting number and corresponding program application scenarios Information carries out exception and reports operation.
Step S907, according to program application scenarios abnormal information, the components testing probability of corresponding functionality controls is pressed in advance If rule is reduced, so as to avoid identical program application scenarios are abnormal from repeated.It is and the components testing after reduction is general Rate is back to step S902 to carry out tested program application initialization.
So complete the program application testing method of this specific embodiment and the program of program application test device is answered Use test process.
Illustrate the program application testing method and program application test device of the present invention below by a specific embodiment Flow.Figure 10 uses schematic diagram for program application testing method and program application test device of the invention.
The wherein program using including functionality controls 1001 to functionality controls 1007,
The entitled groupbuddyname of control of functionality controls 1001;class:LabelUI;text:.* morning assembly group .*;With In the chat content for reading corresponding group;
The entitled send_rich_edit of control of functionality controls 1002;class:RichEditUI;For inputting in chat Hold;
The entitled send_message_button of control of functionality controls 1003;class:ButtonUI;Chatted for sending Content;
The entitled emotion_btn of control of functionality controls 1004;class:OptionUI;For inputting chatting facial expression;
The entitled capture_screen_btn of control of functionality controls 1005;class:OpentionUI;For being shielded Curtain screenshotss;
The entitled send_picture_btn of control of functionality controls 1006;class:ButtonUI;For sending picture;
The entitled send_file_btn of control of functionality controls 1007;class:ButtonUI;For sending file;
The components testing probability of above-mentioned each functionality controls can be set in user.
Initialization operation then is carried out to said procedure application.Then the functionality controls of present procedure application scenarios are carried out Random test, can such as carry out a testing process includes the content that click function control 1001 is checked in A discussion groups, passes through function control Chat content is inputted in part 1002, chatting facial expression is inputted by functionality controls 1004, by functionality controls 1003 by chat content And chatting facial expression is transmitted.
Such as occur program application scenarios exception when inputting chatting facial expression, can not such as select the journey of the chatting facial expression of setting Sequence application scenarios are abnormal, then the test information such as the execution sequence to the functionality controls of above-mentioned testing process and numbering is remembered Record, and said procedure application scenarios exception and test information are subjected to exception and report operation.
The program application testing method and program application test device of the present invention is active to the institute of tested program application in advance Energy control and components testing probability are configured, so as to improve the testing efficiency of program application test;Simultaneously to function control The test information of part and corresponding program application scenarios abnormal information are recorded simultaneously, are realized to program application anomalous field Effective playback of scape;Solve existing program application testing method and program application test device testing efficiency is relatively low and nothing Method applies the technical problem that abnormal scene is effectively played back to program.
" component ", " module ", " system ", " interface ", " process " etc. are usually intended to as used herein the term Refer to computer related entity:Hardware, the combination of hardware and software, software or executory software.For example, component can be but not It is limited to run process on a processor, processor, object, executable application, thread, program and/or the computer performed. By diagram, it can be component to run both application and controllers on the controller.One or more assemblies can have It is in process and/or the thread of execution, and component can be located on a computer and/or be distributed in two or more meters Between calculation machine.
Figure 11 and the discussion below provide to be set to the electronics where realizing program application test device of the present invention Brief, summary the description of standby working environment.Figure 11 working environment be only an example of appropriate working environment simultaneously And be not intended to suggestion on working environment purposes or function scope any restrictions.Example electronic equipment 1112 is included but not It is limited to wearable device, helmet, medical treatment & health platform, personal computer, server computer, hand-held or on knee sets Standby, mobile device (such as mobile phone, personal digital assistant (PDA), media player etc.), multicomputer system, consumption Type electronic equipment, minicom, mainframe computer including above-mentioned arbitrarily DCE of system or equipment, etc..
Although not requiring, in the common background that " computer-readable instruction " is performed by one or more electronic equipments Lower description embodiment.Computer-readable instruction can be distributed and (be discussed below) via computer-readable medium.It is computer-readable Instruction can be implemented as program module, for example performs particular task or realize the function of particular abstract data type, object, application DLL (API), data structure etc..Typically, the function of the computer-readable instruction can be in various environment arbitrarily Combination or distribution.
Figure 11 illustrates the electronic equipment of one or more of the program application test device including present invention embodiment 1112 example.In one configuration, electronic equipment 1112 includes at least one processing unit 1116 and memory 1118.According to The exact configuration and type of electronic equipment, memory 1118 can be volatibility (such as RAM), it is non-volatile (such as ROM, flash memory etc.) or certain combination of the two.The configuration is illustrated by dotted line 1114 in fig. 11.
In other embodiments, electronic equipment 1112 can include supplementary features and/or function.For example, equipment 1112 is also Additional storage device (such as removable and/or non-removable) can be included, it includes but is not limited to magnetic memory apparatus, light Storage device etc..This additional memory devices are illustrated by storage device 1120 in fig. 11.In one embodiment, for reality The computer-readable instruction of existing one or more embodiments provided in this article can be in storage device 1120.Storage device 1120 can also store other computer-readable instructions for realizing operating system, application program etc..Computer-readable instruction It can be loaded into memory 1118 and be performed by such as processing unit 1116.
Term as used herein " computer-readable medium " includes computer-readable storage medium.Computer-readable storage medium includes The volatibility realized for any method or technique of the information of storage such as computer-readable instruction or other data etc With non-volatile, removable and nonremovable medium.Memory 1118 and storage device 1120 are the realities of computer-readable storage medium Example.Computer-readable storage medium includes but is not limited to RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, numeral Universal disc (DVD) or other light storage devices, cassette tape, tape, disk storage device or other magnetic storage apparatus can be with For storing any other medium it is expected information and can accessed by electronic equipment 1112.Any such computer storage is situated between Matter can be a part for electronic equipment 1112.
Electronic equipment 1112 can also include the communication connection 1126 for allowing electronic equipment 1112 to be communicated with other equipment.It is logical Letter connection 1126 can include but is not limited to modem, NIC (NIC), integrated network interface, radiofrequency launcher/ Receiver, infrared port, USB connections or other interfaces for electronic equipment 1112 to be connected to other electronic equipments.Communication Connection 1126 can include wired connection or wireless connection.Communication connection 1126 can launch and/or receive communication medium.
Term " computer-readable medium " can include communication media.Communication media typically comprises computer-readable instruction Or other data in " the own modulated data signal " of such as carrier wave or other transmission mechanisms etc, and passed including any information Send medium.Term " own modulated data signal " can include such signal:One or more of the characteristics of signals is according to general Information is encoded to the mode in signal to be set or changed.
Electronic equipment 1112 can include input equipment 1124, for example, keyboard, mouse, pen, voice-input device, touch it is defeated Enter equipment, infrared camera, video input apparatus and/or any other input equipment.It can also be set in equipment 1112 including output Standby 1122, such as one or more displays, loudspeaker, printer and/or other any output equipments.The He of input equipment 1124 Output equipment 1122 can be connected to electronic equipment 1112 via wired connection, wireless connection or its any combination.In a reality Apply in example, input equipment or output equipment from another electronic equipment are used as the input equipment of electronic equipment 1112 1124 or output equipment 1122.
The component of electronic equipment 1112 can be connected by various interconnection (such as bus).Such interconnection can include outer Enclose component interconnection (PCI) (such as quick PCI), USB (USB), live wire (IEEE1394), optical bus structure etc. Deng.In another embodiment, the component of electronic equipment 1112 can pass through network interconnection.For example, memory 1118 can be by Multiple physical memory cells arcs composition in different physical locations, by network interconnection.
It would be recognized by those skilled in the art that can be across network point for the storage device for storing computer-readable instruction Cloth.For example, can via network 1128 access electronic equipment 1130 can store for realize one provided by the present invention or The computer-readable instruction of multiple embodiments.Electronic equipment 1112 can access electronic equipment 1130 and downloading computer is readable What is instructed is part or all of for execution.Alternately, electronic equipment 1112 can be downloaded a plurality of computer-readable on demand Instruction, or some instructions can be performed at electronic equipment 1112 and some instructions can be held at electronic equipment 1130 OK.
There is provided herein the various operations of embodiment.In one embodiment, described one or more operations can be with structure The computer-readable instruction stored on into one or more computer-readable mediums, it will make to succeed in one's scheme when being performed by electronic equipment Calculate equipment and perform the operation.Describing the orders of some or all of operations, to should not be construed as to imply that these operations necessarily suitable Sequence correlation.It will be appreciated by those skilled in the art that the alternative sequence of the benefit with this specification.Furthermore, it is to be understood that Not all operation must exist in each embodiment provided in this article.
Moreover, although having shown and described the disclosure relative to one or more implementations, but this area skill Art personnel are based on the reading to the specification and drawings and understand it will be appreciated that equivalent variations and modification.The disclosure include it is all this The modifications and variations of sample, and be limited only by the scope of the following claims.In particular, to by said modules (such as element, Resource etc.) various functions that perform, the term for describing such component is intended to correspond to the specified work(for performing the component The random component (unless otherwise instructed) of energy (such as it is functionally of equal value), it is illustrated herein with execution in structure The disclosure exemplary implementations in function open structure it is not equivalent.In addition, although the special characteristic of the disclosure Through being disclosed relative to the only one in some implementations, but this feature can with such as can be to given or application-specific For be it is expected and other one or more combinations of features of other favourable implementations.Moreover, with regard to term " comprising ", " tool Have ", " containing " or its deformation be used in embodiment or claim for, such term be intended to with term The similar mode of "comprising" includes.
Each functional unit in the embodiment of the present invention can be integrated in a processing module or unit list Solely be physically present, can also two or more units be integrated in a module.Above-mentioned integrated module can both use The form of hardware is realized, can also be realized in the form of software function module.If the integrated module is with software function The form of module is realized and is used as independent production marketing or is situated between in use, a computer-readable storage can also be stored in In matter.Storage medium mentioned above can be read-only storage, disk or CD etc..Above-mentioned each device or system, can be with Perform the method in correlation method embodiment.
In summary, although disclosed above with embodiment, the sequence number before embodiment of the invention, such as " first ", " second " Deng only using for convenience of description, the order of various embodiments of the present invention is not caused to limit.Also, above-described embodiment is simultaneously not used to Limitation the present invention, one of ordinary skill in the art, without departing from the spirit and scope of the present invention, can make it is various change with Retouching, therefore protection scope of the present invention is defined by the scope that claim defines.

Claims (12)

  1. A kind of 1. program application testing method, it is characterised in that including:
    A1, all functionality controls for obtaining tested program application and corresponding components testing probability;
    A2, all functionality controls applied according to the tested program and corresponding components testing probability, to described by ranging The test of line program application scenarios is entered in sequence application, to detect program application scenarios exception;
    A3, program application scenarios exception is such as detected, then the record test information of functionality controls of setting number and right recently The program application scenarios abnormal information answered;And
    A4, the functionality controls for setting number recently are tested to information and the progress of corresponding program application scenarios abnormal information Operation is reported, and return to step A2 is until test terminates.
  2. 2. program application testing method according to claim 1, it is characterised in that the institute for obtaining tested program application The step of functional control and corresponding components testing probability, includes:
    The functionality controls tree of the tested program application is obtained, and the tested program is applied according to the functionality controls tree All functionality controls are shown;And
    Receive test probability and instruction, and the control according to corresponding to the test probability sets instruction to set the functionality controls are set Test probability.
  3. 3. program application testing method according to claim 1, it is characterised in that the step A2 includes:
    A21, initialization operation is carried out to tested program application, to show initial program application scenarios;
    A22, all functionality controls for obtaining described program application scenarios;And
    A23, all functionality controls according to described program application scenarios and corresponding components testing probability, should to described program Tested with scene, step A22 is gone to if jumping to new program application scenarios until test terminates or detected program Application scenarios are abnormal.
  4. 4. program application testing method according to claim 1, it is characterised in that it is described report operation after, it is described to return Also include step before returning step A2 operation:
    According to described program application scenarios abnormal information, the components testing probability of corresponding functionality controls is carried out by preset rules Reduce.
  5. 5. program application testing method according to claim 1, it is characterised in that described program application scenarios include extremely But it is not limited to the collapse of program application scenarios, systematic function exception, program application scenarios response timeout and program application scenarios to ring Should be abnormal.
  6. 6. program application testing method according to claim 1, it is characterised in that described program application scenarios abnormal information Including but not limited to program application scenarios log information, program application scenarios sample intelligence, program application scenarios shot image information with And playback stack information.
  7. A kind of 7. program application test device, it is characterised in that including:
    Functionality controls acquisition module, all functionality controls and corresponding components testing for obtaining tested program application are general Rate;
    Program application scenarios test module, for all functionality controls applied according to the tested program and corresponding control Test probability, the test of line program application scenarios is entered to the tested program application, to detect program application scenarios exception;
    Abnormal information logging modle, for such as detecting program application scenarios exception, then record sets the function control of number recently The test information of part and corresponding program application scenarios abnormal information;And
    Information reporting module, for the functionality controls of the number of setting recently to be tested into information and corresponding program applied field Scape abnormal information carries out reporting operation.
  8. 8. program application test device according to claim 7, it is characterised in that the functionality controls acquisition module bag Include:
    Functionality controls tree obtains display unit, for obtaining the functionality controls tree of the tested program application, and according to the work( Energy control tree is shown to all functionality controls that the tested program is applied;And
    Components testing probability setting unit, instruction is set for receiving test probability, and is set and instructed according to the test probability Components testing probability corresponding to the functionality controls is set.
  9. 9. program application test device according to claim 7, it is characterised in that described program application scenarios test module Including:
    Initialization unit, for carrying out initialization operation to tested program application, to show initial program application scenarios;
    Scene control acquiring unit, for obtaining all functionality controls of described program application scenarios;And
    Test cell, it is right for all functionality controls according to described program application scenarios and corresponding components testing probability Described program application scenarios are tested.
  10. 10. program application test device according to claim 7, it is characterised in that described program application test device is also Including:
    Components testing probability correcting module, for according to described program application scenarios abnormal information, to corresponding functionality controls Components testing probability is reduced by preset rules.
  11. 11. program application test device according to claim 7, it is characterised in that described program application scenarios wrap extremely Include but be not limited to the collapse of program application scenarios, systematic function is abnormal, program application scenarios response timeout and program application scenarios Response abnormality.
  12. 12. program application test device according to claim 7, it is characterised in that described program application scenarios are believed extremely Breath includes but is not limited to program application scenarios log information, program application scenarios sample intelligence, program application scenarios shot image information And playback stack information.
CN201611202501.3A 2016-12-23 2016-12-23 Program application detection method and program application detection device Active CN107741902B (en)

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 true CN107741902A (en) 2018-02-27
CN107741902B 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)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920377A (en) * 2018-07-16 2018-11-30 杭州安恒信息技术股份有限公司 A kind of log playback test method, system, device and readable storage medium storing program for executing
CN109408361A (en) * 2018-08-15 2019-03-01 中国平安人寿保险股份有限公司 Monkey tests restored method, device, electronic equipment and computer readable storage medium
CN112306819A (en) * 2020-11-24 2021-02-02 微医云(杭州)控股有限公司 Abnormal event playback method and device, electronic equipment and storage medium
CN112363885A (en) * 2020-11-10 2021-02-12 北京字节跳动网络技术有限公司 Method and device for detecting application abnormity, electronic equipment and computer readable medium
CN113407406A (en) * 2021-05-26 2021-09-17 中国联合网络通信集团有限公司 Abnormity monitoring method and abnormity monitoring system
CN113835961A (en) * 2021-09-23 2021-12-24 中国联合网络通信集团有限公司 Alarm information monitoring method, device, server and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
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
US20160364318A1 (en) * 2015-06-10 2016-12-15 International Business Machines Corporation Enhanced bug resolution

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
US20160364318A1 (en) * 2015-06-10 2016-12-15 International Business Machines Corporation Enhanced bug resolution

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920377A (en) * 2018-07-16 2018-11-30 杭州安恒信息技术股份有限公司 A kind of log playback test method, system, device and readable storage medium storing program for executing
CN109408361A (en) * 2018-08-15 2019-03-01 中国平安人寿保险股份有限公司 Monkey tests restored method, device, electronic equipment and computer readable storage medium
CN112363885A (en) * 2020-11-10 2021-02-12 北京字节跳动网络技术有限公司 Method and device for detecting application abnormity, electronic equipment and computer readable medium
CN112363885B (en) * 2020-11-10 2023-09-22 抖音视界有限公司 Method, device, electronic equipment and computer readable medium for detecting application abnormality
CN112306819A (en) * 2020-11-24 2021-02-02 微医云(杭州)控股有限公司 Abnormal event playback method and device, electronic equipment and storage medium
CN112306819B (en) * 2020-11-24 2022-07-12 微医云(杭州)控股有限公司 Abnormal event playback method and device, electronic equipment and storage medium
CN113407406A (en) * 2021-05-26 2021-09-17 中国联合网络通信集团有限公司 Abnormity monitoring method and abnormity monitoring system
CN113407406B (en) * 2021-05-26 2023-06-23 中国联合网络通信集团有限公司 Abnormality monitoring method and abnormality monitoring system
CN113835961A (en) * 2021-09-23 2021-12-24 中国联合网络通信集团有限公司 Alarm information monitoring method, device, server and storage medium
CN113835961B (en) * 2021-09-23 2023-05-16 中国联合网络通信集团有限公司 Alarm information monitoring method, device, server and storage medium

Also Published As

Publication number Publication date
CN107741902B (en) 2020-07-07

Similar Documents

Publication Publication Date Title
CN107741902A (en) Program application detection method and program application detection means
US10554805B2 (en) Information processing method, terminal, and computer-readable storage medium
CN105556482B (en) Monitor mobile application performance
CN107133174A (en) Test case code automatically generating device and method
WO2014138097A1 (en) Mobile device monitoring and testing
CN105573733B (en) Method, web front-end and the system that browser is communicated with web front-end
CN106096034A (en) application log management method and device
CN104918119A (en) Video processing method based on iOS browser, and video processing apparatus based on iOS browser
US20130290934A1 (en) Monitoring applications executing on a computer device using programmatic triggers
CN107102950A (en) A kind of applied program testing method and device
JP6359738B2 (en) Comment method for interactive contents and comment scenario replay method
CN106844182A (en) Method, system and mobile terminal for recording user behavior
CN108073499A (en) The test method and device of application program
CN109408345A (en) Operate replay method, device, computer equipment and storage medium
CN109634838A (en) Position method, apparatus, storage medium and the electronic equipment of application failure
CN107766230A (en) A kind of method and apparatus tested based on configuration file
CN109324967A (en) The method, apparatus and terminal device of application program pop-up components testing
CN110020264B (en) Method and device for determining invalid hyperlinks
CN104536884A (en) Code testing method and device
CN106354419A (en) Screenshot control method and device
CN110377514A (en) Management method, device, electronic equipment and the storage medium of software component
WO2023273621A1 (en) Script generation method and apparatus, device and medium
CN107977418A (en) A kind of screenshot picture management method, screenshot picture managing device and mobile terminal
CN110262856B (en) Application program data acquisition method, device, terminal and storage medium
CN107770575A (en) The method and device of brush present is prevented in a kind of live platform

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