CN109783379A - Script execution method of specifying error and device - Google Patents

Script execution method of specifying error and device Download PDF

Info

Publication number
CN109783379A
CN109783379A CN201910003840.6A CN201910003840A CN109783379A CN 109783379 A CN109783379 A CN 109783379A CN 201910003840 A CN201910003840 A CN 201910003840A CN 109783379 A CN109783379 A CN 109783379A
Authority
CN
China
Prior art keywords
script
interface screenshot
execution
recording
screenshot
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
CN201910003840.6A
Other languages
Chinese (zh)
Other versions
CN109783379B (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.)
Beijing Testin Information Technology Co Ltd
Original Assignee
Guangzhou Cloud Information Technology 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 Guangzhou Cloud Information Technology Co Ltd filed Critical Guangzhou Cloud Information Technology Co Ltd
Priority to CN201910003840.6A priority Critical patent/CN109783379B/en
Publication of CN109783379A publication Critical patent/CN109783379A/en
Application granted granted Critical
Publication of CN109783379B publication Critical patent/CN109783379B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of script execution method of specifying error, method includes: the first execution interface screenshot and the first recording interface screenshot obtained when determining target widget corresponding to the first script step in test script, and second when determining target widget corresponding to the second script step in the test script executes the matching result of interface screenshot and the second recording interface screenshot, the second script step includes the preset quantity script step executed in the test script, before the first script step;Determine the upper script step executed before the implementing result of third scenario step in the test script, the third scenario step are the first script step;Interface screenshot, the first recording interface screenshot, the matching result and the implementing result are executed according to described first, determines whether the execution of the test script is abnormal.Using the embodiment of the present invention, can the execution to the test script whether be determined extremely.

Description

Script execution method of specifying error and device
Technical field
The present invention relates to field of terminal more particularly to a kind of script execution method of specifying error and device.
Background technique
A application program (Application, APP) needs to survey the function and performance of APP before publication Examination needs to test the operating condition of APP in more terminals, checks whether the function of APP meets expection, and in different terminals On compatibility.
Script refers to the series of instructions of a fc-specific test FC, the control as corresponding to script step, it is understood that there may be Control property information is imperfect, or phenomena such as control identical there are multiple attributes, therefore, in the process of automatic test In, it is easy to find the control of mistake when searching control, executes exception so as to cause corresponding script step, further result in Entire script execution is abnormal.
Therefore, it is necessary to a kind of script execution method of specifying error be proposed, to determine whether script executes exception.
Summary of the invention
The embodiment of the present invention provides a kind of script execution method of specifying error.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, a kind of script execution method of specifying error is provided, this method comprises:
Obtain first when determining target widget corresponding to the first script step in test script execute interface screenshot and First recording interface screenshot, and determine second holding when target widget corresponding to the second script step in the test script The matching result of row interface screenshot and the second recording interface screenshot, the first script step are any foot in the test script This step, the second script step include the present count executed in the test script, before the first script step Measure a script step;
Determine that the implementing result of third scenario step in the test script, the third scenario step are first foot The upper script step executed before this step;
Interface screenshot, the first recording interface screenshot, the matching result and the execution are executed according to described first As a result, determining whether the execution of the test script is abnormal.
Second aspect provides a kind of script execution method of specifying error, this method comprises:
It obtains first when determining target widget corresponding to the first script step in test script and executes parameter and first Second when recording parameter, and determining target widget corresponding to the second script step in the test script execute parameter and Second record parameter matching result, the first script step be the test script in any script step, described second Script step includes the preset quantity script step executed in the test script, before the first script step;
Determine that the implementing result of third scenario step in the test script, the third scenario step are first foot The upper script step executed before this step;
Parameter, the first recording parameter, the matching result and the implementing result are executed according to described first, is determined Whether the execution of the test script is abnormal.
The third aspect provides a kind of script step implementing result and determines method, this method comprises:
It obtains first when determining target widget corresponding to the first script step and executes interface screenshot and the first recording circle Face screenshot;
It obtains second when determining target widget corresponding to the second script step and executes interface screenshot and the second recording circle Face screenshot, the upper script step that the second script step executes before being the first script step;
According to it is described first execute interface screenshot, the first recording interface screenshot, it is described second execute interface screenshot and The second recording interface screenshot determines the implementing result of the second script step.
Fourth aspect, provides a kind of script execution exception determining device, which includes:
First matching result obtains module, determines mesh corresponding to the first script step in the test script for obtaining First when marking control executes interface screenshot and the first recording interface screenshot, and determines the second script in the test script The matching result of the second execution interface screenshot and the second recording interface screenshot corresponding to step when target widget, first foot This step is any script step in the test script, and the second script step includes in the test script, described The preset quantity script step executed before first script step;
First implementing result determining module, for determining the implementing result of third scenario step in the test script, institute State the upper script step executed before third scenario step is the first script step;
First script execution exception determining module, for executing interface screenshot, first recording circle according to described first Face screenshot, the matching result and the implementing result determine whether the execution of the test script is abnormal.
5th aspect, provides a kind of script execution exception determining device, which includes:
Second matching result obtains module, determines mesh corresponding to the first script step in the test script for obtaining First when marking control, which executes parameter and first, records parameter, and determines that the second script step institute is right in the test script It answers second when target widget to execute parameter and second and records the matching result of parameter, the first script step is the test Any script step in script, the second script step include in the test script, before the first script step The preset quantity script step of execution;
Second implementing result determining module, for determining the implementing result of third scenario step in the test script, institute State the upper script step executed before third scenario step is the first script step;
Second script execution exception determining module, for executing parameter, the first recording parameter, institute according to described first Matching result and the implementing result are stated, determines whether the execution of the test script is abnormal.
6th aspect, provides a kind of script step implementing result determining device, which includes:
First, which executes interface screenshot, obtains module, when determining target widget corresponding to the first script step for obtaining First executes interface screenshot and the first recording interface screenshot;
Second, which executes interface screenshot, obtains module, when determining target widget corresponding to the second script step for obtaining Second executes interface screenshot and the second recording interface screenshot, and the second script step executes before being the first script step A upper script step;
Second script step implementing result determining module, for executing interface screenshot, first record according to described first Interface screenshot, the second execution interface screenshot and the second recording interface screenshot processed, determine the second script step Implementing result.
7th aspect, a kind of terminal device characterized by comprising memory, processor and be stored in the memory Computer program that is upper and can running on the processor, realization such as the when the computer program is executed by the processor The step of method described in one side.
Eighth aspect, a kind of terminal device characterized by comprising memory, processor and be stored in the memory Computer program that is upper and can running on the processor, realization such as the when the computer program is executed by the processor The step of method described in two aspects.
9th aspect, a kind of terminal device characterized by comprising memory, processor and be stored in the memory Computer program that is upper and can running on the processor, realization such as the when the computer program is executed by the processor The step of method described in three aspects.
Tenth aspect, provides a kind of computer readable storage medium, which is characterized in that the computer-readable storage medium Computer program is stored in matter, and the step of method as described in relation to the first aspect is realized when the computer program is executed by processor Suddenly.
On the one hand tenth, provides a kind of computer readable storage medium, which is characterized in that the computer-readable storage Computer program is stored on medium, and the step of the method as described in second aspect is realized when the computer program is executed by processor Suddenly.
12nd aspect, provides a kind of computer readable storage medium, which is characterized in that the computer-readable storage Computer program is stored on medium, and the step of the method as described in the third aspect is realized when the computer program is executed by processor Suddenly.
In embodiments of the present invention, when determining target widget corresponding to the first script step in test script by obtaining First execute interface screenshot and the first recording interface screenshot, and determine that the second script step institute is right in the test script Answer the when target widget second matching result for executing interface screenshot and the second recording interface screenshot;It determines in the test script The implementing result of third scenario step;Interface screenshot, the first recording interface screenshot, the matching are executed according to described first As a result with the implementing result, determine whether the execution of the test script is abnormal.Whether the execution that can be realized to script is different Often it is determined.
In embodiments of the present invention, when determining target widget corresponding to the first script step in test script by obtaining First execute parameter and first and record parameter, and determine target control corresponding to the second script step in the test script Second when part, which executes parameter and second, records the matching result of parameter;Determine holding for third scenario step in the test script Row result;Parameter, the first recording parameter, the matching result and the implementing result are executed according to described first, is determined Whether the execution of the test script is abnormal.It can be realized whether the execution to script is determined extremely.
In embodiments of the present invention, determine that first when target widget corresponding to the first script step executes by obtaining Interface screenshot and the first recording interface screenshot;It obtains second when determining target widget corresponding to the second script step and executes boundary Face screenshot and the second recording interface screenshot;Interface screenshot, the first recording interface screenshot, described the are executed according to described first Two execute interface screenshot and the second recording interface screenshot, determine the implementing result of the second script step.It can be realized Whether the execution of script step is determined extremely.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes a part of the invention, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow diagram for script execution method of specifying error that one embodiment of the present of invention provides;
Fig. 2 be another embodiment of the present invention provides a kind of script execution method of specifying error flow diagram;
Fig. 3 is a kind of flow diagram for script execution method of specifying error that another embodiment of the invention provides;
Fig. 4 is a kind of flow diagram for script execution method of specifying error that another embodiment of the invention provides;
Fig. 5 is the process signal that a kind of script step implementing result that one embodiment of the present of invention provides determines method Figure;
Fig. 6 is a kind of structural schematic diagram for script execution exception determining device that one embodiment of the present of invention provides;
Fig. 7 be another embodiment of the present invention provides a kind of script execution exception determining device structural schematic diagram;
Fig. 8 is a kind of structural representation for script step implementing result determining device that one embodiment of the present of invention provides Figure;
Fig. 9 is a kind of structural schematic diagram for terminal device that one embodiment of the present of invention provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
One embodiment of the present of invention provides a kind of script execution method of specifying error, shown in Figure 1, comprising:
Step 102, acquisition determine that first when target widget corresponding to the first script step in test script executes boundary Face screenshot and the first recording interface screenshot, and when determining target widget corresponding to the second script step in the test script Second execute interface screenshot and the second recording interface screenshot matching result, the first script step be the test script In any script step, the second script step includes executing in the test script, before the first script step Preset quantity script step.
Wherein, test script is divided into recording and executes two states, includes multiple script steps in test script, with default Quantity is 3, and the first script step is illustrates for step 6, then before the second script step is step 6, closest to step 6 3 steps, i.e. step 3, step 4 and step 5;First execution interface screenshot is test script in the state of execution, determines step 6 institute Terminal interface screenshot when corresponding target widget;First recording interface screenshot is test script in recording state, determines the 6th Walk terminal interface screenshot when corresponding target widget;Similar, the second execution interface screenshot is test script in the state of execution When, determine the 3rd, 4, target widget corresponding to 5 steps when terminal interface screenshot;Second recording interface screenshot is that test script exists When recording state, determine the 3rd, 4, target widget corresponding to 5 steps when terminal interface screenshot;The concrete operations of script step can To be that corresponding control is clicked or asserted, control corresponding with script step is target widget;Matching result packet It includes and matches and do not match that.
It should be noted that using any of described preset quantity script step as the 4th script step, step 102 A kind of implementation can be with are as follows:
Step S1, obtain the when determining target widget corresponding to the 4th script step the 4th execute interface screenshot and The matching result of 4th recording interface screenshot;
Step S2, based on when determining target widget corresponding to each script step in the preset quantity script step The matching result of interface screenshot and recording interface screenshot is executed, target widget corresponding to the second script step is determined in acquisition When second execute interface screenshot and the second recording interface screenshot matching result.
This implementation specifically can be exemplified are as follows:
Assuming that the second script step is the 3rd, 4,5 steps, then the 4th script step be the 3rd, 4, any one step in 5 steps Suddenly;Thus can by determining the 3rd, 4, the matching results of 5 steps respectively, come determine the 3rd, 4,5 steps as a whole second The matching result of script step;When determining the matching result for executing interface screenshot and recording interface screenshot, can preset First matching threshold, the matching degree for executing interface screenshot and recording section screenshot then think phase not less than the first matching threshold Match, matching degree then thinks not matching that lower than the first matching threshold.
Based on this, execution interface when by target widget corresponding to each script step in preset quantity script step is cut The matching result of figure and recording interface screenshot obtains the second matching result for executing interface screenshot and the second recording interface screenshot, When can be by target widget corresponding to each script step in the preset quantity script step executed before the first script step The matching result for executing interface screenshot and recording interface screenshot is analyzed as a whole, enables to the execution to script Extremely the accuracy being determined is higher.
Further, a kind of implementation of step S2 can be with are as follows:
Execution interface screenshot in the preset quantity script step when target widget corresponding to each script step and The matching result of recording interface screenshot is to determine target control corresponding to the second script step in the case where not matching that The matching result of execution interface screenshot and recording interface screenshot when part is not match that.
Specifically, the matching result of each script step of only the second script step of composition is not match that, just determine The matching result of second script step is not match that.
Based on this, can the target widget according to corresponding to script step each in preset quantity script step when execution circle The matching result of face screenshot and recording interface screenshot, execution interface screenshot when to target widget corresponding to the second script step and The matching result of recording interface screenshot is determined, so that determining the second execution interface screenshot and the second recording interface screenshot Matching result is more accurate.
Step 104: determining that the implementing result of third scenario step in the test script, the third scenario step are institute State the upper script step executed before the first script step.
Wherein, the first script step can be step 3, then the second script step is the previous step of step 3, i.e. step 2.
A kind of implementation of step 104 can be with are as follows:
Step S1, obtain third when determining target widget corresponding to the third scenario step execute interface screenshot and Third recording interface screenshot;
Step S2, interface screenshot, the first recording interface screenshot, the third are executed according to described first and executes interface Screenshot and the third recording interface screenshot, determine the implementing result of the third scenario step.
Based on this, the execution interface screenshot of the upper script step executed by a certain script step and before it and record Section screenshot processed determines the implementing result of the upper script step executed before it, so that the execution knot of upper script step The determination of fruit is easier.
Further, a kind of implementation of step S2 can be with are as follows:
Match in the first recording interface screenshot and the third recording interface screenshot, and described first executes boundary In the case that face screenshot and third execution interface screenshot match, the implementing result of the third scenario step is determined to execute just Often;
It is not matched that in the first recording interface screenshot and the third recording interface screenshot, and described first executes In the case that interface screenshot and third execution interface screenshot do not match that, determine that the implementing result of the third scenario step is to hold Row is normal.
This implementation specifically can be exemplified are as follows:
Whether match in the recording interface screenshot for determining two neighboring script step, and determines two neighboring script step When whether rapid execution interface screenshot matches, the second matching threshold, the recording of two neighboring script step can be preset The matching degree of the execution interface screenshot of the matching degree of interface screenshot or two neighboring script step is not less than the second matching threshold Value, then it is assumed that match, matching degree is lower than the second matching threshold, then it is assumed that does not match that.
Match in recording interface screenshot, when execution interface screenshot matches, the implementing result of script step is to execute just Often;
It is not matched that in recording interface screenshot, when execution interface screenshot does not match that, the implementing result of script step is to hold Row is normal.
Based on this, specifically, can according to the recording interface screenshot of a certain script step and upper script step whether phase Whether the execution interface screenshot of matching and this script step and upper script step matches, and determines upper script step Implementing result, so that the determination of the implementing result of upper script step is more accurate and easy.
Step 106: according to it is described first execute interface screenshot, the first recording interface screenshot, the matching result and The implementing result determines whether the execution of the test script is abnormal.
Based on this, whether matched by the first execution interface screenshot and the first recording interface screenshot, second executes interface The implementing result of the matching result and third scenario step of screenshot and the second recording interface screenshot, can be to test script Execute whether abnormal be determined.
A kind of implementation of step 106 can be with are as follows:
S1, the first execution interface screenshot and first recording interface section normal to execute in the implementing result Figure does not match that, and the matching result of the second execution interface screenshot and the second recording interface screenshot is not match that In the case where, determine the test script holds abnormal behavior.
This implementation specifically can be exemplified are as follows:
When whether determine script execution is abnormal, if test script has executed step 5, and have confirmed Target widget corresponding to step 6, preset quantity 3, then step 5 implementing result be execute it is normal, step 6 determine pair The first execution interface screenshot and the first recording interface screenshot when the target widget answered do not match that, and the 3rd, 4, the execution of 5 steps The matching result of interface screenshot and recording interface screenshot is when not matching that, then test script holds abnormal behavior.
It is to execute normally in implementing result, first executes interface screenshot and the first recording interface screenshot not phase based on this Match, and matching result is when not matching that, determine test script holds abnormal behavior, can be determined and be surveyed according to multiple script steps Training sheet holds abnormal behavior, so that the determination of script execution exception is relatively reliable.
Another embodiment of the present invention provides a kind of script execution method of specifying error, it is shown in Figure 2, comprising:
Step 202, acquisition determine that first when target widget corresponding to the first script step in the test script holds Row interface screenshot and the first recording interface screenshot, and determine target control corresponding to the second script step in the test script Second when part executes the matching result of interface screenshot and the second recording interface screenshot, and the first script step is the test Any script step in script, the second script step include in the test script, before the first script step The preset quantity script step of execution.
Step 204, acquisition determine that third when target widget corresponding to the third scenario step executes interface screenshot The upper script step executed before being the first script step with third recording interface screenshot, the third scenario step Suddenly.
Step 206 matches in the first recording interface screenshot and the third recording interface screenshot, and described In the case that one execution interface screenshot and third execution interface screenshot match, the implementing result of the third scenario step is determined It is normal to execute;
It is not matched that in the first recording interface screenshot and the third recording interface screenshot, and described first executes In the case that interface screenshot and third execution interface screenshot do not match that, determine that the implementing result of the third scenario step is to hold Row is normal.
Step 208, the first execution interface screenshot and first recording circle normal to execute in the implementing result Face screenshot does not match that, and described second executes the matching result of interface screenshot and the second recording interface screenshot as not phase In matched situation, determine the test script holds abnormal behavior.
Based on this, pass through the matching result and the first execution of the first recording interface screenshot and third recording interface screenshot The matching result that interface screenshot and third execute interface screenshot determines the implementing result of third scenario step, holds further according to described Row as a result, and first execution interface screenshot and the first recording interface screenshot whether match, second execute interface screenshot and second The matching result of recording interface screenshot can more accurately determine whether the execution of script is abnormal.
Another embodiment of the present invention provides a kind of script execution method of specifying error, it is shown in Figure 3, comprising:
Step 302, acquisition determine that first when target widget corresponding to the first script step in the test script holds Row parameter and first records parameter, and the when determining target widget corresponding to the second script step in the test script Two execute the matching result of parameter and the second recording parameter, and the first script step is any script step in the test script Suddenly, the second script step includes the preset quantity executed in the test script, before the first script step Script step;
Step 304, the implementing result for determining third scenario step in the test script, the third scenario step are institute State the upper script step executed before the first script step;
Step 306 executes parameter, the first recording parameter, the matching result and the execution according to described first As a result, determining whether the execution of the test script is abnormal.
Wherein, executing parameter or recording parameter can be WINDOWINFO, for saving window information, be The output parameter of GetWindowInfo API (retrieving the information in relation to specified window), when execution parameter is that test script executes WINDOWINFO, record parameter be test script record when WINDOWINFO.It is determined using executing parameter and recording parameter When whether script execution abnormal, with using execute interface screenshot and recording interface screenshot determine script execution whether Yi Chang method Similar, details are not described herein.
Whether embodiment corresponding for Fig. 3 is matched by the first execution parameter and the first recording parameter, and second executes Parameter and second records the matching result of parameter and the implementing result of third scenario step, can be to the execution of test script Whether exception is determined.
A kind of implementation of step 306 can be with are as follows:
It S1, in the implementing result is to execute normal, described first executes parameter and the first recording parameter not phase Match, and the matching result of the second execution parameter and the second recording parameter is in the case where not matching that, to determine institute That states test script holds abnormal behavior.
This implementation specifically can be exemplified are as follows:
When whether determine script execution is abnormal, if test script has executed step 5, and have confirmed Target widget corresponding to step 6, preset quantity 3, then step 5 implementing result be execute it is normal, step 6 determine pair When the target widget answered first execution parameter and first recording parameter do not match that, and the 3rd, 4,5 steps second execute parameter Matching result with the second recording parameter is when not matching that, then test script holds abnormal behavior.
It can be to execute normally in implementing result based on this, the first execution parameter and the first recording parameter do not match that, and Matching result is when not matching that, determine test script holds abnormal behavior, so that the determination of the execution exception of test script is more It is accurate and easy to add.
Another embodiment of the present invention provides a kind of script execution method of specifying error, it is shown in Figure 4, comprising:
Step 402, first when determining target widget corresponding to the first script step in the test script execute boundary Whether face screenshot and the first recording interface screenshot match;
If so, 412 are thened follow the steps, if it is not, thening follow the steps 404;
It is step 404, whether available when determining target widget corresponding to the first script step in the test script First execute parameter and first record parameter;
If so, 406 are thened follow the steps, if it is not, thening follow the steps 408;
Whether step 406, the first execution parameter and the first recording parameter match;
If so, 412 are thened follow the steps, if it is not, thening follow the steps 410;
Step 408, second when determining target widget corresponding to the second script step in the test script execute boundary Whether face screenshot and the second recording interface screenshot do not match that;
If so, 410 are thened follow the steps, if it is not, thening follow the steps 412;
Step 410, determine the test script hold abnormal behavior;
Step 412, the execution for determining the test script are normal.
Based on this, when whether the execution for determining test script is abnormal, both interface screenshot and the can be executed according to first One recording interface screenshot and the second execution interface screenshot and the second recording interface screenshot can also execute interface first and cut Figure and the first recording interface screenshot do not match that, and available first when executing parameter, executes parameter and the according to first One, which records parameter and the second execution parameter and second, records parameter, and combines the implementing result of third scenario step, to test Whether the execution of script is determined extremely, so that the determination of script execution exception is more accurate and diversified.
One embodiment of the present of invention provides a kind of script step implementing result and determines method, shown in Figure 5, comprising:
First when target widget corresponding to the first script step is determined in step 502, acquisition executes interface screenshot and the One recording interface screenshot;
Second when target widget corresponding to the second script step is determined in step 504, acquisition executes interface screenshot and the Two recording interface screenshots, the upper script step that the second script step executes before being the first script step;
Step 506 executes interface screenshot, the first recording interface screenshot, second execution circle according to described first Face screenshot and the second recording interface screenshot, determine the implementing result of the second script step.
Specifically, the second script step is a upper script step for the first script step.
Embodiment corresponding for Fig. 5 executes interface screenshot, the first recording interface screenshot, the second execution circle by first Face screenshot and the second recording interface screenshot can be determined the implementing result of the second script step.
A kind of implementation of step 506 can be with are as follows:
Step S1, match in the first recording interface screenshot and the second recording interface screenshot, and described In the case that one execution interface screenshot and the second execution interface screenshot do not match that, the execution knot of the second script step is determined Fruit is to execute exception;
Step S2, it is not matched that in the first recording interface screenshot and the second recording interface screenshot, and described In the case that first execution interface screenshot and the second execution interface screenshot match, the execution knot of the second script step is determined Fruit is to execute exception.
Step S3, match in the first recording interface screenshot and the second recording interface screenshot, and described In the case that one execution interface screenshot and the second execution interface screenshot match, the implementing result of the second script step is determined It is normal to execute;
Step S4, it is not matched that in the first recording interface screenshot and the second recording interface screenshot, and described In the case that first execution interface screenshot and the second execution interface screenshot do not match that, the execution of the second script step is determined As a result normal to execute.
This implementation specifically can be exemplified are as follows:
Determining whether the recording interface screenshot of two neighboring script step matches or two neighboring script step When whether execution interface screenshot matches, third matching threshold, the recording interface of two neighboring script step can be preset The matching degree of screenshot is not less than third matching threshold, then it is assumed that and the recording interface screenshot of two neighboring script step matches, It is lower than third matching threshold with degree, then it is assumed that do not match that;The matching degree of the execution interface screenshot of two neighboring script step is not Lower than third matching threshold, then it is assumed that the execution interface screenshot of two neighboring script step matches, and matching degree is lower than third With threshold value, then it is assumed that do not match that.
Match in recording interface screenshot, when execution interface screenshot matches, the implementing result of script step is to execute just Often;
It is not matched that in recording interface screenshot, when execution interface screenshot does not match that, the implementing result of script step is to hold Row is normal.
Match in recording interface screenshot, when execution interface screenshot does not match that, the implementing result of script step is to execute It is abnormal, the abnormal click mistake that can be target widget of execution in the case of this;
It is not matched that in recording interface screenshot, when execution interface screenshot matches, the implementing result of script step is to execute Abnormal, the execution in the case of this can be target widget click extremely and not react.
Based on this, specifically, can according to the recording interface screenshot of a certain script step and upper script step whether phase Whether the execution interface screenshot of matching and this script step and upper script step matches, can be more accurate and easy Ground determines the implementing result of upper script step.
In addition, for simple description, therefore, it is stated as a series of action groups for above method embodiment It closes, but those skilled in the art should understand that, embodiment of the present invention is not limited by the described action sequence, because Embodiment according to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art It should be aware of, embodiment described in this description belongs to preferred embodiment, and related movement is not necessarily originally Necessary to invention embodiment.
Fig. 6 is a kind of structural schematic diagram for script execution exception determining device that one embodiment of the present of invention provides, ginseng See Fig. 6, which can specifically include: the first matching result obtains module 602, the first implementing result determining module 604 and the One script execution exception determining module 606, in which:
First matching result obtains module 602, determines mesh corresponding to the first script step in test script for obtaining First when marking control executes interface screenshot and the first recording interface screenshot, and determines the second script in the test script The matching result of the second execution interface screenshot and the second recording interface screenshot corresponding to step when target widget, first foot This step is any script step in the test script, and the second script step includes in the test script, described The preset quantity script step executed before first script step;
First implementing result determining module 604, for determining the implementing result of third scenario step in the test script, The upper script step that the third scenario step executes before being the first script step;
First script execution exception determining module 606, for executing interface screenshot, first recording according to described first Interface screenshot, the matching result and the implementing result determine whether the execution of the test script is abnormal.
Whether embodiment corresponding for Fig. 6 is matched by the first execution interface screenshot and the first recording interface screenshot, Second executes the implementing result of the matching result of interface screenshot and the second recording interface screenshot and third scenario step, can Whether the execution of test script is determined extremely.
Optionally, the first matching result acquisition module includes:
First matching result acquiring unit, is used for:
Using any of described preset quantity script step as the 4th script step,
It obtains the when determining target widget corresponding to the 4th script step the 4th and executes interface screenshot and the 4th record The matching result of interface screenshot processed;
Based on execution circle when determining target widget corresponding to each script step in the preset quantity script step The matching result of face screenshot and recording interface screenshot obtains the when determining target widget corresponding to the second script step Two execute the matching result of interface screenshot and the second recording interface screenshot.
Optionally, the first matching result acquiring unit includes:
First matching result obtains subelement, is used for:
Execution interface screenshot in the preset quantity script step when target widget corresponding to each script step and The matching result of recording interface screenshot is to determine target control corresponding to the second script step in the case where not matching that The matching result of execution interface screenshot and recording interface screenshot when part is not match that.
Optionally, the first implementing result determining module includes:
First implementing result determination unit, is used for:
It obtains third when determining target widget corresponding to the third scenario step and executes interface screenshot and third record Interface screenshot processed;
According to it is described first execute interface screenshot, the first recording interface screenshot, the third execute interface screenshot and The third recording interface screenshot determines the implementing result of the third scenario step.
Optionally, the first implementing result determination unit includes:
First implementing result determines subelement, is used for:
Match in the first recording interface screenshot and the third recording interface screenshot, and described first executes boundary In the case that face screenshot and third execution interface screenshot match, the implementing result of the third scenario step is determined to execute just Often;
It is not matched that in the first recording interface screenshot and the third recording interface screenshot, and described first executes In the case that interface screenshot and third execution interface screenshot do not match that, determine that the implementing result of the third scenario step is to hold Row is normal.
Optionally, the first script execution exception determining module includes:
First script execution exception determination unit, is used for:
It is to execute normally in the implementing result, described first executes interface screenshot and the first recording interface screenshot not Match, and the matching result of the second execution interface screenshot and the second recording interface screenshot is the feelings not matched that Under condition, determine the test script holds abnormal behavior.
Fig. 7 be another embodiment of the present invention provides a kind of script execution exception determining device structural schematic diagram, Referring to Fig. 7, which be can specifically include: the second matching result obtains module 702, the second implementing result obtains 704 and of module Second script execution exception determining module 706, in which:
Second matching result obtains module 702, determines mesh corresponding to the first script step in test script for obtaining First when marking control, which executes parameter and first, records parameter, and determines that the second script step institute is right in the test script It answers second when target widget to execute parameter and second and records the matching result of parameter, the first script step is the test Any script step in script, the second script step include in the test script, before the first script step The preset quantity script step of execution;
Second implementing result determining module 704, for determining the implementing result of third scenario step in the test script, The upper script step that the third scenario step executes before being the first script step;
Second script execution exception determining module 706, for executing parameter according to described first, first recording is joined Several, the described matching result and the implementing result determine whether the execution of the test script is abnormal.
Whether embodiment corresponding for Fig. 7 is matched by the first execution parameter and the first recording parameter, and second executes Parameter and second records the matching result of parameter and the implementing result of third scenario step, can be to the execution of test script Whether exception is determined.
Optionally, the second script execution exception determining module includes:
Second script execution exception determination unit, is used for:
It is to execute normally in the implementing result, the first execution parameter is not matched that with the first recording parameter, And the matching result of the second execution parameter and the second recording parameter is in the case where not matching that, to determine the survey Training sheet holds abnormal behavior.
Fig. 8 be another embodiment of the present invention provides a kind of script step implementing result determining device structural representation Figure, referring to Fig. 8, which be can specifically include: the first execution interface screenshot obtains the execution interface screenshot of module 802, second and obtains Modulus block 804 and the second script step implementing result determining module 806.
First, which executes interface screenshot, obtains module 802, determines target widget corresponding to the first script step for obtaining When first execute interface screenshot and the first recording interface screenshot;
Second, which executes interface screenshot, obtains module 804, determines target widget corresponding to the second script step for obtaining When second execute interface screenshot and the second recording interface screenshot, before the second script step is the first script step The upper script step executed;
Second script step implementing result determining module 806, for executing interface screenshot, described first according to described first Recording interface screenshot, described second execute interface screenshot and the second recording interface screenshot, determine the second script step Implementing result.
Embodiment corresponding for Fig. 8 executes interface screenshot, the first recording interface screenshot, the second execution circle by first Face screenshot and the second recording interface screenshot can be determined the implementing result of the second script step.
Optionally, the second script step implementing result determining module includes:
Second script step implementing result determination unit, is used for:
Match in the first recording interface screenshot and the second recording interface screenshot, and described first executes boundary In the case that face screenshot and the second execution interface screenshot do not match that, the implementing result of the second script step is determined to execute It is abnormal;
It is not matched that in the first recording interface screenshot and the second recording interface screenshot, and described first executes In the case that interface screenshot and the second execution interface screenshot match, the implementing result of the second script step is determined to execute It is abnormal.
Match in the first recording interface screenshot and the second recording interface screenshot, and described first executes boundary In the case that face screenshot and the second execution interface screenshot match, the implementing result of the second script step is determined to execute just Often;
It is not matched that in the first recording interface screenshot and the second recording interface screenshot, and described first executes In the case that interface screenshot and the second execution interface screenshot do not match that, determine that the implementing result of the second script step is to hold Row is normal.
Device provided in an embodiment of the present invention can be realized each mistake that device is realized in the embodiment of the method for Fig. 1 to Fig. 5 Journey, to avoid repeating, which is not described herein again.Moreover, it should be noted that in all parts of the device of the invention, according to Its function to be realized and logical partitioning has been carried out to component therein, still, the present invention is not only restricted to this, can according to need All parts are repartitioned or are combined.
A kind of hardware structural diagram of Fig. 9 terminal device of each embodiment to realize the present invention,
The terminal device 900 includes but is not limited to: radio frequency unit 901, network module 902, audio output unit 903, defeated Enter unit 904, sensor 905, display unit 906, user input unit 907, interface unit 908, memory 909, processor The components such as 910 and power supply 911.It will be understood by those skilled in the art that terminal device structure shown in Fig. 9 is not constituted Restriction to terminal device, terminal device may include than illustrating more or fewer components, perhaps combine certain components or Different component layouts.In embodiments of the present invention, terminal device include but is not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, radio frequency unit 901, when determining target widget corresponding to the first script step in test script for obtaining First execute interface screenshot and the first recording interface screenshot, and determine that the second script step institute is right in the test script Answer the when target widget second matching result for executing interface screenshot and the second recording interface screenshot;
Processor 910, for determining the implementing result of third scenario step in the test script, the third scenario step Suddenly the upper script step to be executed before the first script step;
Interface screenshot, the first recording interface screenshot, the matching result and the execution are executed according to described first As a result, determining whether the execution of the test script is abnormal.
Whether matched by the first execution interface screenshot and the first recording interface screenshot, second executes interface screenshot and the The matching result of two recording interface screenshots and the implementing result of third scenario step, can execution to test script whether Exception is determined.
It should be understood that the embodiment of the present invention in, radio frequency unit 901 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 910 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 901 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 901 can also by wireless communication system and network and other set Standby communication.
Terminal device provides wireless broadband internet by network module 902 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 903 can be received by radio frequency unit 901 or network module 902 or in memory 909 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 903 can also provide and end The relevant audio output of specific function that end equipment 900 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 903 includes loudspeaker, buzzer and receiver etc..
Input unit 904 is for receiving audio or video signal.Input unit 904 may include graphics processor (Graphics Processing Unit, GPU) 9041 and microphone 9042, graphics processor 9041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 906.Through graphics processor 9041, treated that picture frame can be deposited Storage is sent in memory 909 (or other storage mediums) or via radio frequency unit 901 or network module 902.Mike Wind 9042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 901 is converted in the case where telephone calling model.
Terminal device 900 further includes at least one sensor 905, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 9061, and proximity sensor can close when terminal device 900 is moved in one's ear Display panel 9061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify terminal device posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 905 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 906 is for showing information input by user or being supplied to the information of user.Display unit 906 can wrap Display panel 9061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 9061.
User input unit 907 can be used for receiving the number or character information of input, and generate the use with terminal device Family setting and the related key signals input of function control.Specifically, user input unit 907 include touch panel 9071 and Other input equipments 9072.Touch panel 9071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 9071 or in touch panel 9071 Neighbouring operation).Touch panel 9071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 910, receiving area It manages the order that device 910 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 9071.In addition to touch panel 9071, user input unit 907 can also include other input equipments 9072.Specifically, other input equipments 9072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 9071 can be covered on display panel 9061, when touch panel 9071 is detected at it On or near touch operation after, send processor 910 to determine the type of touch event, be followed by subsequent processing device 910 according to touching The type for touching event provides corresponding visual output on display panel 9061.Although in Fig. 9, touch panel 9071 and display Panel 9061 is the function that outputs and inputs of realizing terminal device as two independent components, but in some embodiments In, can be integrated by touch panel 9071 and display panel 9061 and realize the function that outputs and inputs of terminal device, it is specific this Place is without limitation.
Interface unit 908 is the interface that external device (ED) is connect with terminal device 900.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 908 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in terminal device 900 or can be used in 900 He of terminal device Data are transmitted between external device (ED).
Memory 909 can be used for storing software program and various data.Memory 909 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 909 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 910 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection A part by running or execute the software program and/or module that are stored in memory 909, and calls and is stored in storage Data in device 909 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place Managing device 910 may include one or more processing units;Preferably, processor 910 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 910.
Terminal device 900 can also include the power supply 911 (such as battery) powered to all parts, it is preferred that power supply 911 Can be logically contiguous by power-supply management system and processor 910, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, terminal device 900 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal device, including processor 910, and memory 909 is stored in On memory 909 and the computer program that can run on the processor 910, the computer program are executed by processor 910 Each process of the above-mentioned script execution method of specifying error embodiment of Shi Shixian, and identical technical effect can be reached, to avoid It repeats, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each mistake of above-mentioned script execution method of specifying error embodiment when being executed by processor Journey, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable storage medium Matter, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (10)

1. a kind of script execution method of specifying error characterized by comprising
It obtains first when determining target widget corresponding to the first script step in test script and executes interface screenshot and first Recording interface screenshot, and second boundary is executed when determining target widget corresponding to the second script step in the test script The matching result of face screenshot and the second recording interface screenshot, the first script step are any script step in the test script Suddenly, the second script step includes the preset quantity executed in the test script, before the first script step Script step;
Determine that the implementing result of third scenario step in the test script, the third scenario step are first script step The upper script step executed before rapid;
Interface screenshot, the first recording interface screenshot, the matching result and the implementing result are executed according to described first, Determine whether the execution of the test script is abnormal.
2. determining the second script step in the test script the method according to claim 1, wherein obtaining Second when corresponding target widget executes the matching result of interface screenshot and the second recording interface screenshot, comprising:
Using any of described preset quantity script step as the 4th script step,
It obtains the when determining target widget corresponding to the 4th script step the 4th and executes interface screenshot and the 4th recording circle The matching result of face screenshot;
It is cut based on execution interface when determining target widget corresponding to each script step in the preset quantity script step The matching result of figure and recording interface screenshot, acquisition determine that second when target widget corresponding to the second script step holds The matching result of row interface screenshot and the second recording interface screenshot.
3. according to the method described in claim 2, it is characterized in that, each in the preset quantity script step based on determining The matching result of execution interface screenshot and recording interface screenshot when target widget corresponding to script step, acquisition is determined described Second when target widget corresponding to the second script step executes the matching result of interface screenshot and the second recording interface screenshot, packet It includes:
Execution interface screenshot and recording in the preset quantity script step when target widget corresponding to each script step The matching result of interface screenshot is in the case where not matching that, when determining target widget corresponding to the second script step Execution interface screenshot and recording interface screenshot matching result be do not match that.
4. the method according to claim 1, wherein determining the execution of third scenario step in the test script As a result, comprising:
It obtains third when determining target widget corresponding to the third scenario step and executes interface screenshot and third recording circle Face screenshot;
Interface screenshot, the first recording interface screenshot, the third, which are executed, according to described first executes interface screenshot and described Third recording interface screenshot determines the implementing result of the third scenario step.
5. according to the method described in claim 4, it is characterized in that, executing interface screenshot, first record according to described first Interface screenshot, third execution interface screenshot and the third recording interface screenshot processed, determine the third scenario step Implementing result, comprising:
Match in the first recording interface screenshot and the third recording interface screenshot, and described first executes interface section In the case that figure matches with third execution interface screenshot, it is normal to execute to determine the implementing result of the third scenario step;
It is not matched that in the first recording interface screenshot and the third recording interface screenshot, and described first executes interface In the case that screenshot and third execution interface screenshot do not match that, the implementing result of the third scenario step is determined to execute just Often.
6. the method according to claim 1, wherein executing interface screenshot, first record according to described first Interface screenshot, the matching result and the implementing result processed determine whether the execution of the test script is abnormal, comprising:
It is to execute normal in the implementing result, described first executes interface screenshot and the first recording interface screenshot not phase Match, and the matching result of the second execution interface screenshot and the second recording interface screenshot is the case where not matching that Under, determine the test script holds abnormal behavior.
7. a kind of script execution method of specifying error characterized by comprising
It obtains first when determining target widget corresponding to the first script step in test script and executes parameter and the first recording Parameter, and second parameter and second is executed when determining target widget corresponding to the second script step in the test script The matching result of parameter is recorded, the first script step is any script step in the test script, second script Step includes the preset quantity script step executed in the test script, before the first script step;
Determine that the implementing result of third scenario step in the test script, the third scenario step are first script step The upper script step executed before rapid;
Execute parameter according to described first, described first record parameter, the matching result and the implementing result, determine described in Whether the execution of test script is abnormal.
8. the method according to the description of claim 7 is characterized in that executing parameter according to described first, first recording is joined Several, the described matching result and the implementing result determine whether the execution of the test script is abnormal, comprising:
It is to execute normally in the implementing result, the first execution parameter is not matched that with the first recording parameter, and The matching result of the second execution parameter and the second recording parameter is in the case where not matching that, to determine the test foot This holds abnormal behavior.
9. a kind of script step implementing result determines method characterized by comprising
It obtains first when determining target widget corresponding to the first script step and executes interface screenshot and the first recording interface section Figure;
It obtains second when determining target widget corresponding to the second script step and executes interface screenshot and the second recording interface section Figure, the upper script step that the second script step executes before being the first script step;
Interface screenshot is executed according to described first, the first recording interface screenshot, described second executes interface screenshot and described Second recording interface screenshot determines the implementing result of the second script step.
10. a kind of script execution exception determining device characterized by comprising
First matching result determining module, when determining target widget corresponding to the first script step in test script for obtaining First execute interface screenshot and the first recording interface screenshot, and determine that the second script step institute is right in the test script The when target widget second matching result for executing interface screenshot and the second recording interface screenshot is answered, the first script step is Any script step in the test script, the second script step include in the test script, in first script The preset quantity script step executed before step;
First implementing result determining module, for determining the implementing result of third scenario step in the test script, described The upper script step that three script steps execute before being the first script step;
First script execution exception determining module, for executing interface screenshot according to described first, first recording interface is cut Figure, the matching result and the implementing result determine whether the execution of the test script is abnormal.
CN201910003840.6A 2019-01-03 2019-01-03 Script execution exception determining method and device Active CN109783379B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910003840.6A CN109783379B (en) 2019-01-03 2019-01-03 Script execution exception determining method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910003840.6A CN109783379B (en) 2019-01-03 2019-01-03 Script execution exception determining method and device

Publications (2)

Publication Number Publication Date
CN109783379A true CN109783379A (en) 2019-05-21
CN109783379B CN109783379B (en) 2022-02-08

Family

ID=66499818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910003840.6A Active CN109783379B (en) 2019-01-03 2019-01-03 Script execution exception determining method and device

Country Status (1)

Country Link
CN (1) CN109783379B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026667A (en) * 2019-12-09 2020-04-17 北京乐学帮网络技术有限公司 Script execution method and device and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183335A (en) * 2007-12-25 2008-05-21 中兴通讯股份有限公司 Method and system for realizing embedded software unconventionality testing
CN101339534A (en) * 2008-06-17 2009-01-07 金蝶软件(中国)有限公司 Software test apparatus and test method
US20120266136A1 (en) * 2011-04-13 2012-10-18 Brown Julian M Modular script designer for next generation testing system
CN103092756A (en) * 2013-01-08 2013-05-08 彭勇 Interactive automated testing system and method thereof
CN104866414A (en) * 2014-02-24 2015-08-26 腾讯科技(深圳)有限公司 Method, device and system for testing application program
CN105740151A (en) * 2016-02-03 2016-07-06 惠州Tcl移动通信有限公司 UI (User interface) control viewing processing method and system for mobile terminal
CN106021095A (en) * 2016-05-06 2016-10-12 北京邮电大学 A push mechanism-based Android application automated testing method
CN107066376A (en) * 2016-12-15 2017-08-18 中国航天科工集团第四研究院第四总体设计部 A kind of automatic test verification method tested for GUI
CN108536597A (en) * 2018-04-11 2018-09-14 上海达梦数据库有限公司 A kind of terminal test method, device, terminal device and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183335A (en) * 2007-12-25 2008-05-21 中兴通讯股份有限公司 Method and system for realizing embedded software unconventionality testing
CN101339534A (en) * 2008-06-17 2009-01-07 金蝶软件(中国)有限公司 Software test apparatus and test method
US20120266136A1 (en) * 2011-04-13 2012-10-18 Brown Julian M Modular script designer for next generation testing system
CN103092756A (en) * 2013-01-08 2013-05-08 彭勇 Interactive automated testing system and method thereof
CN104866414A (en) * 2014-02-24 2015-08-26 腾讯科技(深圳)有限公司 Method, device and system for testing application program
CN105740151A (en) * 2016-02-03 2016-07-06 惠州Tcl移动通信有限公司 UI (User interface) control viewing processing method and system for mobile terminal
CN106021095A (en) * 2016-05-06 2016-10-12 北京邮电大学 A push mechanism-based Android application automated testing method
CN107066376A (en) * 2016-12-15 2017-08-18 中国航天科工集团第四研究院第四总体设计部 A kind of automatic test verification method tested for GUI
CN108536597A (en) * 2018-04-11 2018-09-14 上海达梦数据库有限公司 A kind of terminal test method, device, terminal device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026667A (en) * 2019-12-09 2020-04-17 北京乐学帮网络技术有限公司 Script execution method and device and electronic equipment

Also Published As

Publication number Publication date
CN109783379B (en) 2022-02-08

Similar Documents

Publication Publication Date Title
CN108255378A (en) A kind of display control method and mobile terminal
CN109445736A (en) A kind of multi-screen display method and mobile terminal
CN109388304A (en) A kind of screenshotss method and terminal device
CN109343759A (en) A kind of control method and terminal of the display of breath screen
CN108363524B (en) A kind of application icon display methods and mobile terminal
CN108491123A (en) A kind of adjusting application program image target method and mobile terminal
CN110109593A (en) A kind of screenshotss method and terminal device
CN109871246A (en) A kind of message display method and terminal device
CN108595201A (en) A kind of application program update method and mobile terminal
CN108541009A (en) A kind of detection method and terminal device of communications status
CN109600297A (en) A kind of mark sweep-out method and terminal device
CN108196757A (en) The setting method and mobile terminal of a kind of icon
CN110096203A (en) A kind of screenshot method and mobile terminal
CN110046013A (en) A kind of interface display method and terminal device
CN110147186A (en) A kind of control method and terminal device of application
CN108881723A (en) A kind of image preview method and terminal
CN108733993A (en) A kind of method for information display and terminal
CN110069407A (en) A kind of function test method and device of application program
CN110505279A (en) The method and apparatus of delay is set
CN110162234A (en) A kind of application control method and terminal device
CN109831582A (en) Non- response events processing method and terminal
CN109067975A (en) A kind of method for managing contact person information and terminal device
CN109857673A (en) Control recognition methods and device
CN109783379A (en) Script execution method of specifying error and device
CN109871324A (en) A kind of operating method and device of control

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
TA01 Transfer of patent application right

Effective date of registration: 20210716

Address after: 100016 no.4301, No.52 Jiuxianqiao hospital, Chaoyang District, Beijing

Applicant after: BEIJING TESTIN INFORMATION TECHNOLOGY Co.,Ltd.

Address before: Room 2016, building 2, No.8, Fenghuang Third Road, Zhongxin Guangzhou Knowledge City, Guangzhou 510260, Guangdong Province

Applicant before: GUANGZHOU TESTIN INFORMATION TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant