CN105005529A - Application testing method and apparatus - Google Patents

Application testing method and apparatus Download PDF

Info

Publication number
CN105005529A
CN105005529A CN201410152787.3A CN201410152787A CN105005529A CN 105005529 A CN105005529 A CN 105005529A CN 201410152787 A CN201410152787 A CN 201410152787A CN 105005529 A CN105005529 A CN 105005529A
Authority
CN
China
Prior art keywords
basic operation
tested
operating parameter
application program
touch
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
CN201410152787.3A
Other languages
Chinese (zh)
Other versions
CN105005529B (en
Inventor
钟书成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410152787.3A priority Critical patent/CN105005529B/en
Publication of CN105005529A publication Critical patent/CN105005529A/en
Application granted granted Critical
Publication of CN105005529B publication Critical patent/CN105005529B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention discloses an application testing method and apparatus, belonging to the field of computer technologies. The method comprises: acquiring an operation type; if the operation type is a non-linear slide operation, acquiring a plurality of basic operations comprised in the non-linear slide operation and an operation parameter needed by each basic operation in the plurality of basic operations; and testing a to-be-tested application according to each basic operation and the operation parameter needed by each basic operation. The apparatus comprises a first acquisition module, a second acquisition module and a testing module. According to the application testing method and apparatus, the non-linear slide operation is taken into account during application testing, so that accuracy of the test result of the tested application can be improved.

Description

A kind of application programs carries out the method for testing and device
Technical field
The present invention relates to field of computer technology, particularly a kind of application programs carries out the method for testing and device.
Background technology
When developing application, in order to ensure the stability of the application program developed, application programs is needed to test.When application programs is tested, need to input a large amount of user operation instructions to application program in Preset Time, application program performs these user operation instructions and exports execution result, if the execution result that application program exports is all correct, then tests out this application program stability higher.If there is the execution result of mistake in the execution result that application program exports, then test out this application program stability lower, then technician is optimized the stability improving this application program again to this application program.
At present, prior art provides a kind of method that application programs carries out testing, comprise: the coordinate points pair that random setting is a large amount of, each group coordinate points is to comprising a starting point and a terminal, and the path of slip when the line segment analog subscriber of the starting point comprised with coordinate points centering and terminal composition carries out linear slide operation on screen.Respectively according to each group coordinate points pair, generate an event, this event is linear pattern user operation instruction.The multiple events generated are inputed to application program to be tested.Application program to be tested receives and performs each event, exports the execution result that each event is corresponding, if the execution result of each event of application program output to be tested is all correct, then tests out application program stability to be tested higher; If in the execution result of each event that application program to be tested exports, there is mistake in the execution result that there is at least one event, then tests out application program stability to be tested lower.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
Because coordinate points is to only including a starting point and a terminal, so linear user operation can only be simulated, so do not consider the user operation that nonlinear type slip screen or the screen that slidably reciprocates etc. are complicated when test application, because this reducing the accuracy of the test result of test application.
Summary of the invention
In order to improve the accuracy of the test result of test application, the invention provides method and device that a kind of application programs carries out testing.Described technical scheme is as follows:
Application programs carries out a method of testing, and described method comprises:
Obtain action type;
If described action type is the action type of nonlinear type slide, obtain the operating parameter required for each basic operation in the multiple basic operation and described multiple basic operation that described nonlinear type slide comprises;
Operating parameter required for described each basic operation and described each basic operation is tested application program to be tested.
Application programs carries out the device tested, and described device comprises:
First acquisition module, for obtaining action type;
Second acquisition module, if the action type for described action type being nonlinear type slide, obtains the operating parameter required for each basic operation in the multiple basic operation and described multiple basic operation that described nonlinear type slide comprises;
Test module, for testing application program to be tested according to the operating parameter of described each basic operation and described each basic operation.
In embodiments of the present invention, action type is obtained; If this action type is the action type of nonlinear type slide, obtain the operating parameter required for each basic operation in the multiple basic operation and multiple basic operation that nonlinear type slide comprises; Operating parameter required for each basic operation and each basic operation is tested application program to be tested.Owing to obtaining the operating parameter required for each basic operation in multiple basic operation and multiple basic operation that nonlinear type slide comprises, when so utilizing each basic operation and the operating parameter required for each basic operation to test application program to be tested, consider nonlinear type slide, improve the accuracy of the test result of test application program to be tested.
Accompanying drawing explanation
Fig. 1 is the method flow diagram that a kind of application programs that the embodiment of the present invention 1 provides carries out testing;
Fig. 2-1 is the method flow diagram that a kind of application programs that the embodiment of the present invention 2 provides carries out testing;
Fig. 2-2 is the schematic diagram of a kind of L-type slide that the embodiment of the present invention 2 provides;
Fig. 2-3 is the schematic diagram of a kind of Z-type slide that the embodiment of the present invention 2 provides;
Fig. 3 is the apparatus structure schematic diagram that a kind of application programs that the embodiment of the present invention 3 provides carries out testing;
Fig. 4 is the structural representation of a kind of terminal that the embodiment of the present invention 4 provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment 1
See Fig. 1, embodiments provide a kind of method that application programs carries out testing, comprising:
Step 101: obtain action type;
Step 102: if this action type is the action type of nonlinear type slide, obtains the operating parameter required for each basic operation in the multiple basic operation and multiple basic operation that nonlinear type slide comprises;
Step 103: the operating parameter required for each basic operation and each basic operation is tested application program to be tested.
Preferably, obtain the operating parameter required for each basic operation in the multiple basic operation and multiple basic operation that nonlinear type slide comprises, comprising:
According to this action type, from the corresponding relation of action type and basic operation, obtain multiple basic operations that nonlinear type slide comprises;
The operating parameter required for each basic operation in the multiple basic operation of stochastic generation.
Preferably, multiple basic operation comprises a finger push, a finger lifts operation and the operation of at least one finger sliding, the operating parameter of finger push is a starting point, the operating parameter that finger lifts operation is a terminal, and the operating parameter of finger sliding operation at least comprises middle flex point and a time of arrival.
Preferably, the operating parameter required for each basic operation and each basic operation is tested application program to be tested, comprising:
According to the operating parameter required for each basic operation, simulation nonlinear type slide obtains operational order;
Operational order is inputed to application program to be tested, obtains execution result to make application program executable operations instruction to be tested;
Judge according to the stability of execution result to application program to be tested.
Preferably, operational order is inputed to application program to be tested, to make application program executable operations instruction to be tested obtain execution result, comprising:
According to the signal type that the touch-screen of mobile terminal is supported, test signal is converted to operational order;
Test signal is inputed to application program to be tested, makes application program to be tested carry out execution according to test signal and obtain execution result.
Further, according to the signal type that the touch-screen of mobile terminal is supported, before test signal is converted to operational order, also comprise:
Obtain the interface document that the touch-screen of mobile terminal is corresponding;
The configuration information of the touch-screen of mobile terminal is obtained from interface document;
According to configuration information, the signal type that the touch-screen obtaining mobile terminal is supported.
Preferably, obtain the interface document that the touch-screen of mobile terminal is corresponding, comprising:
Obtain the interface document of each parts of mobile terminal;
From the interface document of each parts, obtain the component names of each parts respectively;
From the component names of each parts, obtain the component names comprising preset keyword corresponding to touch-screen;
Interface document corresponding for the component names of acquisition is defined as the interface document that the touch-screen of mobile terminal is corresponding.
Further, the method also comprises:
If action type is not the action type of nonlinear type slide, the operating parameter required for the operation that stochastic generation action type is corresponding, according to operating parameter, tests application program to be tested.
In embodiments of the present invention, action type is obtained; If this action type is the action type of nonlinear type slide, obtain the operating parameter required for each basic operation in the multiple basic operation and multiple basic operation that nonlinear type slide comprises; Operating parameter required for each basic operation and each basic operation is tested application program to be tested.Owing to obtaining the operating parameter required for each basic operation in multiple basic operation and multiple basic operation that nonlinear type slide comprises, when so utilizing each basic operation and the operating parameter required for each basic operation to test application program to be tested, consider nonlinear type slide, improve the accuracy of the test result of test application program to be tested.
Embodiment 2
Embodiments provide a kind of method that application programs carries out testing.
When developing application, in order to ensure the stability of application program, terminal needs application programs to test.When application programs is tested, terminal needs to input a large amount of user operation instructions to application program in Preset Time, therefore need analog subscriber to operate and automatically generate user operation instruction, terminal can automatically generate user operation instruction by this method and application programs is tested.
See Fig. 2-1, specifically comprise:
Step 201: obtain the action type that mobile terminal is supported, a kind of action type of random acquisition from the action type that mobile terminal is supported;
Mobile terminal supports multiple action type, and such as, mobile terminal support is clicked, double-click, longly slide by, linear pattern, two finger touch zooms in or out and/or the action type such as nonlinear type slip.Nonlinear type slide can be L shape slide, Z-shaped slide and/or arc sliding operation etc., in this citing that just differs.
The executive agent of the present embodiment can be test terminal, test terminal is before the action type obtaining mobile terminal support, first need to carry out Root(Root to mobile terminal, brush machine) process obtain administrator right, after getting administrator right, just qualify and obtain the action type of mobile terminal support.The operating system of mobile terminal defines the action type of mobile terminal support.Test terminal can be PC(personal computer, personal computer) or panel computer etc.
This step is specially, and establish a communications link between mobile terminal, by the communication connection of setting up, Root process is carried out to mobile terminal and obtain administrator right, then from the operating system of mobile terminal, the action type that mobile terminal is supported is obtained, a kind of action type of random acquisition from the action type that mobile terminal is supported.
Such as, suppose that the action type obtained is the action type of L shape slide.And establish a communications link between mobile terminal, by the communication connection of setting up, Root process is carried out to mobile terminal and obtain administrator right, then obtain the action type that mobile terminal is supported, from the action type of mobile terminal support, a kind of action type of random acquisition is the action type of L shape slide.
Step 202: judge that whether the action type obtained is the action type of nonlinear type slide, if so, perform step 203, if not, perform step 206;
Such as, the action type of the action type L-type slide obtained is judged, and judges that this action type is the action type of nonlinear type slide, then perform step 203.
Step 203: according to the action type of nonlinear type slide obtained, obtains multiple basic operations that this nonlinear type slide comprises from the corresponding relation of action type and basic operation;
Nonlinear type slide is simulated by multiple basic operation.Multiple basic operation comprises a finger push, the operation of at least one finger sliding and a finger and lifts operation, the operating parameter of finger push is a starting point, the operating parameter that finger lifts operation is a terminal, and the operating parameter of finger sliding operation at least comprises the time of arrival of a middle flex point and this middle flex point.The corresponding relation of configured in advance action type and basic operation, the action type of the basic operation that this corresponding relation comprises for the action type and often kind of non-linear slide storing often kind of non-linear slide.
Such as, see Fig. 2-2, L shape slide by a finger push, finger sliding operate and a finger lifts operation to simulate, first by pointing push at starting point (x 0, y 0) place simulation press finger, then by finger sliding operate simulate finger from starting point (x 0, y 0) place slides into intermediate point (x 1, y 1) place, finally by finger lift operation to simulate finger therefrom between point (x 1, y 1) place slides into terminal (x 2, y 2) place from terminal (x 2, y 2) place lifts finger, to realize simulation L shape slide.See the second line item of table 1, in the corresponding relation of action type and basic operation, store the action type of three basic operations that the action type of L shape slide and L shape slide comprise.
Table 1
For another example, see Fig. 2-3, Z-shaped slide by a finger push, two finger slidings operates and a finger lifts operation to simulate, first by pointing push at starting point (x a, y a) place's simulation presses finger, then simulates finger from starting point (x by the operation of first finger sliding a, y a) place slides into first intermediate point (x b, y b) place, simulating finger from first intermediate point (x by second finger sliding operation b, y b) place slides into second intermediate point (x c, y c) place, lift operation to simulate finger from second intermediate point (x finally by finger c, y c) place slides into terminal (x d, y d) place from terminal (x d, y d) place lifts finger, to realize simulating Z-shaped slide.See the third line record of table 1, in the corresponding relation of action type and basic operation, store the action type of four basic operations that the action type of Z-shaped slide and Z-shaped slide comprise.
This step is specially, according to the action type of the nonlinear type slide obtained, from the action type storing the basic operation that the action type operation corresponding with the action type obtaining this nonlinear type slide the corresponding relation of basic operation comprises.
Such as, according to the action type of the L-type slide obtained, from the corresponding relation of the action type as shown in table 1 stored and basic operation, obtain the action type of the basic operation that operation corresponding to the action type of L-type slide comprises, namely finger push, a finger sliding operation and a finger lift operation.
Step 204: according to the multiple basic operations obtained, the operating parameter required for each basic operation in the multiple basic operation of stochastic generation;
Wherein, configured in advance action type storehouse, action type storehouse comprises a handling function corresponding to often kind of action type, defines the operating parameter realized required for operation corresponding to this action type in the handling function that this action type is corresponding.The handling function that action type storehouse comprises is as follows:
int touch(int x,int y);
int longTouch(int x,int y,int period);
int doubleTap(int x,int y);
int pan(int xStart,int yStart,int xEnd,int yEnd,int timeElipsed);
int zoom(int xStart1,int yStart1,int xEnd1,int yEnd1,int xStart2,int yStart2,int xEnd2,int yEnd2,int timeElipsed);
int touchDown(int x,int y);
int pressMove(int x,int y,int timeElipsed);
int touchup(int x,int y);
Wherein, int touch (int x, int y) is handling function corresponding to the action type clicked, defines the operating parameter required for single-click operation in this handling function, parameter x and y represents horizontal ordinate and the ordinate of click position point respectively, and type is all integer.
Int longTouch (int x, int y, int period) be handling function corresponding to long action type of pressing, define long by the operating parameter required for operation in this handling function, parameter x and y represents horizontal ordinate and the ordinate of long opsition dependent point respectively, parameter p eriod represents length temporally, and the type of parameter is all integer.
Int doubleTap (int x, int y) be handling function corresponding to the action type of double-click, define the operating parameter required for double click operation in this function, parameter x and y represents the horizontal ordinate and ordinate of double-clicking location point respectively, and type is all integer.
Int pan (int xStart, int yStart, int xEnd, int yEnd, int timeElipsed) be handling function corresponding to the action type of linear pattern slide, the operating parameter required for linear pattern slide is defined in this handling function, parameter xStart and yStart represents horizontal ordinate and the ordinate of the starting point that linear pattern is slided respectively, parameter xEnd and yEnd represents horizontal ordinate and the ordinate of the terminal that linear pattern is slided respectively, parametric t imeElipsed represents the time sliding into terminal from starting point, and the type of parameter is all integer.
Int zoom (int xStart1, int yStart1, int xEnd1, int yEnd1, int xStart2, int yStart2, int xEnd2, int yEnd2, int timeElipsed) refer to touch handling function corresponding to the action type that zooms in or out operation for two, two operating parameter that touch zooms in or out required for operation that refers to is defined in this handling function, parameter xStart1 and yStart1 represents horizontal ordinate and the ordinate of the starting point of the first finger sliding respectively, xEnd1 and yEnd1 represents horizontal ordinate and the ordinate of the terminal of the first finger sliding respectively, parameter xStart2 and yStart2 represents horizontal ordinate and the ordinate of the starting point that second finger is slided respectively, xEnd2 and yEnd2 represents horizontal ordinate and the ordinate of the terminal that second finger is slided respectively, parametric t imeElipsed represents that two finger touches the time zoomed in or out, and the type of parameter is all integer.
Int touchDown (int x, int y) be handling function corresponding to the action type of finger push, this handling function defines the operating parameter of finger required for push, parameter x and y represents the horizontal ordinate that finger is put depressed position and ordinate respectively, and type is all integer.
Int pressMove (int x, int y, int timeElipsed) be handling function corresponding to the action type of finger sliding operation, this handling function defines the operating parameter required for finger sliding operation, parameter x and y represents horizontal ordinate and the ordinate of the intermediate point that finger sliding operation is corresponding respectively, parametric t imeElipsed represents that finger sliding operation slides into the time of this intermediate point, and the type of parameter is all integer.
Int touchup (int x, int y) lift handling function corresponding to the action type of operation for finger, this handling function defines the operating parameter pointed and lift required for operation, parameter x and y represents that finger lifts horizontal ordinate and the ordinate of the location point of operation respectively, and type is all integer.
This step is specially, according to the multiple basic operations obtained, from the action type storehouse of configured in advance, obtain the handling function that each basic operation in multiple basic operation is corresponding, title and the data type of the operating parameter required for each basic operation is obtained respectively from handling function corresponding to each basic operation, the title of the operating parameter required for each basic operation obtained and data type, the operating parameter respectively required for each basic operation of stochastic generation.
Such as, according to the basic operation finger push obtained, from the action type storehouse of configured in advance, the handling function int touchDown (int x, int y) that finger push is corresponding is obtained.From in handling function inttouchDown (int x, int y), the name obtaining the operating parameter of finger required for push is called that the horizontal ordinate x that finger is put depressed position and ordinate y and data type are all integer.The horizontal ordinate x put depressed position according to the finger obtained and ordinate y and data type are all integer, the operating parameter (1,1) of stochastic generation finger required for push.
According to the basic operation finger sliding operation obtained, from the action type storehouse of configured in advance, obtain the handling function int pressMove (int x, int y, int timeElipsed) that finger sliding operation is corresponding.From handling function int pressMove (int x, int y, int timeElipsed) in, the name of operating parameter obtained required for finger sliding operation is called the horizontal ordinate x of the intermediate point that finger sliding operation is corresponding and ordinate y and slides into the time timeElipsed of this intermediate point, and data type is all integer.Then the operating parameter (1,0,1) required for the operation of stochastic generation finger sliding.
Basic operation finger according to obtaining lifts operation, from the action type storehouse of configured in advance, obtains finger and lifts handling function int touchup (int x, int y) corresponding to operation.From in handling function int touchup (int x, int y), obtain name that finger lifts operating parameter required for operation and be called that the horizontal ordinate x of finger cocked position point and ordinate y and data type are all integer.Be all integer according to the horizontal ordinate x of finger cocked position point obtained and ordinate y and data type, stochastic generation points the operating parameter (2,0) lifted required for operation.
Step 205: according to the operating parameter required for each basic operation, simulates this nonlinear type slide and obtains operational order, then performs step 207;
Particularly, from action type storehouse, the operating parameter that each basic operation is corresponding is obtained respectively.According to the operating parameter required for each basic operation, call the operating parameter that each basic operation is corresponding respectively, this nonlinear type slide is simulated, obtains operational order.
Such as, from action type storehouse, obtain handling function inttouchDown (the int x that finger push is corresponding respectively, int y), the handling function int pressMove (int x, int y, int timeElipsed) that finger sliding operation is corresponding, and finger lifts handling function int touchup (int x, int y) corresponding to operation.According to the operating parameter (1,1) required for finger push, call operation function int touchDown (1,1).According to the operating parameter (1,0,1) required for finger sliding operation, call operation function intpressMove (1,0,1).According to pointing the operating parameter (2,0) lifted required for operation, call operation function intpressMove (2,0).Realize the simulation to L-type slide, obtain operational order L1.
Step 206: according to the action type obtained, the operating parameter required for the operation that this action type of stochastic generation is corresponding, according to this operating parameter, the operation of simulating this action type corresponding obtains operational order;
Particularly, according to the action type obtained, from the action type storehouse of configured in advance, obtain the handling function that this action type is corresponding, title and the data type of the operating parameter required for operation corresponding to this action type is obtained from the handling function obtained, according to title and the data type of the operating parameter obtained, operating parameter required for the operation that this action type of stochastic generation is corresponding, according to this operating parameter, call the handling function that this action type is corresponding, the operation corresponding to this action type is simulated, and obtains operational order.
Such as, suppose obtain action type be the action type clicked.According to the action type of the single-click operation obtained, from the action type storehouse of configured in advance, obtain the handling function int touch (intx that single-click operation is corresponding, int y), from handling function int touch (the int x obtained, int y) in obtain operating parameter required for single-click operation name be called that the horizontal ordinate of click position point and ordinate and data type are integer, then the operating parameter (1 required for stochastic generation single-click operation, 1), according to this operating parameter (1, 1), call the handling function int touch (1 that single-click operation is corresponding, 1), single-click operation is simulated, obtain operational order L1.
Wherein, the signal type that the touch-screen due to each mobile terminal is supported may be different, so after obtaining operational order, also need the signal type that the operation of 207-209 is as follows supported to the touch-screen obtaining mobile terminal.
Step 207: obtain the interface document that the touch-screen of mobile terminal is corresponding;
Wherein, mobile terminal comprises multiple parts, as touch-screen, keyboard or sound pick-up outfit etc., in this citing that just differs.Each parts that mobile terminal comprises are a corresponding interface document respectively, and the interface document that parts are corresponding comprises the component names of these parts.For the mobile terminal of different operating system, the storing directory of the interface document of parts is different.For the mobile terminal that operating system is identical, the storing directory of the total interface file that mobile terminal comprises is identical.Such as, be all mobile terminals of Android system for operating system, the storing directory of the interface document of all parts that mobile terminal comprises is /dev/input/.
This step is specially, and obtains the type of the operating system of mobile terminal, according to the type of this operating system, determines that this mobile terminal deposits the file directory of interface document.Deposit the file directory of interface document from mobile terminal, obtain the interface document of each parts that this mobile terminal comprises.From the interface document of each parts, obtain the component names of each parts respectively.From the component names of each parts obtained, obtain the component names comprising preset keyword corresponding to touch-screen.Interface document corresponding for the component names of acquisition is defined as the interface document that the touch-screen of this mobile terminal is corresponding.
Wherein, the preset keyword that touch-screen is corresponding can be ' touch ' or ' touchscreen ' etc.
Such as, suppose that the operating system of mobile terminal is Android system, the preset keyword that touch-screen is corresponding is ' touch '.The type of operating system obtaining mobile terminal is Android system, and the type according to this operating system is Android system, determines that file directory that this mobile terminal deposits interface document is for/dev/input/.Deposit the file directory/dev/input/ of interface document from mobile terminal, obtain the interface document of each parts that this mobile terminal comprises, suppose that the interface document getting parts 1,2 and 3 is respectively interface document F1, F2 and F3.From interface document F1, the component names of obtaining widget 1 is ' keyboard ', and from interface document F2, the component names of obtaining widget 2 is ' mouse ', and from interface document F3, the component names of obtaining widget 3 is ' touchpanel '.From the component names of the component names ' keyboard ' of parts 1 obtained, the component names ' mouse ' of parts 2 and parts 3 ' touch panel ', obtain the component names comprising preset keyword touch ' corresponding to touch-screen, i.e. component names ' the touch panel ' of parts 3.The interface document F3 that the component names ' touchpanel ' obtained is corresponding is defined as the interface document that the touch-screen of this mobile terminal is corresponding.
Wherein, obtain the code of interface document corresponding to the touch-screen of mobile terminal, as follows:
Step 208: the configuration information obtaining the touch-screen of mobile terminal from the interface document obtained;
Wherein, in existing multiple point touching agreement, define at least a set of signal type and often overlap mark corresponding to signal type.Each mobile terminal manufacturer selects a set of signal type from least a set of signal type that multiple point touching agreement specifies, as the signal type that the touch-screen of the mobile terminal of this mobile terminal manufacturer production is supported, the mark of this cover signal type is added in the configuration information of touch-screen, and configuration information is stored in the interface document of mobile terminal.
Such as, from the interface document F3 obtained, obtain the configuration information P of the touch-screen of mobile terminal.
Step 209: according to the configuration information obtained, the signal type that the touch-screen obtaining mobile terminal is supported;
Particularly, from the configuration information obtained, the mark of the signal type that the touch-screen obtaining mobile terminal is supported.According to the mark obtained, the signal type that the touch-screen obtaining mobile terminal from multiple point touching agreement is supported.
Such as, that supposes the signal type that the configuration information P obtained comprises is designated S1, and the mark that multiple point touching agreement defines first set, the second cover and the 3rd cover signal type and first set, the second cover and the 3rd cover signal type is respectively S0, S1 and S2.From the configuration information P obtained, the mark S1 of the signal type that the touch-screen obtaining mobile terminal is supported.According to the mark S1 obtained, the signal type obtaining the touch-screen support of mobile terminal from multiple point touching agreement is the second cover signal type.
Wherein, the code of the signal type that the touch-screen obtaining mobile terminal is supported, as follows:
Step 210: the signal type supported according to the touch-screen of mobile terminal, changes operational order, obtains test signal;
Particularly, according to the signal type that the touch-screen of mobile terminal is supported, be the signal format that touch-screen is supported by the format conversion of operational order, obtain test signal.
Such as, the signal type second according to the touch-screen support of mobile terminal overlaps signal type, is the signal format that touch-screen is supported, obtains test signal C1 by the format conversion of operational order L1.
Wherein, after obtaining test signal, according to following steps 211 and 212, application program to be tested is tested.
Step 211: test signal is inputed to application program to be tested, makes application program to be tested carry out execution according to test signal and obtains execution result;
Wherein, test signal is write in the interface document of touch-screen, input system is read test signal from the interface document of touch-screen, then test signal is inputed to application program to be tested by input system again, after application program to be tested receives test signal, carry out performing and exporting execution result according to test signal.
Such as, suppose that application program to be tested is screen locker.Test signal C1 is write in the interface document F3 of touch-screen, input system is read test signal C1 from the interface document F3 of touch-screen, then test signal C1 is inputed to screen locker by input system again, after screen locker receives test signal C1, perform according to test signal C1, in the nine grids of screen locking, input the unlocking pin of L shape, then unblock process is carried out to screen, if preset password is the unlocking pin of L shape, then exports and unlock successful result.If preset password is not the unlocking pin of L shape, then exports and unlock failed result.
Wherein, test signal is write the code in the interface document of touch-screen, as follows:
Wherein, when application programs is tested, need to input a large amount of user operation instructions to application program in Preset Time, so need in Preset Time, repeat the operation of above-mentioned steps 201-211 and generate a large amount of test signals, and make application program to be tested carry out execution according to a large amount of test signal generated to obtain execution result.
Step 212: judge according to the stability of operation result to application program to be tested.
Wherein, application program to be tested is carried out execution according to a large amount of test signals and is obtained execution result in Preset Time, if the execution result obtained is all correct, then judges that the stability of application program to be tested is higher.If there is the execution result of mistake in the execution result obtained, then judge that the stability of application program to be tested is lower.
Such as, suppose that screen locker carries out performing the execution result obtained according to a large amount of test signals in Preset Time all correct, then according to judging that the stability of screen locker is higher.
Wherein, for other each application programs that mobile terminal is installed, the method provided according to the embodiment of the present invention with application program to be tested is tested other each application programs that mobile terminal is installed.
In embodiments of the present invention, action type is obtained; If this action type is the action type of nonlinear type slide, obtain the operating parameter required for each basic operation in the multiple basic operation and multiple basic operation that nonlinear type slide comprises; Operating parameter required for each basic operation and each basic operation is tested application program to be tested.Owing to obtaining the operating parameter required for each basic operation in multiple basic operation and multiple basic operation that nonlinear type slide comprises, when so utilizing each basic operation and the operating parameter required for each basic operation to test application program to be tested, consider nonlinear type slide, improve the accuracy of the test result of test application program to be tested.
Embodiment 3
See Fig. 3, embodiments provide the device that a kind of application programs carries out testing, comprising:
First acquisition module 301, for obtaining action type;
Second acquisition module 302, if the action type for this action type being nonlinear type slide, obtains the operating parameter required for each basic operation in the multiple basic operation and multiple basic operation that nonlinear type slide comprises;
Test module 303, for testing application program to be tested according to the operating parameter of each basic operation and each basic operation.
Wherein, the second acquisition module 302 comprises:
Acquiring unit, for according to this action type, obtains multiple basic operations that nonlinear type slide comprises from the corresponding relation of action type and basic operation;
First generation unit, for the operating parameter of each basic operation in the multiple basic operation of stochastic generation.
Wherein, multiple basic operation comprises a finger push, a finger lifts operation and the operation of at least one finger sliding, the operating parameter of finger push is a starting point, the operating parameter that finger lifts operation is a terminal, and the operating parameter of finger sliding operation at least comprises middle flex point and a time of arrival.
Wherein, test module 303 comprises:
Analogue unit, for the operating parameter according to each basic operation, simulation nonlinear type slide obtains operational order;
Input block, for operational order is inputed to application program to be tested, obtains execution result to make application program executable operations instruction to be tested;
Judging unit, for judging according to the stability of execution result to application program to be tested.
Wherein, input block comprises:
Conversion subelement, for the signal type supported according to the touch-screen of mobile terminal, is converted to test signal to operational order;
Input subelement, for test signal is inputed to application program to be tested, makes application program to be tested carry out execution according to test signal and obtains execution result.
Further, input block, also comprises:
First obtains subelement, the interface document that the touch-screen for obtaining mobile terminal is corresponding;
Second obtains subelement, for obtaining the configuration information of the touch-screen of mobile terminal from interface document;
3rd subelement, for according to configuration information, obtains the signal type of the touch-screen support of mobile terminal.
Wherein, first obtains subelement, for obtaining the interface document of each parts of mobile terminal; From the interface document of each parts, obtain the component names of each parts respectively; From the component names of each parts, obtain the component names comprising preset keyword corresponding to touch-screen; Interface document corresponding for the component names of acquisition is defined as the interface document that the touch-screen of mobile terminal is corresponding.
Further, this device, if the action type for this action type not being also nonlinear type slide, the operating parameter required for the operation that stochastic generation action type is corresponding, according to operating parameter, tests application program to be tested.
In embodiments of the present invention, action type is obtained; If this action type is the action type of nonlinear type slide, obtain the operating parameter required for each basic operation in the multiple basic operation and multiple basic operation that nonlinear type slide comprises; Operating parameter required for each basic operation and each basic operation is tested application program to be tested.Owing to obtaining the operating parameter required for each basic operation in multiple basic operation and multiple basic operation that nonlinear type slide comprises, when so utilizing each basic operation and the operating parameter required for each basic operation to test application program to be tested, consider nonlinear type slide, improve the accuracy of the test result of test application program to be tested.
Embodiment 4
See Fig. 4, it illustrates the terminal structure schematic diagram with Touch sensitive surface involved by the embodiment of the present invention, the application programs that this terminal may be used for implementing to provide in above-described embodiment carries out the method for testing.Specifically:
Terminal 900 can comprise RF(Radio Frequency, radio frequency) circuit 110, the storer 120 including one or more computer-readable recording mediums, input block 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi (wireless fidelity, Wireless Fidelity) module 170, include the parts such as processor 180 and power supply 190 that more than or processes core.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of the terminal structure shown in Fig. 4, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:
RF circuit 110 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, transfer to more than one or one processor 180 to process; In addition, base station is sent to by relating to up data.Usually, RF circuit 110 includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupling mechanism, LNA(Low Noise Amplifier, low noise amplifier), diplexer etc.In addition, RF circuit 110 can also by radio communication and network and other devices communicatings.Described radio communication can use arbitrary communication standard or agreement, include but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband CodeDivision Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc.
Storer 120 can be used for storing software program and module, and processor 180 is stored in software program and the module of storer 120 by running, thus performs the application of various function and data processing.Storer 120 mainly can comprise storage program district and store data field, and wherein, storage program district can store operating system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of terminal 900.In addition, storer 120 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, storer 120 can also comprise Memory Controller, to provide the access of processor 180 and input block 130 pairs of storeies 120.
Input block 130 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, control lever, optics or trace ball signal and inputs.Particularly, input block 130 can comprise Touch sensitive surface 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on Touch sensitive surface 131 or near Touch sensitive surface 131 such as finger, stylus) thereon, and drive corresponding coupling arrangement according to the formula preset.Optionally, Touch sensitive surface 131 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 180, and the order that energy receiving processor 180 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize Touch sensitive surface 131.Except Touch sensitive surface 131, input block 130 can also comprise other input equipments 132.Particularly, other input equipments 132 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, control lever etc.
Display unit 140 can be used for the various graphical user interface showing information or the information being supplied to user and the terminal 900 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 140 can comprise display panel 141, optionally, the form such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) can be adopted to configure display panel 141.Further, Touch sensitive surface 131 can cover display panel 141, when Touch sensitive surface 131 detects thereon or after neighbouring touch operation, send processor 180 to determine the type of touch event, on display panel 141, provide corresponding vision to export with preprocessor 180 according to the type of touch event.Although in the diagram, Touch sensitive surface 131 and display panel 141 be as two independently parts realize input and input function, in certain embodiments, can by Touch sensitive surface 131 and display panel 141 integrated and realize input and output function.
Terminal 900 also can comprise at least one sensor 150, such as optical sensor, motion sensor and other sensors.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display panel 141, proximity transducer when terminal 900 moves in one's ear, can cut out display panel 141 and/or backlight.As the one of motion sensor; Gravity accelerometer can detect the size of all directions (are generally three axles) acceleration; size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as passometer, knock) etc.; As for terminal 900 also other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and terminal 900.Voicefrequency circuit 160 can by receive voice data conversion after electric signal, be transferred to loudspeaker 161, by loudspeaker 161 be converted to voice signal export; On the other hand, the voice signal of collection is converted to electric signal by microphone 162, voice data is converted to after being received by voicefrequency circuit 160, after again voice data output processor 180 being processed, through RF circuit 110 to send to such as another terminal, or export voice data to storer 120 to process further.Voicefrequency circuit 160 also may comprise earphone jack, to provide the communication of peripheral hardware earphone and terminal 900.
WiFi belongs to short range wireless transmission technology, and terminal 900 can help user to send and receive e-mail by WiFi module 170, browse webpage and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Fig. 4 shows WiFi module 170, be understandable that, it does not belong to must forming of terminal 900, can omit in the scope of essence not changing invention as required completely.
Processor 180 is control centers of terminal 900, utilize the various piece of various interface and the whole mobile phone of connection, software program in storer 120 and/or module is stored in by running or performing, and call the data be stored in storer 120, perform various function and the process data of terminal 900, thus integral monitoring is carried out to mobile phone.Optionally, processor 180 can comprise one or more process core; Preferably, processor 180 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 180.
Terminal 900 also comprises the power supply 190(such as battery of powering to all parts), preferably, power supply can be connected with processor 180 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 190 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, terminal 900 can also comprise camera, bluetooth module etc., does not repeat them here.Specifically in the present embodiment, the display unit of terminal 900 is touch-screen displays, terminal 900 also includes storer, and one or more than one program, one of them or more than one program are stored in storer, and are configured to be performed by more than one or one processor state more than one or one routine package containing the instruction for carrying out following operation:
Obtain action type;
If this action type is the action type of nonlinear type slide, obtain the operating parameter required for each basic operation in the multiple basic operation and multiple basic operation that nonlinear type slide comprises;
Operating parameter required for each basic operation and each basic operation is tested application program to be tested.
Preferably, obtain the operating parameter required for each basic operation in the multiple basic operation and multiple basic operation that nonlinear type slide comprises, comprising:
According to this action type, from the corresponding relation of action type and basic operation, obtain multiple basic operations that nonlinear type slide comprises;
The operating parameter required for each basic operation in the multiple basic operation of stochastic generation.
Preferably, multiple basic operation comprises a finger push, a finger lifts operation and the operation of at least one finger sliding, the operating parameter of finger push is a starting point, the operating parameter that finger lifts operation is a terminal, and the operating parameter of finger sliding operation at least comprises middle flex point and a time of arrival.
Preferably, the operating parameter required for each basic operation and each basic operation is tested application program to be tested, comprising:
According to the operating parameter required for each basic operation, simulation nonlinear type slide obtains operational order;
Operational order is inputed to application program to be tested, obtains execution result to make application program executable operations instruction to be tested;
Judge according to the stability of execution result to application program to be tested.
Preferably, operational order is inputed to application program to be tested, to make application program executable operations instruction to be tested obtain execution result, comprising:
According to the signal type that the touch-screen of mobile terminal is supported, test signal is converted to operational order;
Test signal is inputed to application program to be tested, makes application program to be tested carry out execution according to test signal and obtain execution result.
Further, according to the signal type that the touch-screen of mobile terminal is supported, before test signal is converted to operational order, also comprise:
Obtain the interface document that the touch-screen of mobile terminal is corresponding;
The configuration information of the touch-screen of mobile terminal is obtained from interface document;
According to configuration information, the signal type that the touch-screen obtaining mobile terminal is supported.
Preferably, obtain the interface document that the touch-screen of mobile terminal is corresponding, comprising:
Obtain the interface document of each parts of mobile terminal;
From the interface document of each parts, obtain the component names of each parts respectively;
From the component names of each parts, obtain the component names comprising preset keyword corresponding to touch-screen;
Interface document corresponding for the component names of acquisition is defined as the interface document that the touch-screen of mobile terminal is corresponding.
Further, the method also comprises:
If action type is not the action type of nonlinear type slide, the operating parameter required for the operation that stochastic generation action type is corresponding, according to operating parameter, tests application program to be tested.
In embodiments of the present invention, action type is obtained; If this action type is the action type of nonlinear type slide, obtain the operating parameter required for each basic operation in the multiple basic operation and multiple basic operation that nonlinear type slide comprises; Operating parameter required for each basic operation and each basic operation is tested application program to be tested.Owing to obtaining the operating parameter required for each basic operation in multiple basic operation and multiple basic operation that nonlinear type slide comprises, when so utilizing each basic operation and the operating parameter required for each basic operation to test application program to be tested, consider nonlinear type slide, improve the accuracy of the test result of test application program to be tested.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (16)

1. application programs carries out a method of testing, and it is characterized in that, described method comprises:
Obtain action type;
If described action type is the action type of nonlinear type slide, obtain the operating parameter required for each basic operation in the multiple basic operation and described multiple basic operation that described nonlinear type slide comprises;
Operating parameter required for described each basic operation and described each basic operation is tested application program to be tested.
2. the method for claim 1, is characterized in that, the operating parameter required for each basic operation in multiple basic operation that described acquisition described nonlinear type slide comprises and described multiple basic operation, comprising:
According to described action type, from the corresponding relation of action type and basic operation, obtain multiple basic operations that described nonlinear type slide comprises;
The operating parameter required for each basic operation in multiple basic operation described in stochastic generation.
3. the method for claim 1, it is characterized in that, described multiple basic operation comprises a finger push, a finger lifts operation and the operation of at least one finger sliding, the operating parameter of described finger push is a starting point, the operating parameter that described finger lifts operation is a terminal, and the operating parameter of described finger sliding operation at least comprises middle flex point and a time of arrival.
4. the method for claim 1, is characterized in that, described operating parameter required for described each basic operation and described each basic operation is tested application program to be tested, comprising:
According to the operating parameter required for described each basic operation, simulate described nonlinear type slide and obtain operational order;
Described operational order is inputed to application program to be tested, performs described operational order to make described application program to be tested and obtain execution result;
Judge according to the stability of described execution result to described application program to be tested.
5. method as claimed in claim 4, is characterized in that, described described operational order is inputed to application program to be tested, performs described operational order and obtains execution result, comprising to make described application program to be tested:
According to the signal type that the touch-screen of described mobile terminal is supported, test signal is converted to described operational order;
Described test signal is inputed to application program to be tested, makes described application program to be tested carry out execution according to described test signal and obtain execution result.
6. method as claimed in claim 5, is characterized in that, the signal type that the described touch-screen according to described mobile terminal is supported, before being converted to test signal to described operational order, also comprises:
Obtain the interface document that the touch-screen of mobile terminal is corresponding;
The configuration information of the touch-screen of described mobile terminal is obtained from described interface document;
According to described configuration information, the signal type that the touch-screen obtaining described mobile terminal is supported.
7. method as claimed in claim 6, is characterized in that, the interface document that the touch-screen of described acquisition mobile terminal is corresponding, comprising:
Obtain the interface document of each parts of mobile terminal;
From the interface document of described each parts, obtain the component names of described each parts respectively;
From the component names of described each parts, obtain the component names comprising preset keyword corresponding to described touch-screen;
Interface document corresponding for the component names of described acquisition is defined as the interface document that the touch-screen of described mobile terminal is corresponding.
8. the method for claim 1, is characterized in that, described method also comprises:
If described action type is not the action type of nonlinear type slide, the operating parameter required for the operation that action type described in stochastic generation is corresponding, according to described operating parameter, tests application program to be tested.
9. application programs carries out the device tested, and it is characterized in that, described device comprises:
First acquisition module, for obtaining action type;
Second acquisition module, if the action type for described action type being nonlinear type slide, obtains the operating parameter required for each basic operation in the multiple basic operation and described multiple basic operation that described nonlinear type slide comprises;
Test module, for testing application program to be tested according to the operating parameter of described each basic operation and described each basic operation.
10. device as claimed in claim 9, it is characterized in that, described second acquisition module comprises:
Acquiring unit, for according to described action type, obtains multiple basic operations that described nonlinear type slide comprises from the corresponding relation of action type and basic operation;
First generation unit, for the operating parameter of each basic operation in basic operation multiple described in stochastic generation.
11. devices as claimed in claim 9, it is characterized in that, described multiple basic operation comprises a finger push, a finger lifts operation and the operation of at least one finger sliding, the operating parameter of described finger push is a starting point, the operating parameter that described finger lifts operation is a terminal, and the operating parameter of described finger sliding operation at least comprises middle flex point and a time of arrival.
12. devices as claimed in claim 9, it is characterized in that, described test module comprises:
Analogue unit, for the operating parameter according to described each basic operation, simulates described nonlinear type slide and obtains operational order;
Input block, for described operational order is inputed to application program to be tested, performs described operational order to make described application program to be tested and obtains execution result;
Judging unit, for judging according to the stability of described execution result to described application program to be tested.
13. devices as claimed in claim 12, it is characterized in that, described input block comprises:
Conversion subelement, for the signal type supported according to the touch-screen of described mobile terminal, is converted to test signal to described operational order;
Input subelement, for described test signal is inputed to application program to be tested, makes described application program to be tested carry out execution according to described test signal and obtains execution result.
14. devices as claimed in claim 13, it is characterized in that, described input block, also comprises:
First obtains subelement, the interface document that the touch-screen for obtaining mobile terminal is corresponding;
Second obtains subelement, for obtaining the configuration information of the touch-screen of described mobile terminal from described interface document;
3rd subelement, for according to described configuration information, obtains the signal type of the touch-screen support of described mobile terminal.
15. devices as claimed in claim 14, is characterized in that, described first obtains subelement, for obtaining the interface document of each parts of mobile terminal; From the interface document of described each parts, obtain the component names of described each parts respectively; From the component names of described each parts, obtain the component names comprising preset keyword corresponding to described touch-screen; Interface document corresponding for the component names of described acquisition is defined as the interface document that the touch-screen of described mobile terminal is corresponding.
16. devices as claimed in claim 9, it is characterized in that, described device, if for described action type be not also the action type of nonlinear type slide, operating parameter required for the operation that action type described in stochastic generation is corresponding, according to described operating parameter, application program to be tested is tested.
CN201410152787.3A 2014-04-16 2014-04-16 A kind of method and device that application program is tested Active CN105005529B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410152787.3A CN105005529B (en) 2014-04-16 2014-04-16 A kind of method and device that application program is tested

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410152787.3A CN105005529B (en) 2014-04-16 2014-04-16 A kind of method and device that application program is tested

Publications (2)

Publication Number Publication Date
CN105005529A true CN105005529A (en) 2015-10-28
CN105005529B CN105005529B (en) 2018-10-23

Family

ID=54378208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410152787.3A Active CN105005529B (en) 2014-04-16 2014-04-16 A kind of method and device that application program is tested

Country Status (1)

Country Link
CN (1) CN105005529B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105893201A (en) * 2015-12-10 2016-08-24 乐视致新电子科技(天津)有限公司 Test method and system of analog terminal equipment
CN105975367A (en) * 2016-04-29 2016-09-28 腾讯科技(深圳)有限公司 Mobile equipment test method and device
CN107301765A (en) * 2016-04-15 2017-10-27 零度智控(北京)智能科技有限公司 Remote control thereof, device and terminal
CN109062779A (en) * 2018-06-07 2018-12-21 优视科技有限公司 Test control method, main control device, controlled device and test macro

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101944022A (en) * 2010-09-03 2011-01-12 中国科学院软件研究所 UI object operation simulation method facing Android and derivative system thereof
CN102521118B (en) * 2011-11-11 2014-12-10 福建星网视易信息系统有限公司 Automatic testing method of Android program
CN103324424B (en) * 2012-03-23 2016-03-16 百度在线网络技术(北京)有限公司 A kind of method and system of remote simulation multi-point touch
US8504842B1 (en) * 2012-03-23 2013-08-06 Google Inc. Alternative unlocking patterns
CN103376929B (en) * 2012-04-20 2016-04-06 鸿富锦精密工业(深圳)有限公司 Touch operation method and use its electronic system
CN103365441B (en) * 2013-06-24 2016-05-04 百度时代网络技术(北京)有限公司 The method of computer terminal Long-distance Control Android mobile phone desktop

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105893201A (en) * 2015-12-10 2016-08-24 乐视致新电子科技(天津)有限公司 Test method and system of analog terminal equipment
CN107301765A (en) * 2016-04-15 2017-10-27 零度智控(北京)智能科技有限公司 Remote control thereof, device and terminal
CN105975367A (en) * 2016-04-29 2016-09-28 腾讯科技(深圳)有限公司 Mobile equipment test method and device
CN109062779A (en) * 2018-06-07 2018-12-21 优视科技有限公司 Test control method, main control device, controlled device and test macro

Also Published As

Publication number Publication date
CN105005529B (en) 2018-10-23

Similar Documents

Publication Publication Date Title
CN103473011B (en) A kind of mobile terminal performance detection method, device and mobile terminal
CN104427074B (en) A kind of methods, devices and systems for showing incoming information
CN106453511B (en) A kind of data back up method and equipment
CN104516812A (en) Method and device for testing software
CN103455407A (en) Mobile terminal CPU (Central Processing Unit) occupation rate monitoring method and device and mobile terminal
CN104572430A (en) Method, device and system for testing terminal application interface
CN104598476A (en) Message aggregation display method and information display method and relevant device
CN103455343A (en) Method and device for updating application programs
CN107276602B (en) Radio frequency interference processing method, device, storage medium and terminal
CN104636255A (en) Method and device for testing webpage application display effect
CN104850406A (en) Page switching method and device
CN104077211A (en) Test method and test system for mobile terminal software
CN106371749A (en) Method and device for terminal control
CN105320701A (en) Method and device for screening function point test implementing ways, and terminal
CN104423822A (en) Automated test script recording method and device
CN107219951A (en) Touch screen control method, device, storage medium and terminal device
CN106385485A (en) Call recording method, call recording device and mobile terminal
CN105005529A (en) Application testing method and apparatus
CN103399706A (en) Page interaction method, device and terminal
CN104809055A (en) Application program test method and device based on cloud platform
CN107122036A (en) CPU frequency adjusting method and device
CN104391588B (en) A kind of method of input prompt and device
CN104951324A (en) Method and device for acquiring application calling relation table
CN104965825A (en) Method and terminal for processing data
CN104238931A (en) Information input method, information input device and electronic equipment

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