CN104915290A - Application testing method and device - Google Patents

Application testing method and device Download PDF

Info

Publication number
CN104915290A
CN104915290A CN201510282614.8A CN201510282614A CN104915290A CN 104915290 A CN104915290 A CN 104915290A CN 201510282614 A CN201510282614 A CN 201510282614A CN 104915290 A CN104915290 A CN 104915290A
Authority
CN
China
Prior art keywords
node
interface
task
accessed
unenforced
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
CN201510282614.8A
Other languages
Chinese (zh)
Other versions
CN104915290B (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 Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510282614.8A priority Critical patent/CN104915290B/en
Publication of CN104915290A publication Critical patent/CN104915290A/en
Application granted granted Critical
Publication of CN104915290B publication Critical patent/CN104915290B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses an application testing method and device and belongs to the field of software tests. The application testing method includes the steps that an initial current node is determined in a node list; whether the current node has an unexecuted task or not is judged; if the unexecuted task exists, the task is executed, and a node corresponding to a skipped interface is set to be the current node; if the unexecuted task does not exist, the node list is searched for a target node with the unexecuted task, the current node is skipped to the target node, and the target node is set to be the current node; if the target node can not be found, a traversal test is ended. The method and device have the advantages that the problems that a pseudorandom event stream does not have to accord with an actual operation stream of a current APP, multiple main interfaces of the APP are frequently and repeatedly tested through related testing methods, and certain hidden interfaces are possibly omitted are solved, the traversal test is conducted according to the actual operation stream of the APP as much as possible, and the testing efficiency of the APP is improved.

Description

Application testing method and device
Technical field
The disclosure relates to software test field, particularly a kind of application testing method and device.
Background technology
Traversal test is the one of carrying out APP (Application, application program) in many method of testings of testing.The graphic user interface that likely arrive of traversal test for attempting an access APP, and in access process, monitor whether there will be collapse or other abnormal conditions.Graphic user interface can referred to as interface.
In the traversal method of testing that correlation technique provides, first several pseudo-random event stream is generated, each pseudo-random event stream includes various UI (the User Interface that user may perform interface, user interface) Action Events, such as: key-press input event, touch-screen click event, gesture incoming event etc.; Then, above-mentioned pseudo-random event stream is inputted to APP to be tested, thus realize traversal test.
Summary of the invention
In order to each flow of event solving pseudo-random event stream might not meet the practical operation stream of current APP, several major interfaces of relevant test method frequent repeated test APP, also may miss the problem at some more hidden interfaces, the disclosure provides a kind of application testing method and device.This technical scheme is as follows:
According to the first aspect of disclosure embodiment, provide a kind of application testing method, the method comprises:
Initial present node is determined in node listing, this node listing comprises at least one node, an interface in application program of each node this test corresponding, the task that each node is corresponding is the UI Action Events that the interface corresponding with this node is supported;
Judge whether this present node exists unenforced task;
If there is unenforced task, then perform this task, according to performing the interface record that jumps to after this task redirect relation corresponding with this task, Node configuration corresponding to the interface this jumped to is this present node;
If there is not unenforced task, then in this node listing, find out the destination node that there is unenforced task, jump to this destination node from this present node, this destination node is set to this present node;
If this destination node cannot be found out in this node listing, then terminate the traversal test of this application program.
Optionally, Node configuration corresponding to this interface this jumped to is this present node, comprising:
Obtain the information at the interface that this jumps to;
Judge whether this interface jumped to is the interface accessed according to this information;
If this interface is the interface accessed, then the Node configuration corresponding to the interface this accessed is this present node;
If this interface is the interface do not accessed, then generate the node corresponding with the interface that this was not accessed, this Node configuration of generation is this present node by the task list of this node that the UI Action Events initialization supported according to this interface do not accessed generates.
Optionally, the destination node that there is unenforced task should be searched in this node listing, comprise:
In this node listing, find out the nearest node that there is unenforced task of distance root node as this destination node, root node is node corresponding to the main interface of application program.
Optionally, this destination node should be jumped to from this present node, comprise:
Calculate the task chain jumping to this destination node from this present node, this task chain comprises at least two nodes and at least one redirect relation, and each redirect relation associates with two nodes;
Judge whether the redirect relation in this task chain is all finished;
If be not all finished, then perform a unenforced redirect relation according to the order in this task chain; Detect the interface whether jumping to expectation after performing this redirect relation; If jump to the interface of this expectation, then again perform and judge the step whether the redirect relation in this task chain has all been finished;
If the redirect relation in task chain is all finished, then determine to jump to this destination node.
Optionally, the method, also comprises:
If do not jump to the interface of this expectation, then obtain the information at the interface that this jumps to;
Judge whether this interface jumped to is the interface accessed according to this information;
If this interface is the interface accessed, then the node of having accessed according to this revises this this redirect relation performed; Node configuration corresponding to the interface this accessed is this present node;
If this interface is the interface do not accessed, then generate the node corresponding with the interface that this was not accessed, this Node configuration of generation is this present node by the task list of this node that the UI Action Events initialization supported according to this interface do not accessed generates.
Optionally, initial present node should be determined in node listing, comprise:
In the node listing emptied, the main interface of this application program is defined as root node, and described root node is defined as initial present node.
According to the second aspect of disclosure embodiment, provide a kind of application testing device, this device comprises:
Determination module, be configured in node listing, determine initial present node, this node listing comprises at least one node, an interface in application program of each node this test corresponding, and the task that each node is corresponding is the UI Action Events that the interface corresponding with this node is supported;
Judge module, is configured to judge whether this present node exists unenforced task;
First arranges module, is configured to when there is unenforced task, performs this task, and according to performing the interface record that jumps to after this task redirect relation corresponding with this task, Node configuration corresponding to the interface this jumped to is this present node;
Second arranges module, is configured to, when there is not unenforced task, find out the destination node that there is unenforced task in this node listing, jumps to this destination node, this destination node is set to this present node from this present node;
Terminate module, when being configured to find out this destination node in this node listing, terminate the traversal test of this application program.
Optionally, this first arranges module, comprising:
Obtain submodule, be configured to the information obtaining the interface that this jumps to;
First judges submodule, is configured to judge whether this interface jumped to is the interface accessed according to this information;
First arranges submodule, and be configured to when this interface is the interface accessed, the Node configuration corresponding to the interface this accessed is this present node;
Second arranges submodule, be configured to when this interface is the interface do not accessed, generate the node corresponding with the interface that this was not accessed, this Node configuration generated is this present node by the task list of this node that the UI Action Events initialization supported according to this interface do not accessed generates.
Optionally, this second arranges module, is also configured in this node listing, find out a nearest node that there is unenforced task of distance root node as this destination node, the node corresponding to main interface of nutritional program during root node.
Optionally, this second arranges module, comprising:
Calculating sub module, be configured to calculate the task chain jumping to this destination node from this root node, this task chain comprises at least two nodes and at least one redirect relation, and each redirect relation associates with two nodes;
Second judges submodule, is configured to judge whether the redirect relation in this task chain is all finished;
This second judges submodule, being also configured to when not all being finished, performing a unenforced redirect relation according to the order in this task chain; Detect the interface whether jumping to expectation after performing this redirect relation; If jump to the interface of this expectation, then again perform and judge the step whether the redirect relation in this task chain has all been finished;
Redirect submodule, is configured to, when the redirect relation in task chain is all finished, determine to jump to this destination node.
Optionally, this device, also comprises:
Data obtaining module, is configured to, when not jumping to the interface of this expectation, obtain the information at the interface that this jumps to;
Interface judge module, is configured to judge whether this interface jumped to is the interface accessed according to this information;
3rd arranges module, is configured to when this interface is the interface accessed, and revises this this redirect relation performed according to this node of having accessed; Node configuration corresponding to the interface this accessed is this present node;
4th arranges module, be configured to when this interface is the interface do not accessed, generate the node corresponding with the interface that this was not accessed, this Node configuration generated is this present node by the task list of this node that the UI Action Events initialization supported according to this interface do not accessed generates.
Optionally, this determination module, is also configured in the node listing emptied, and the main interface of this application program is defined as root node, root node is defined as initial present node.
According to the third aspect of disclosure embodiment, provide a kind of application testing device, this device comprises:
Processor;
For storing the storer of this processor executable;
Wherein, this processor is configured to:
Initial present node is determined in node listing, this node listing comprises at least one node, an interface in application program of each node this test corresponding, the task that each node is corresponding is the UI Action Events that the interface corresponding with this node is supported;
Judge whether this present node exists unenforced task;
If there is unenforced task, then perform this task, according to performing the interface record that jumps to after this task redirect relation corresponding with this task, Node configuration corresponding to the interface this jumped to is this present node;
If there is not unenforced task, then in this node listing, find out the destination node that there is unenforced task, jump to this destination node from this present node, this destination node is set to this present node;
If this destination node cannot be found out in this node listing, then terminate the traversal test of this application program.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
Unenforced task whether is there is by each interface detecting application program, detect in interface there is unenforced task time, perform this task, and the redirect relation that the interface jumped to after this task of record execution is corresponding with this task, making test terminal when carrying out traversal test, most graphical interfaces in application program to be measured can be covered; The each flow of event solved in pseudo-random event stream might not meet the practical operation stream of current APP, and several major interfaces of relevant test method frequent repeated test APP, also may miss the problem at some more hidden interfaces; Reach and carry out traversal test according to the practical operation stream of APP as far as possible, improve the effect of the testing efficiency of APP.
Should be understood that, it is only exemplary that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows and meets embodiment of the present disclosure, and is used from instructions one and explains principle of the present disclosure.
Fig. 1 is the schematic diagram of a kind of application testing method according to an exemplary embodiment;
Fig. 2 is the process flow diagram of a kind of application testing method according to an exemplary embodiment;
Fig. 3 A is the process flow diagram of a kind of application testing method according to another exemplary embodiment;
Fig. 3 B is the process flow diagram of a kind of application testing method according to an exemplary embodiment;
Fig. 3 C is the exploded view of a kind of interface information according to an exemplary embodiment;
Fig. 3 D is the exploded view of a kind of application testing method according to an exemplary embodiment;
Fig. 3 E is the process flow diagram of a kind of application testing method according to an exemplary embodiment;
Fig. 4 is the process flow diagram of a kind of application testing device according to an exemplary embodiment;
Fig. 5 is the block diagram of a kind of application testing device according to another exemplary embodiment;
Fig. 6 is the block diagram of a kind of application testing device according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Because pseudo-random event stream is stochastic generation, so and do not meet the practical operation flow of event of application program.Need a large amount of pseudo-random event stream could realize substantially traveling through test in traversal test process.But in a large amount of test, the several interfaces after main interface and main interface frequently can be tested, may test be missed to the interface be hidden in compared with deep layer level or remoter level.For this reason, disclosure embodiment provides following application testing method.
Explanation of nouns:
Node a: interface in the application program of each node this test corresponding, the interface c in the interface a in such as node A corresponding diagram 1, the interface b in Node B corresponding diagram 1, node C corresponding diagram 1.
Task: the task that each node is corresponding is all UI Action Events that the interface corresponding with this node is supported, the such as task of node A comprises the control a1 event that arranges on the interface a in Fig. 1 and message control a2 event.Again such as, the task of Node B comprise in Fig. 1 interface b on privacy control b1 event.For another example, the task of node C comprise in Fig. 1 interface c on authority control c1 event.
Task chain: refer to that in application program, a node jumps to the required task order performed of another node, task chain comprises at least two nodes and at least one redirect relation, and each redirect relation associates with two nodes.Composition graphs 1 is known, and the task chain being jumped to node C by node A comprises: node A---the control a1 event that arranges performed in a of interface jumps to interface b---Node B---the privacy control b1 event performed in the b of interface jumps to interface c---node C.
Node listing: node listing comprises at least one node, be the list for redirect relation between the node of records application program and node, this list can be as shown in table 1.
Table 1
Fig. 2 is the process flow diagram of a kind of application testing method according to an exemplary embodiment, as shown in Figure 2, comprises the following steps.
In step 201, in node listing, initial present node is determined.
This node listing comprises at least one node, an interface in application program of each node this test corresponding, and the task that each node is corresponding is the UI Action Events that the interface corresponding with this node is supported.
Alternatively, initial present node is the node corresponding to main interface of APP.The node corresponding to main interface of APP is also referred to as root node.
In step 202., judge whether present node exists unenforced task.
In step 203, if there is unenforced task, then perform this task, according to performing the interface record that jumps to after this task redirect relation corresponding with this task, Node configuration corresponding to the interface this jumped to is present node.
In step 204, if there is not unenforced task, then in node listing, find out the destination node that there is unenforced task,
In step 205, if find out destination node, then jump to destination node from present node, destination node is set to present node.
In step 206, if cannot destination node be found out in node listing, then the traversal test of end application.
In sum, the application testing method provided in disclosure embodiment, unenforced task whether is there is by each interface detecting application program, detect in interface there is unenforced task time, perform this task, and the redirect relation that the interface jumped to after this task of record execution is corresponding with this task, making test terminal when carrying out traversal test, most of graphical interfaces in application program to be measured can be covered; The each flow of event solved in pseudo-random event stream might not meet the practical operation stream of current APP, and several major interfaces of relevant test method frequent repeated test APP, also may miss the problem at some more hidden interfaces; Reach and carry out traversal test according to the practical operation stream of APP as far as possible, improve the effect of the testing efficiency of APP.
Fig. 3 A is the process flow diagram of a kind of application testing method according to another exemplary embodiment, and the method comprises the following steps.
In step 301, in the node listing emptied, the main interface of application program is defined as root node, and root node is defined as initial present node.
The interface that root node is corresponding is first interface in tested application program.Alternatively, loading standby picture when first interface does not comprise Transition or start.
Test terminal can arrive other interfaces by the task of performing main interface, and therefore the main interface of application program can be defined as root node by test terminal, and after this root node is defined as present node, performs step 302.
It should be noted that, test terminal, before test process starts, needs initialization node listing, and the redirect relation between each node of the previous tested application program recorded in node listing and each node is cleared.
In step 302, judge whether present node exists unenforced task.
In a kind of possible implementation, test terminal obtains the image at interface corresponding to present node by the mode of screenshotss, and each UI Action Events by this Image Acquisition interface is supported.Such as, current interface exists 3 button icons, then, after identifying these 3 button icons, test terminal determines that 3 kinds of UI Action Events are supported at the interface that present node is corresponding.Alternatively, test terminal the Menu key of routine can also be inputted, return key input, right button input and so on Action Events be defined as the UI Action Events supported at interface corresponding to present node.
In the implementation that another kind is possible, each UI Action Events that each interface is supported is known in test terminal by systematic parameter or APP parameter.How to know for test terminal each UI Action Events that the interface that present node is corresponding is supported, the present embodiment does not limit.
Each UI Action Events that the interface that present node is corresponding is supported, as the task that present node is corresponding.
When test terminal is detected present node, can determine whether current interface also exists unenforced task.
Such as, when test terminal is detected the interface a in Fig. 1, detect in a of interface to exist control a1 event is set and message control a2 event is not performed, then determine that present node A exists unenforced task.
In step 303, if there is unenforced task, then perform this task, Node configuration corresponding for the interface jumped to is present node by the redirect relation corresponding with this task according to the interface record jumped to after this task of execution.
When detect there is unenforced task time, test terminal can perform this task by simulation UI input, clicks and arrange the input of control a1 in such as simulate.
When the task of present node is performed, tested application program can rest on interface corresponding to present node, or tested application program can jump to other interface from the interface that present node is corresponding.
Such as, after the refreshing control event in the interface that present node is corresponding is performed, tested application program can rest on interface corresponding to present node, only refreshes the data in this interface, does not jump to other interface; Again such as, arrange after control event is performed in the interface that present node is corresponding, tested application program can jump to another and arrange interface.
Test terminal can according to the interface jumped to after this task of execution, the redirect relation that record is corresponding with this task in node listing, and by the step 303a to step 303d shown in Fig. 3 B by Node configuration corresponding for the interface that jumps to for after this present node, continue to perform step 302.
In step 303a, obtain the information at the interface jumped to.
Test terminal can obtain the image at the interface jumped to equally by the mode of screenshotss, and this image is identified, thus obtaining the information at the interface jumped to, this information comprises: the image information at the interface jumped to, and the UI Action Events that the interface jumped to is supported.
Such as, in fig. 3 c, the information that test terminal obtains the interface b that this jumps to comprises: image information, privacy control b1, safe control b2, the record control b3 of interface b, return control b4.
In step 303b, judge whether the interface jumped to is the interface accessed according to this information.
In a kind of possible implementation, test terminal obtains the image at the interface jumped to, and the image at this image and previously stored interface is carried out similarity mode, if in the image at each interface that this image Already in stores, then determine that the interface that this jumps to is the interface accessed; If this image is not present in the image at each interface of storage, then determine that this interface jumped to is the interface do not accessed.
In the implementation that another kind is possible, whether the layout that each control in the interface jumped to can be detected in test terminal is similar to the layout of each control in the image at the interface stored, if detect to there is the interface similar to the layout of each control in the interface jumped to, then determine that the interface that this jumps to is the interface accessed; There is not the interface similar to the layout of each control in the interface jumped to if detect, then determine that the interface that this jumps to is the interface do not accessed.Disclosure embodiment does not make restriction to the determination methods whether interface jumped to is the interface accessed.
In step 303c, if this interface is the interface accessed, be then present node by the Node configuration corresponding to the interface accessed.
If test terminal detects that this interface is the interface accessed, then this interface is defined as present node, continues to judge whether present node exists unenforced task.
As Fig. 3 D, test terminal perform in a of interface control a1 event is set after jump to interface b be set, perform arrange in the b of interface return control b4 event after redirect return interface a, now, test terminal detects that interface a is the interface accessed, then this interface a is defined as present node, continues to detect in a of interface whether there is unenforced task.
In step 303d, if this interface is the interface do not accessed, then generating the node corresponding with the interface that this was not accessed, according to the task list of this node of UI Action Events initialization that this interface do not accessed is supported, is present node by this Node configuration generated.
If this interface is the interface do not accessed, then test terminal generates the node corresponding with this interface in node listing, and the task list of this node of initialization, thus obtain each UI Action Events supported at this interface.
Such as, the task list of the Node B that initialization Node B obtains is as shown in table 2.
Nodename Task names
Node B Privacy control b1 event
Node B Safe control b2 event
Node B Record control b3 event
Node B Return control b4 event
Table 2
In step 304, if there is not unenforced task, then in node listing, find out a nearest node that there is unenforced task of distance root node as destination node.
Under normal circumstances, there is multiple task in a node, test terminal, when application programs is tested, can only perform a task on present node at every turn.
When test terminal detects that present node does not exist unenforced task, can from finding out a nearest node that there is unenforced task of distance root node in the following manner as this destination node from node listing.
(1) root node is set to both candidate nodes, detects both candidate nodes by node listing and whether there is unenforced task;
(2) there is unenforced task if detect, then both candidate nodes is defined as destination node;
(3) there is not unenforced task if detect, then continue to obtain each node jumped to from both candidate nodes by redirect relation by node listing, successively this each node is defined as both candidate nodes, performs and detect by node listing the step whether both candidate nodes exists unenforced task.
Be described for the node listing shown in table 3, this table 3 is as follows.
Table 3
Interface a is both candidate nodes, test terminal detects the control a1 event that arranges in a of interface by node listing, message control a2 event is performed all, then obtain perform in a of interface control a1 event is set after the interface b that jumps to, Node B corresponding for interface b is defined as both candidate nodes.
Privacy control b1 event in the b of detection interface, test terminal, safe control b2 event, record control b3 event, return control b4 event and be all performed, the interface z jumped to after then obtaining the message control a2 event performed in a of interface, is defined as both candidate nodes by interface z.
Test terminal detects in the z of interface to be checked control z1 event and returns control z2 event and be all performed, then the interface c jumped to after continuing to obtain the privacy control b1 event performed in the b of interface.
Now, test terminal detects in the c of interface that there is authority control c1 event is not performed, be then defined as destination node by node C corresponding for interface c.
It should be noted that, owing to have recorded the information of each node detected in node listing, when test terminal can calculate destination node according to the redirect relation between each node and each node, do not need to perform the task in each node.
In step 305, if find out destination node, then jump to destination node from present node, destination node is set to present node.
After determining destination node, test terminal can jump to this destination node by the step 305a to step 305h shown in Fig. 3 E from present node, and this destination node is set to this present node.
In step 305a, calculate the task chain jumping to this destination node from present node, this task chain comprises at least two nodes and at least one redirect relation, and each redirect relation associates with two nodes.
Test terminal, after determining destination node, can obtain the task chain that present node jumps to this destination node.Such as, in node listing shown in table 3, test terminal obtains the task chain that root node A jumps to destination node C and is: interface a---the control a1 event that arranges performed in a of interface jumps to interface b---interface b---the privacy control b1 event performed in the b of interface jumps to interface c---interface c.
In step 305b, judge whether the redirect relation in this task chain is all finished.
Test terminal, from present node, performs the redirect relation in this task chain successively.
Whether wherein, test terminal often performs according to next redirect relation, can the redirect relation in Detection task chain all be finished.
In step 305c, if be not all finished, then perform a unenforced redirect relation according to the order in task chain.
In step 305d, detect the interface whether jumping to expectation after performing redirect relation;
In step 305e, if jump to the interface of this expectation, then again perform and judge the step whether the redirect relation in this task chain has all been finished.
Expect interface be user after perform a unenforced redirect relation according to the order in task chain, the interface of recording in the task chain that application program should jump to.
Such as, task chain is: the task chain of interface a to interface c is: interface a---the control a1 event that arranges performed in a of interface jumps to interface b---interface b---the privacy control b1 event performed in the b of interface jumps to interface c---interface c, then test terminal is after performing the privacy control b1 event in the b of interface according to this task chain, expects that interface is interface c.
In step 305f, if the redirect relation in task chain is all finished, then determine to jump to this destination node, using destination node as present node.
In step 305g, if do not jump to the interface of expectation, then obtain the information at the interface jumped to.
It should be noted that, test terminal is after successively performing the same task of same present node, and the interface likely jumped to exists different situations.
Such as, the interface of tested application program provides quarter-bell control, when test terminal performs this quarter-bell control event during 20:00-5:00, the current interface of tested application program can jump to user and point out interface, this user points out interface to show signal language " being the late into the night now, everybody sleep that Do not disturb "; When test terminal performs this quarter-bell control during 05:00-20:00, the current interface of application program then can jump to quarter-bell control inerface and send ring tone.
Now, test terminal is after the task in chain of executing the task successively, and the interface jumped to not is the expectation interface of recording in task chain.
Test terminal can obtain the information at the interface that this jumps to.Same, test terminal can obtain the image at this interface by the mode of screenshotss, thus the information at the interface jumped to by this Image Acquisition.
In step 305h, judge whether the interface jumped to is the interface accessed according to this information.
According to this information, test terminal judges that whether this interface jumped to is that the method at the interface accessed as step 303b, can not repeat herein.
In step 305i, if this interface is the interface accessed, then revising this redirect relation performed according to the node of having accessed, is present node by the Node configuration corresponding to the interface accessed.
Such as, the authority control c1 event that have recorded in task chain in the c of execution interface, test terminal jumps to interface d, and the authority control c1 event in now test terminal execution interface c jumps to interface a, because interface a is the node of having accessed, this redirect relation performed is revised in test terminal, the redirect relation of " the authority control c1 event performed in the c of interface jumps to interface a " is added in node listing, and node A corresponding for interface a is set to present node.
After arranging present node, test terminal continues to perform step 302.
In step 305j, if this interface is the interface do not accessed, then generating the node corresponding with the interface that this was not accessed, according to the task list of the UI Action Events initialization node that this interface do not accessed is supported, is present node by this Node configuration generated.
The step of step 305j, as shown in step 303d, does not repeat herein.
After being present node by the Node configuration of generation, test terminal continues to perform step 302.
Within step 306, if cannot destination node be found out in node listing, then the traversal test of end application.
If the node that there is unenforced task cannot be found out in node listing in test terminal, that is, this destination node cannot be found out in this node listing, then show that each interface of tested application program is all detected.
Now, test terminal can terminate to test the traversal of current application program, continues to carry out traversal test to next application program.
In sum, the application testing method provided in disclosure embodiment, unenforced task whether is there is by each interface detecting application program, detect in interface there is unenforced task time, perform this task, and the redirect relation that the interface jumped to after this task of record execution is corresponding with this task, making test terminal when carrying out traversal test, most of graphical interfaces in application program to be measured can be covered.The each flow of event solved in pseudo-random event stream might not meet the practical operation stream of current APP, and several major interfaces of relevant test method frequent repeated test APP, also may miss the problem at some more hidden interfaces; Reach and carry out traversal test according to the practical operation stream of APP as far as possible, improve the effect of the testing efficiency of APP.
The application testing method that the present embodiment provides, also by finding the node that there is unenforced task nearest with root node as present node, achieves the Full-automatic circulation of test process.
The application testing method that the present embodiment provides, also by when executing the task chain, if the interface jumped to unexpected interface, then revise redirect relation and continue to perform detection, achieve the compatibility to some fortuitous events, achieve the compatibility of test process to the various possibility ruuning situations of APP higher, the effect of test better effects if.
Following is disclosure device embodiment, may be used for performing disclosure embodiment of the method.For the details do not disclosed in disclosure device embodiment, please refer to disclosure embodiment of the method.
Fig. 4 is the process flow diagram of a kind of application testing device according to an exemplary embodiment, and as shown in Figure 4, this device comprises: determination module 410, judge module 420, first arrange module 430, second and arrange module 440 and terminate module 450.
Determination module 410, be configured in node listing, determine initial present node, this node listing comprises at least one node, an interface in application program of each node this test corresponding, the task that each node is corresponding is the UI Action Events that the interface corresponding with this node is supported.
Judge module 420, is configured to judge whether this present node exists unenforced task.
First arranges module 430, is configured to when there is unenforced task, performs this task, and according to performing the interface record that jumps to after this task redirect relation corresponding with this task, Node configuration corresponding to the interface this jumped to is this present node.
Second arranges module 440, is configured to, when there is not unenforced task, find out the destination node that there is unenforced task in this node listing, jumps to this destination node, this destination node is set to this present node from this present node.
Terminate module 450, when being configured to find out this destination node in this node listing, terminate the traversal test of this application program.
In sum, the application testing device provided in disclosure embodiment, unenforced task whether is there is by each interface detecting application program, detect in interface there is unenforced task time, perform this task, and the redirect relation that the interface jumped to after this task of record execution is corresponding with this task, making test terminal when carrying out traversal test, most of graphical interfaces in application program to be measured can be covered.The each flow of event solved in pseudo-random event stream might not meet the practical operation stream of current APP, and several major interfaces of relevant test method frequent repeated test APP, also may miss the problem at some more hidden interfaces; Reach and carry out traversal test according to the practical operation stream of APP as far as possible, improve the effect of the testing efficiency of APP.
Fig. 5 is the block diagram of a kind of application testing device according to another exemplary embodiment, and as shown in Figure 5, this device comprises: determination module 410, judge module 420, first arrange module 430, second and arrange module 440 and terminate module 450.
Determination module 410, be configured in node listing, determine initial present node, this node listing comprises at least one node, an interface in application program of each node this test corresponding, the task that each node is corresponding is the UI Action Events that the interface corresponding with this node is supported.
Judge module 420, is configured to judge whether this present node exists unenforced task.
First arranges module 430, is configured to when there is unenforced task, performs this task, and according to performing the interface record that jumps to after this task redirect relation corresponding with this task, Node configuration corresponding to the interface this jumped to is this present node.
Second arranges module 440, is configured to, when there is not unenforced task, find out the destination node that there is unenforced task in this node listing, jumps to this destination node, this destination node is set to this present node from this present node.
Terminate module 450, when being configured to find out this destination node in this node listing, terminate the traversal test of this application program.
Optionally, this first arranges module 430, comprising: obtain submodule 431, first and judge that submodule 432, first arranges submodule 433, second and arranges submodule 434.
Obtain submodule 431, be configured to the information obtaining the interface that this jumps to.
First judges submodule 432, is configured to judge whether this interface jumped to is the interface accessed according to this information.
First arranges submodule 433, and be configured to when this interface is the interface accessed, the Node configuration corresponding to the interface this accessed is this present node.
Second arranges submodule 434, be configured to when this interface is the interface do not accessed, generating the node corresponding with the interface that this was not accessed, according to the task list of this node of UI Action Events initialization that this interface do not accessed is supported, is this present node by this Node configuration generated.
Optionally, this second arranges module 440, is also configured in this node listing, find out a nearest node that there is unenforced task of distance root node as this destination node.
Optionally, this second arranges module 440, comprising:
Calculating sub module 441, be configured to calculate the task chain jumping to this destination node from root node, this task chain comprises at least two nodes and at least one redirect relation, and each redirect relation associates with two nodes.
Second judges submodule 442, is configured to judge whether the redirect relation in this task chain is all finished.
This second judges submodule 442, being also configured to when not all being finished, performing a unenforced redirect relation according to the order in this task chain.Detect the interface whether jumping to expectation after performing this redirect relation.If jump to the interface of this expectation, then again perform and judge the step whether the redirect relation in this task chain has all been finished.
Redirect submodule 443, is configured to when being all finished, and determines to jump to this destination node.
Optionally, this device, also comprises: data obtaining module 460, interface judge module 470, the 3rd arrange module 480, the 4th and arrange module 490.
Data obtaining module 460, is configured to, when not jumping to the interface of this expectation, obtain the information at the interface that this jumps to.
Interface judge module 470, is configured to judge whether this interface jumped to is the interface accessed according to this information.
3rd arranges module 480, is configured to when this interface is the interface accessed, and revises this this redirect relation performed according to this node of having accessed.Node configuration corresponding to the interface this accessed is this present node.
4th arranges module 490, be configured to when this interface is the interface do not accessed, generating the node corresponding with the interface that this was not accessed, according to the task list of this node of UI Action Events initialization that this interface do not accessed is supported, is this present node by this Node configuration generated.
Optionally, this determination module 410, is also configured in the node listing emptied, and the main interface of this application program is defined as root node.
In sum, the application testing device provided in disclosure embodiment, unenforced task whether is there is by each interface detecting application program, detect in interface there is unenforced task time, perform this task, and the redirect relation that the interface jumped to after this task of record execution is corresponding with this task, making test terminal when carrying out traversal test, most of graphical interfaces in application program to be measured can be covered.The each flow of event solved in pseudo-random event stream might not meet the practical operation stream of current APP, and several major interfaces of relevant test method frequent repeated test APP, also may miss the problem at some more hidden interfaces; Reach and carry out traversal test according to the practical operation stream of APP as far as possible, improve the effect of the testing efficiency of APP.
The application testing method that the present embodiment provides, also by finding the node that there is unenforced task nearest with root node as present node, achieves the Full-automatic circulation of test process.
The application testing method that the present embodiment provides, also by when executing the task chain, if the interface jumped to unexpected interface, then revise redirect relation and continue to perform detection, achieve the compatibility to some fortuitous events, achieve the compatibility of test process to the various possibility ruuning situations of APP higher, the effect of test better effects if.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
The disclosure one exemplary embodiment provides a kind of application testing device, can realize the application testing method that the disclosure provides, and this application testing device comprises: processor, storer for storage of processor executable instruction.
Wherein, processor is configured to:
Initial present node is determined in node listing, this node listing comprises at least one node, an interface in application program of each node this test corresponding, the task that each node is corresponding is the UI Action Events that the interface corresponding with this node is supported.
Judge whether this present node exists unenforced task.
If there is unenforced task, then perform this task, according to performing the interface record that jumps to after this task redirect relation corresponding with this task, Node configuration corresponding to the interface this jumped to is this present node.
If there is not unenforced task, then in this node listing, find out the destination node that there is unenforced task, jump to this destination node from this present node, this destination node is set to this present node.
If this destination node cannot be found out in this node listing, then terminate the traversal test of this application program.
Fig. 6 is the block diagram of a kind of application testing device according to an exemplary embodiment.Such as, device 600 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 6, device 600 can comprise following one or more assembly: processing components 602, storer 604, power supply module 606, multimedia groupware 608, audio-frequency assembly 610, I/O (I/O) interface 612, sensor module 614, and communications component 616.
The integrated operation of the usual control device 600 of processing components 602, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 602 can comprise one or more processor 618 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 602 can comprise one or more module, and what be convenient between processing components 602 and other assemblies is mutual.Such as, processing components 602 can comprise multi-media module, mutual with what facilitate between multimedia groupware 608 and processing components 602.
Storer 604 is configured to store various types of data to be supported in the operation of device 600.The example of these data comprises for any application program of operation on device 600 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 604 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that power supply module 606 is device 600 provide electric power.Power supply module 606 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 600 and be associated.
Multimedia groupware 608 is included in the screen providing an output interface between device 600 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant with touch or slide and pressure.In certain embodiments, multimedia groupware 608 comprises a front-facing camera and/or post-positioned pick-up head.When device 600 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 610 is configured to export and/or input audio signal.Such as, audio-frequency assembly 610 comprises a microphone (MIC), and when device 600 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 604 further or be sent via communications component 616.In certain embodiments, audio-frequency assembly 610 also comprises a loudspeaker, for output audio signal.
I/O interface 612 is for providing interface between processing components 602 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 614 comprises one or more sensor, for providing the state estimation of various aspects for device 600.Such as, sensor module 614 can detect the opening/closing state of device 600, the relative positioning of assembly, such as assembly is display and the keypad of device 600, the position of all right pick-up unit 600 of sensor module 614 or device 600 1 assemblies changes, the presence or absence that user contacts with device 600, the temperature variation of device 600 orientation or acceleration/deceleration and device 600.Sensor module 614 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 614 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 614 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 616 is configured to the communication being convenient to wired or wireless mode between device 600 and other equipment.Device 600 can access the wireless network based on communication standard, as Wi-Fi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 616 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, communications component 616 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 600 can be realized, for performing above-mentioned application testing method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 604 of instruction, above-mentioned instruction can perform above-mentioned application testing method by the processor 618 of device 600.Such as, non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (13)

1. an application testing method, is characterized in that, described method comprises:
Initial present node is determined in node listing, described node listing comprises at least one node, an interface in application program of each node this test corresponding, the task that each node is corresponding is the UI Action Events that the interface corresponding with described node is supported;
Judge whether described present node exists unenforced task;
If there is unenforced task, then perform described task, Node configuration corresponding for the described interface jumped to is described present node by the redirect relation corresponding with described task according to the interface record jumped to after the described task of execution;
If there is not unenforced task, then in described node listing, find out the destination node that there is unenforced task, jump to described destination node from described present node, described destination node is set to described present node;
If described destination node cannot be found out in described node listing, then terminate the traversal test of described application program.
2. method according to claim 1, is characterized in that, described is described present node by Node configuration corresponding for the described interface jumped to, and comprising:
The information at the interface jumped to described in acquisition;
Whether the interface jumped to described in judging according to described information is the interface accessed;
If described interface is the interface accessed, be then described present node by the Node configuration corresponding to the described interface accessed;
If described interface is the interface do not accessed, then generate the node corresponding with the described interface do not accessed, the described Node configuration generated is described present node by the task list of the described node that the UI Action Events initialization supported according to the described interface do not accessed generates.
3. method according to claim 1, is characterized in that, describedly in described node listing, finds out the destination node that there is unenforced task, comprising:
In described node listing, find out a nearest node that there is unenforced task of distance root node as described destination node, described root node is the node corresponding to main interface of described application program.
4. method according to claim 1, is characterized in that, describedly jumps to described destination node from described present node, comprising:
Calculate the task chain jumping to described destination node from described present node, described task chain comprises at least two nodes and at least one redirect relation, and each redirect relation associates with two nodes;
Judge whether the redirect relation in described task chain is all finished;
If be not all finished, then perform a unenforced redirect relation according to the order in described task chain; Detect the interface whether jumping to expectation after performing described redirect relation; If jump to the interface of described expectation, then again perform and judge the step whether the redirect relation in described task chain has all been finished;
If the redirect relation in described task chain is all finished, then determine to jump to described destination node.
5. method according to claim 4, is characterized in that, described method, also comprises:
If do not jump to the interface of described expectation, then the information at the interface jumped to described in obtaining;
Whether the interface jumped to described in judging according to described information is the interface accessed;
If described interface is the interface accessed, then revise this described redirect relation performed according to described node of having accessed; Be described present node by the Node configuration corresponding to the described interface accessed;
If described interface is the interface do not accessed, then generate the node corresponding with the described interface do not accessed, the described Node configuration generated is described present node by the task list of the described node that the UI Action Events initialization supported according to the described interface do not accessed generates.
6. according to the arbitrary described method of claim 1 to 5, it is characterized in that, describedly in node listing, determine initial present node, comprising:
In the node listing emptied, the main interface of described application program is defined as root node, and described root node is defined as described initial present node.
7. an application testing device, is characterized in that, described device comprises:
Determination module, be configured in node listing, determine initial present node, described node listing comprises at least one node, an interface in application program of each node this test corresponding, the task that each node is corresponding is the UI Action Events that the interface corresponding with described node is supported;
Judge module, is configured to judge whether described present node exists unenforced task;
First arranges module, be configured to when there is unenforced task, perform described task, Node configuration corresponding for the described interface jumped to is described present node by the redirect relation corresponding with described task according to the interface record jumped to after the described task of execution;
Second arranges module, be configured to when there is not unenforced task, in described node listing, find out the destination node that there is unenforced task, jump to described destination node from described present node, described destination node is set to described present node;
Terminate module, when being configured to find out described destination node in described node listing, terminate the traversal test of described application program.
8. device according to claim 7, is characterized in that, described first arranges module, comprising:
Obtain submodule, be configured to the information at the interface jumped to described in obtaining;
First judges submodule, and whether the interface being configured to jump to described in judging according to described information is the interface accessed;
First arranges submodule, is configured to when described interface is the interface accessed, and is described present node by the Node configuration corresponding to the described interface accessed;
Second arranges submodule, be configured to when described interface is the interface do not accessed, generate the node corresponding with the described interface do not accessed, the described Node configuration generated is described present node by the task list of the described node that the UI Action Events initialization supported according to the described interface do not accessed generates.
9. device according to claim 7, it is characterized in that, described second arranges module, also be configured in described node listing, find out a nearest node that there is unenforced task of distance root node as described destination node, described root node is the node corresponding to main interface of described application program.
10. device according to claim 7, is characterized in that, described second arranges module, comprising:
Calculating sub module, be configured to calculate the task chain jumping to described destination node from described root node, described task chain comprises at least two nodes and at least one redirect relation, and each redirect relation associates with two nodes;
Second judges submodule, is configured to judge whether the redirect relation in described task chain is all finished;
Described second judges submodule, is also configured to when not all being finished, and performs a unenforced redirect relation according to the order in described task chain; Detect the interface whether jumping to expectation after performing described redirect relation; If jump to the interface of described expectation, then again perform and judge the step whether the redirect relation in described task chain has all been finished;
Redirect submodule, is configured to, when the redirect relation in described task chain is all finished, determine to jump to described destination node.
11. devices according to claim 10, is characterized in that, described device, also comprises:
Data obtaining module, is configured to when not jumping to the interface of described expectation, the information at the interface jumped to described in acquisition;
Interface judge module, whether the interface being configured to jump to described in judging according to described information is the interface accessed;
3rd arranges module, is configured to when described interface is the interface accessed, and revises this described redirect relation performed according to described node of having accessed; Be described present node by the Node configuration corresponding to the described interface accessed;
4th arranges module, be configured to when described interface is the interface do not accessed, generate the node corresponding with the described interface do not accessed, the described Node configuration generated is described present node by the task list of the described node that the UI Action Events initialization supported according to the described interface do not accessed generates.
12. according to the arbitrary described device of claim 7 to 11, it is characterized in that, described determination module, be also configured in the node listing emptied, the main interface of described application program is defined as root node, and described root node is defined as described initial present node.
13. 1 kinds of application testing devices, is characterized in that, described device comprises:
Processor;
For storing the storer of described processor executable;
Wherein, described processor is configured to:
Initial present node is determined in node listing, described node listing comprises at least one node, an interface in application program of each node this test corresponding, the task that each node is corresponding is the UI Action Events that the interface corresponding with described node is supported;
Judge whether described present node exists unenforced task;
If there is unenforced task, then perform described task, Node configuration corresponding for the described interface jumped to is described present node by the redirect relation corresponding with described task according to the interface record jumped to after the described task of execution;
If there is not unenforced task, then in described node listing, find out the destination node that there is unenforced task, jump to described destination node from described present node, described destination node is set to described present node;
If described destination node cannot be found out in described node listing, then terminate the traversal test of described application program.
CN201510282614.8A 2015-05-28 2015-05-28 Application testing method and device Active CN104915290B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510282614.8A CN104915290B (en) 2015-05-28 2015-05-28 Application testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510282614.8A CN104915290B (en) 2015-05-28 2015-05-28 Application testing method and device

Publications (2)

Publication Number Publication Date
CN104915290A true CN104915290A (en) 2015-09-16
CN104915290B CN104915290B (en) 2018-07-31

Family

ID=54084368

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510282614.8A Active CN104915290B (en) 2015-05-28 2015-05-28 Application testing method and device

Country Status (1)

Country Link
CN (1) CN104915290B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630686A (en) * 2016-03-24 2016-06-01 厦门美图移动科技有限公司 Traversal testing method and device for applications and mobile terminal
CN105868105A (en) * 2016-03-24 2016-08-17 厦门美图移动科技有限公司 Application traversal testing method and device, and mobile terminal
CN107197070A (en) * 2017-06-08 2017-09-22 杭州友声科技股份有限公司 The breadth traversal automated testing method of mobile phone application UI based on sequence of events
CN107357725A (en) * 2017-06-29 2017-11-17 腾讯科技(深圳)有限公司 Application testing method and device
CN107368422A (en) * 2017-08-02 2017-11-21 网易有道信息技术(北京)有限公司 A kind of method of testing of application APP, device and medium
CN107622008A (en) * 2016-07-14 2018-01-23 阿里巴巴集团控股有限公司 The traversal method and device of a kind of five application page
CN109522201A (en) * 2017-09-18 2019-03-26 北京京东尚科信息技术有限公司 A kind of method and apparatus of application program stability test
CN111694753A (en) * 2020-07-30 2020-09-22 北京字节跳动网络技术有限公司 Application program testing method and device and computer storage medium
CN112532966A (en) * 2019-08-27 2021-03-19 中兴通讯股份有限公司 Set top box testing method and device, set top box and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5022028A (en) * 1988-03-30 1991-06-04 Elverex Limited Software verification apparatus
CN101714119A (en) * 2009-12-09 2010-05-26 北京邮电大学 Test data generating device and method based on binary program
CN102156673A (en) * 2011-04-20 2011-08-17 北京航空航天大学 Test case description oriented GUI (Graphical User Interface) automatic test system and test method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5022028A (en) * 1988-03-30 1991-06-04 Elverex Limited Software verification apparatus
CN101714119A (en) * 2009-12-09 2010-05-26 北京邮电大学 Test data generating device and method based on binary program
CN102156673A (en) * 2011-04-20 2011-08-17 北京航空航天大学 Test case description oriented GUI (Graphical User Interface) automatic test system and test method thereof

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630686A (en) * 2016-03-24 2016-06-01 厦门美图移动科技有限公司 Traversal testing method and device for applications and mobile terminal
CN105868105A (en) * 2016-03-24 2016-08-17 厦门美图移动科技有限公司 Application traversal testing method and device, and mobile terminal
CN105630686B (en) * 2016-03-24 2018-12-18 厦门美图移动科技有限公司 A kind of application traversal test method, equipment and mobile terminal
CN107622008B (en) * 2016-07-14 2021-07-23 阿里巴巴集团控股有限公司 Traversal method and device for application page
CN107622008A (en) * 2016-07-14 2018-01-23 阿里巴巴集团控股有限公司 The traversal method and device of a kind of five application page
CN107197070A (en) * 2017-06-08 2017-09-22 杭州友声科技股份有限公司 The breadth traversal automated testing method of mobile phone application UI based on sequence of events
CN107357725B (en) * 2017-06-29 2018-09-04 腾讯科技(深圳)有限公司 Application testing method and device
CN107357725A (en) * 2017-06-29 2017-11-17 腾讯科技(深圳)有限公司 Application testing method and device
CN107368422A (en) * 2017-08-02 2017-11-21 网易有道信息技术(北京)有限公司 A kind of method of testing of application APP, device and medium
CN109522201A (en) * 2017-09-18 2019-03-26 北京京东尚科信息技术有限公司 A kind of method and apparatus of application program stability test
CN112532966A (en) * 2019-08-27 2021-03-19 中兴通讯股份有限公司 Set top box testing method and device, set top box and computer readable storage medium
CN111694753A (en) * 2020-07-30 2020-09-22 北京字节跳动网络技术有限公司 Application program testing method and device and computer storage medium
CN111694753B (en) * 2020-07-30 2023-04-11 北京字节跳动网络技术有限公司 Application program testing method and device and computer storage medium

Also Published As

Publication number Publication date
CN104915290B (en) 2018-07-31

Similar Documents

Publication Publication Date Title
CN104915290B (en) Application testing method and device
CN105868105A (en) Application traversal testing method and device, and mobile terminal
CN105306931A (en) Smart TV anomaly detection method and device
CN106528389A (en) Performance evaluation method and device for system smoothness and terminal
CN105975156A (en) Application interface display method and device
CN104866409A (en) Method and apparatus for monitoring memory leakage
CN106775248A (en) Push the methods of exhibiting and device of content
CN105094465B (en) Ambient light measurement method and device
CN105095081A (en) Application program function testing method and device
CN104301528A (en) Information displaying method and device
CN104035673A (en) Object control method and relevant device
CN106547547A (en) Collecting method and device
CN105323152A (en) Message processing method, device and equipment
CN105843503A (en) Application starting method and device as well as terminal equipment
CN104572875A (en) Popularization information putting effectiveness determining method and device
CN105242837A (en) Application page acquisition method and terminal
CN104636064A (en) Gesture generating method and device
CN104836721A (en) Group session message reminding method and group session message reminding device
CN106339452B (en) Event response method and device
CN104932970A (en) Monitoring method and device of memory leakage
CN104765686B (en) The method and device of test application program
KR101895701B1 (en) Method and device for pushing user information
CN104615327A (en) Window display method and device in game process
CN107491238A (en) The display methods and device of pushed information
CN106528247A (en) Data refreshing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant