CN105005529B - A kind of method and device that application program is tested - Google Patents

A kind of method and device that application program is tested Download PDF

Info

Publication number
CN105005529B
CN105005529B CN201410152787.3A CN201410152787A CN105005529B CN 105005529 B CN105005529 B CN 105005529B CN 201410152787 A CN201410152787 A CN 201410152787A CN 105005529 B CN105005529 B CN 105005529B
Authority
CN
China
Prior art keywords
tested
application program
type
operating parameter
mobile terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410152787.3A
Other languages
Chinese (zh)
Other versions
CN105005529A (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

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

Abstract

The invention discloses a kind of method and devices tested application program, belong to field of computer technology.The method includes:Obtain action type;If the action type is the action type of nonlinear type slide, the required operating parameter of each basic operation in the multiple basic operations and multiple basic operations that nonlinear type slide includes is obtained;Application program to be tested is tested according to each basic operation and the required operating parameter of each basic operation.Described device includes:First acquisition module, the second acquisition module and test module.The present invention considers nonlinear type slide in test application program, can improve the accuracy of the test result of test application program.

Description

A kind of method and device that application program is tested
Technical field
The present invention relates to field of computer technology, more particularly to a kind of method and device that application program is tested.
Background technology
In development and application program, in order to ensure the stability for the application program developed, need to survey application program Examination.When testing application program, needs to input a large amount of user operation instruction to application program in preset time, answer These user operation instructions are executed with program and export implementing result, if the implementing result of application program output is correct, Test out the application program high stability.If there is the implementing result of mistake in the implementing result of application program output, It is relatively low to test out the application program stability, then technical staff again optimizes the application program to improve the application program Stability.
Currently, the prior art provides a kind of method tested application program, including:Random setting is a large amount of to sit Punctuate pair, each group of coordinate points are to including a starting point and a terminal, the beginning and end group for being used in combination coordinate points centering to include At line segment analog subscriber carry out linear slide operation on the screen when the path slided.Respectively according to each group of coordinate points pair, An event is generated, which is linear type user operation instruction.Multiple events of generation are inputed into application to be tested Program.Application program to be tested receives and executes each event, the corresponding implementing result of each event is exported, if to be tested Application program output each event implementing result it is correct, then test out application program high stability to be tested; If in the implementing result of each event of application program output to be tested, there are the appearance of the implementing result of at least one event It is relatively low then to test out application program stability to be tested for mistake.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
Since coordinate points are to only including a starting point and a terminal, so linear user's operation can only be simulated, such as This does not account for the user's operation of the nonlinear type sliding complexity such as screen or the screen that slidably reciprocates in test application program, therefore Reduce the accuracy of the test result of test application program.
Invention content
In order to improve test application program test result accuracy, the present invention provides it is a kind of to application program carry out The method and device of test.The technical solution is as follows:
A method of application program is tested, the method includes:
Obtain action type;
If the action type is the action type of nonlinear type slide, the nonlinear type slide is obtained Including multiple basic operations and the multiple basic operation in the required operating parameter of each basic operation;
According to each basic operation and the required operating parameter of each basic operation to application to be tested Program is tested.
A kind of device tested application program, described device include:
First acquisition module, for obtaining action type;
Second acquisition module obtains institute if for the action type that the action type is nonlinear type slide It states required for each basic operation in the multiple basic operations and the multiple basic operation that nonlinear type slide includes Operating parameter;
Test module, for according to each basic operation and the required operating parameter pair of each basic operation Application program to be tested is tested.
In embodiments of the present invention, action type is obtained;If the action type is the operation of nonlinear type slide Type obtains needed for each basic operation in the multiple basic operations and multiple basic operations that nonlinear type slide includes The operating parameter wanted;According to each basic operation and the required operating parameter of each basic operation to application program to be tested It is tested.Due to obtaining each base in the multiple basic operations and multiple basic operations that nonlinear type slide includes The required operating parameter of this operation is so treated using each basic operation and the required operating parameter of each basic operation When the application program of test is tested, it is contemplated that nonlinear type slide improves and tests application program to be tested The accuracy of test result.
Description of the drawings
Fig. 1 is a kind of method flow diagram tested application program that the embodiment of the present invention 1 provides;
Fig. 2-1 is a kind of method flow diagram tested application program that the embodiment of the present invention 2 provides;
Fig. 2-2 is a kind of schematic diagram for L-type slide that the embodiment of the present invention 2 provides;
Fig. 2-3 is a kind of schematic diagram for Z-type slide that the embodiment of the present invention 2 provides;
Fig. 3 is a kind of apparatus structure schematic diagram tested application program that the embodiment of the present invention 3 provides;
Fig. 4 is a kind of structural schematic diagram for terminal that the embodiment of the present invention 4 provides.
Specific implementation mode
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Embodiment 1
Referring to Fig. 1, an embodiment of the present invention provides a kind of methods tested application program, including:
Step 101:Obtain action type;
Step 102:If the action type is the action type of nonlinear type slide, nonlinear type sliding behaviour is obtained The required operating parameter of each basic operation in multiple basic operations and multiple basic operations that work includes;
Step 103:According to each basic operation and the required operating parameter of each basic operation to application to be tested Program is tested.
Preferably, each base in the multiple basic operations and multiple basic operations that nonlinear type slide includes is obtained The required operating parameter of this operation, including:
According to the action type, nonlinear type slide packet is obtained from action type and the correspondence of basic operation The multiple basic operations included;
The required operating parameter of each basic operation in multiple basic operations is generated at random.
Preferably, multiple basic operations include that a finger down operates, a finger lifts operation and at least one hand Refer to slide, the operating parameter of finger down operation is a starting point, and the operating parameter that finger lifts operation is a terminal, finger The operating parameter of slide includes at least an intermediate inflection point and arrival time.
Preferably, according to each basic operation and the required operating parameter of each basic operation to application journey to be tested Sequence is tested, including:
According to the required operating parameter of each basic operation, simulation nonlinear type slide obtains operational order;
Operational order is inputed to application program to be tested, so that application program to be tested executes operational order and obtains Implementing result;
The stability of application program to be tested is judged according to implementing result.
Preferably, operational order is inputed to application program to be tested, so that application program to be tested executes operation Instruction obtains implementing result, including:
According to the signal type that the touch screen of mobile terminal is supported, operational order is carried out to be converted to test signal;
Test signal is inputed to application program to be tested, application program to be tested is made to be held according to test signal Row obtains implementing result.
Further, the signal type supported according to the touch screen of mobile terminal, carries out operational order to be converted to survey Before trial signal, further include:
Obtain the corresponding interface document of touch screen of mobile terminal;
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 of mobile terminal is supported is obtained.
Preferably, the corresponding interface document of touch screen of mobile terminal is obtained, including:
Obtain the interface document of each component of mobile terminal;
From the interface document of each component, the component names of each component are obtained respectively;
From the component names of each component, the component names for including the corresponding preset keyword of touch screen are obtained;
The corresponding interface document of the component names of acquisition is determined as to the corresponding interface document of touch screen of mobile terminal.
Further, this method further includes:
It is random to generate the corresponding operation of action type if action type is not the action type of nonlinear type slide Required operating parameter tests application program to be tested according to operating parameter.
In embodiments of the present invention, action type is obtained;If the action type is the operation of nonlinear type slide Type obtains needed for each basic operation in the multiple basic operations and multiple basic operations that nonlinear type slide includes The operating parameter wanted;According to each basic operation and the required operating parameter of each basic operation to application program to be tested It is tested.Due to obtaining each base in the multiple basic operations and multiple basic operations that nonlinear type slide includes The required operating parameter of this operation is so treated using each basic operation and the required operating parameter of each basic operation When the application program of test is tested, it is contemplated that nonlinear type slide improves and tests application program to be tested The accuracy of test result.
Embodiment 2
An embodiment of the present invention provides a kind of methods tested application program.
In development and application program, in order to ensure that the stability of application program, terminal need to test application program. When testing application program, terminal needs to input a large amount of user operation instruction to application program in preset time, Therefore analog subscriber operation is needed to automatically generate user operation instruction, and terminal can automatically generate user behaviour by this method Make to instruct and test application program.
Referring to Fig. 2-1, specifically include:
Step 201:The action type that mobile terminal is supported is obtained, is obtained at random from the action type that mobile terminal is supported A kind of action type;
Mobile terminal supports a variety of action types, for example, mobile terminal support is clicked, double-clicked, long-press, linear type are slided, Two fingers touch zooms in or out and/or the action types such as nonlinear type sliding.Nonlinear type slide can be L-shaped sliding behaviour Work, Z-shaped slide and/or arc sliding operation etc., just differ a citing herein.
The executive agent of the present embodiment can be test terminal, and test terminal is in the action type for obtaining mobile terminal support Before, it is necessary first to which Root is carried out to mobile terminal(Root, brush machine)It handles to obtain administrator right, gets administrator's power After limit, just qualifies and obtain the action type that mobile terminal is supported.The operating system of mobile terminal defines mobile terminal The action type of support.It can be PC to test terminal(Personal computer, personal computer)Or tablet computer etc..
This step between mobile terminal specifically, establish communication connection, by the communication connection of foundation to mobile terminal It carries out Root processing and obtains administrator right, the operation class that mobile terminal is supported then is obtained from the operating system of mobile terminal Type obtains a kind of action type at random from the action type that mobile terminal is supported.
For example, it is assumed that the action type obtained is the action type of L-shaped slide.It establishes and communicates between mobile terminal Connection carries out Root processing to mobile terminal by the communication connection of foundation and obtains administrator right, then obtains mobile terminal The action type of support, it is L-shaped slide to obtain a kind of action type at random from the action type that mobile terminal is supported Action type.
Step 202:Judge whether the action type obtained is the action type of nonlinear type slide, if so, holding Row step 203, if not, executing step 206;
For example, judging the action type of the action type L-type slide of acquisition, and judge the action type For the action type of nonlinear type slide, 203 are thened follow the steps.
Step 203:According to the action type of the nonlinear type slide of acquisition, from pair of action type and basic operation It should be related to multiple basic operations that middle acquisition nonlinear type slide includes;
Nonlinear type slide is simulated by multiple basic operations.Multiple basic operations include that a finger down is grasped Work, at least one finger slide and a finger lift operation, and the operating parameter of finger down operation is a starting point, finger The operating parameter for lifting operation is a terminal, the operating parameter of finger slide include at least an intermediate inflection point and this among turn The arrival time of point.The correspondence of configured in advance action type and basic operation, the correspondence are non-straight for storing each The action type for the basic operation that the action type of linear slide and each non-linear slide include.
For example, with reference to Fig. 2-2, L-shaped slide operates by a finger down, a finger slide and a hand Finger lifts operation to simulate, and is operated first in starting point (x by finger down0,y0) at simulation press finger, then pass through finger Slide simulates finger from starting point (x0,y0) at slide into intermediate point (x1,y1) at, it lifts operation finally by finger and comes Finger is simulated from intermediate point (x1,y1) at slide into terminal (x2,y2) at and from terminal (x2,y2) at lift finger, to realize mould Quasi- L-shaped slide.It is recorded referring to the second row of table 1, L-shaped cunning is stored in action type and the correspondence of basic operation The action type for three basic operations that the action type and L-shaped slide of dynamic operation include.
Table 1
For another example, referring to figure 2-3, Z-shaped slide operated by a finger down, two finger slides and a hand Finger lifts operation to simulate, and is operated first in starting point (x by finger downa,ya) at simulation press finger, then pass through first A finger slide simulates finger from starting point (xa,ya) at slide into first intermediate point (xb,yb) at, passing through second A finger slide simulates finger from first intermediate point (xb,yb) at slide into second intermediate point (xc,yc) at, most Operation is lifted by finger afterwards to simulate finger from second intermediate point (xc,yc) at slide into terminal (xd,yd) at and from terminal (xd,yd) at lift finger, simulate Z-shaped slide to realize.It is recorded referring to the third line of table 1, in action type and basic behaviour The action type of Z-shaped slide is stored in the correspondence of work and the behaviour of four basic operations that Z-shaped slide includes Make type.
This step specifically, according to the action type of the nonlinear type slide of acquisition, from stored action type with The basic operation that the corresponding operation of action type of the nonlinear type slide includes is obtained in the correspondence of basic operation Action type.
For example, according to the action type of the L-type slide of acquisition, from stored action type as shown in Table 1 with In the correspondence of basic operation, the corresponding operation for operating the basic operation for including of action type of L-type slide is obtained Type, i.e. a finger down operation, a finger slide and a finger lift operation.
Step 204:According to multiple basic operations of acquisition, each basic operation institute in multiple basic operations is generated at random The operating parameter needed;
Wherein, one action type library of configured in advance, action type library include the corresponding behaviour of each action type Make function, the required operation ginseng of the corresponding operation of the action type is realized defined in the corresponding handling function of the action type Number.The handling function that action type library includes 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) are the corresponding handling function of action type clicked, the handling function Defined in the required operating parameter of single-click operation, parameter x and y indicate the abscissa and ordinate of click position point respectively, And type is all integer.
Int longTouch (int x, int y, int period) are the corresponding handling function of action type of long-press, The required operating parameter of long press operation, parameter x and y defined in the handling function indicate the abscissa of long-press location point respectively And ordinate, parameter period indicate length temporally, and the type of parameter is all integer.
Int doubleTap (int x, int y) are the corresponding handling function of action type double-clicked, defined in the function The required operating parameter of double click operation, parameter x and y respectively indicate to double-click the abscissa and ordinate of location point, and type All it is integer.
Int pan (int xStart, int yStart, int xEnd, int yEnd, int timeElipsed) are straight The corresponding handling function of action type of linear slide operation, linear type slide defined in the handling function are required Operating parameter, parameter xStart and yStart indicate the abscissa and ordinate of the starting point of linear type sliding, parameter xEnd respectively Indicate that the abscissa and ordinate of the terminal of linear type sliding, parameter timeElipsed indicate to slide from starting point respectively with yEnd Time to terminal, 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) it is that two fingers touch the operation class for zooming in or out operation The corresponding handling function of type, two fingers touch defined in the handling function zoom in or out the required operating parameter of operation, ginseng Number xStart1 and yStart1 indicates the abscissa and ordinate of the starting point of the first finger sliding, xEnd1 and yEnd1 difference respectively Indicate that the abscissa and ordinate of the terminal of the first finger sliding, parameter xStart2 and yStart2 indicate that second finger is slided respectively The abscissa and ordinate of dynamic starting point, xEnd2 and yEnd2 indicate the abscissa of the terminal of second finger sliding and vertical seat respectively Mark, parameter timeElipsed indicates that two fingers touch the time zoomed in or out, and the type of parameter is all integer.
Int touchDown (int x, int y) are the corresponding handling function of action type of finger down operation, the behaviour Finger down is defined as function and operates required operating parameter, and parameter x and y indicate the horizontal seat of finger down location point respectively Mark and ordinate, and type is all integer.
Int pressMove (int x, int y, int timeElipsed) are the action type pair of finger slide The handling function answered, the handling function define the required operating parameter of finger slide, and parameter x and y indicate hand respectively Refer to the abscissa and ordinate of the corresponding intermediate point of slide, parameter timeElipsed indicates that finger slide slides into The time of the intermediate point, and the type of parameter is all integer.
Int touchup (int x, int y) are the corresponding handling function of action type that finger lifts operation, the operation Function defines finger and lifts the required operating parameter of operation, and parameter x and y indicate that finger lifts the location point of operation respectively Abscissa and ordinate, and type is all integer.
This step from the action type library of configured in advance, obtains multiple specifically, according to multiple basic operations of acquisition The corresponding handling function of each basic operation in basic operation, obtains from the corresponding handling function of each basic operation respectively The title and data type of the required operating parameter of each basic operation, according to the required behaviour of each basic operation of acquisition Make the title and data type of parameter, generates the required operating parameter of each basic operation at random respectively.
For example, being operated according to the basic operation finger down of acquisition, from the action type library of configured in advance, finger is obtained The corresponding handling function int touchDown of push (int x, int y).From handling function int touchDown (int X, int y) in, obtain finger down operate required operating parameter entitled finger down location point abscissa x and Ordinate y and data type are all integer.According to the abscissa x of the finger down location point of acquisition and ordinate y and number All it is integer according to type, the random finger down that generates operates required operating parameter(1,1).
According to the basic operation finger slide of acquisition, from the action type library of configured in advance, finger sliding is obtained Operate corresponding handling function int pressMove (int x, int y, int timeElipsed).From handling function int In pressMove (int x, int y, int timeElipsed), the name of the required operating parameter of finger slide is obtained Referred to as the abscissa x and ordinate y of the corresponding intermediate point of finger slide and the time for sliding into the intermediate point TimeElipsed, and data type is all integer.Then the required operating parameter of finger slide is generated at random(1,0, 1).
Operation is lifted according to the basic operation finger of acquisition, from the action type library of configured in advance, finger is obtained and lifts Operate corresponding handling function int touchup (int x, int y).From handling function int touchup (int x, int y) In, obtain finger lift the abscissa x and ordinate y for the entitled finger cocked position point for operating required operating parameter with And data type is all integer.All it is according to the abscissa x and ordinate y of the finger cocked position point of acquisition and data type Integer, the random finger that generates lift the required operating parameter of operation(2,0).
Step 205:According to the required operating parameter of each basic operation, simulates the nonlinear type slide and grasped It instructs, then executes step 207;
Specifically, from action type library, the corresponding operating parameter of each basic operation is obtained respectively.According to each basic Required operating parameter is operated, calls the corresponding operating parameter of each basic operation respectively, to the nonlinear type slide It is simulated, obtains operational order.
For example, from action type library, finger down is obtained respectively and operates corresponding handling function int touchDown (int x, int y), the corresponding handling function int pressMove of finger slide (int x, int y, int TimeElipsed) and finger lifts the corresponding handling function int touchup (int x, int y) of operation.According to finger The required operating parameter of push(1,1), call operation function int touchDown (1,1).According to finger slide Required operating parameter(1,0,1), call operation function intpressMove (1,0,1).It is lifted needed for operation according to finger The operating parameter wanted(2,0), call operation function intpressMove (2,0).It realizes the simulation to L-type slide, obtains Operational order L1.
Step 206:According to the action type of acquisition, the required operation ginseng of the corresponding operation of the action type is generated at random Number simulates the corresponding operation of the action type and obtains operational order according to the operating parameter;
Specifically, according to the action type of acquisition, from the action type library of configured in advance, action type correspondence is obtained Handling function, obtained from the handling function of acquisition the required operating parameter of the corresponding operation of the action type title and Data type is generated according to the title and data type of the operating parameter of acquisition needed for the corresponding operation of the action type at random The operating parameter wanted calls the corresponding handling function of the action type, behaviour corresponding to the action type according to the operating parameter It is simulated, obtains operational order.
For example, it is assumed that the action type obtained is the action type clicked.According to the action type of the single-click operation of acquisition, From the action type library of configured in advance, the corresponding handling function int touch (int x, int y) of single-click operation are obtained, from The entitled list of the required operating parameter of single-click operation is obtained in the handling function int touch (int x, int y) of acquisition It is integer to hit the abscissa of location point and ordinate and data type, then generates the required operation of single-click operation at random and joins Number(1,1), according to the operating parameter(1,1), the corresponding handling function int touch (1,1) of single-click operation are called, to clicking behaviour It is simulated, obtains operational order L1.
Wherein, since the signal type that the touch screen of each mobile terminal is supported may be different, so obtaining operational order Later, it is also necessary to the signal type that the touch screen for operating to obtain mobile terminal of 207-209 is supported as follows.
Step 207:Obtain the corresponding interface document of touch screen of mobile terminal;
Wherein, mobile terminal includes multiple components, such as touch screen, keyboard or sound pick-up outfit, and just differ a citing herein. Each component that mobile terminal includes corresponds to an interface document respectively, and the corresponding interface document of component includes the portion of the component Part title.For the mobile terminal of different operating system, the storing directory of the interface document of component is different.For operating system phase Same mobile terminal, the storing directory for the total interface file that mobile terminal includes are identical.For example, being Android for operating system The storing directory of all mobile terminals of system, the interface document for all components that mobile terminal includes is /dev/input/.
This step is specifically, obtain the type of the operating system of mobile terminal, and according to the type of the operating system, determining should Mobile terminal stores the file directory of interface document.Under the file directory that mobile terminal stores interface document, the movement is obtained The interface document for each component that terminal includes.From the interface document of each component, the name of parts of each component is obtained respectively Claim.From the component names of each component of acquisition, the component names for including the corresponding preset keyword of touch screen are obtained.It will obtain The corresponding interface document of component names taken is determined as the corresponding interface document of touch screen of the mobile terminal.
Wherein, the corresponding preset keyword of touch screen can be ' touch ' or ' touchscreen ' etc..
For example, it is assumed that the operating system of mobile terminal is Android system, the corresponding preset keyword of touch screen is ‘touch'.The type for obtaining the operating system of mobile terminal is Android system, is Android system according to the type of the operating system System determines that the file directory of mobile terminal storage interface document is /dev/input/.Interface document is stored from mobile terminal File directory/dev/input/ under, obtain the interface document for each component that the mobile terminal includes, it is assumed that get component 1,2 and 3 interface document is respectively interface document F1, F2 and F3.The component names of obtaining widget 1 are from interface document F1 ' keyboard ', the component names of obtaining widget 2 are ' mouse ', the obtaining widget 3 from interface document F3 from interface document F2 Component names be ' touch panel '.From the component names ' keyboard ' of the component 1 of acquisition, the component names of component 2 ' in touch panel ', it includes the corresponding preset keyword of touch screen to obtain to the component names of ' mouse ' and component 3 The component names of touch ', i.e. component names ' the touch panel ' of component 3.By component names ' the touch panel ' of acquisition The corresponding interface document of touch screen that corresponding interface document F3 is determined as the mobile terminal.
Wherein, the code of the corresponding interface document of touch screen of mobile terminal is obtained, as follows:
Step 208:The configuration information of the touch screen of mobile terminal is obtained from the interface document of acquisition;
Wherein, at least a set of signal type is defined in existing multiple point touching agreement and often set signal type is corresponding Mark.Each mobile terminal manufacturer selects a set of class signal from least a set of signal type as defined in multiple point touching agreement Type, the signal type of the touch screen support of the mobile terminal as mobile terminal manufacturer production, by the set signal type Mark is added in the configuration information of touch screen, and configuration information is stored in the interface document of mobile terminal.
For example, obtaining the configuration information P of the touch screen of mobile terminal from the interface document F3 of acquisition.
Step 209:According to the configuration information of acquisition, the signal type that the touch screen of mobile terminal is supported is obtained;
Specifically, from the configuration information of acquisition, the mark of the signal type of the touch screen support of mobile terminal is obtained.Root According to the mark of acquisition, the signal type that the touch screen of mobile terminal is supported is obtained from multiple point touching agreement.
For example, it is assumed that the signal type that the configuration information P obtained includes is identified as S1, multiple point touching agreement defines The mark that first set, second set and third set signal type and first set, second set and third cover signal type be respectively S0, S1 and S2.From the configuration information P of acquisition, the mark S1 of the signal type of the touch screen support of mobile terminal is obtained.According to obtaining The mark S1 taken, the signal type that the touch screen support of mobile terminal is obtained from multiple point touching agreement is second set of class signal Type.
Wherein, the code of the signal type of the touch screen support of mobile terminal is obtained, as follows:
Step 210:According to the signal type that the touch screen of mobile terminal is supported, operational order is converted, is surveyed Trial signal;
Specifically, the format conversion of operational order is to touch by the signal type supported according to the touch screen of mobile terminal Shield the signal format supported, obtains test signal.
For example, according to second set of signal type of signal type that the touch screen of mobile terminal is supported, by operational order L1's Format conversion is the signal format that touch screen is supported, obtains test signal C1.
Wherein, it after obtaining test signal, is tested according to following steps 211 and 212 pairs of application programs to be tested.
Step 211:Test signal is inputed to application program to be tested, application program to be tested is made to be believed according to test It number is executed to obtain implementing result;
Wherein, test signal is written in the interface document of touch screen, input system is read from the interface document of touch screen Test signal is taken, then test signal is inputed to application program to be tested by input system again, and application program to be tested connects After receiving test signal, is executed according to test signal and export implementing result.
For example, it is assumed that application program to be tested is screen locker.Test signal C1 is written to the interface of touch screen In file F3, input system read test signal C1 from the interface document F3 of touch screen, then input system is again by test letter Number C1 inputs to screen locker, after screen locker receives test signal C1, is executed according to test signal C1, L-shaped unlocking pin is inputted in the nine grids of screen locking, processing then is unlocked to screen, if preset password is L The unlocking pin of shape then exports the successful result of unlock.If preset password is not L-shaped unlocking pin, exports unlock and lose The result lost.
Wherein, test signal is written to the code in the interface document of touch screen, as follows:
Wherein, it when testing application program, needs to input a large amount of user to application program in preset time Operational order, so needing in preset time, the operation for the 201-211 that repeats the above steps generates a large amount of test signal, and Application program to be tested is set to be executed to obtain implementing result according to a large amount of test signal of generation.
Step 212:The stability of application program to be tested is judged according to operation result.
Wherein, application program to be tested is executed to obtain in preset time according to a large amount of test signal executes knot Fruit judges the high stability of application program to be tested if obtained implementing result is correct.If what is obtained holds The implementing result that there is mistake in row result, then judge that the stability of application program to be tested is relatively low.
For example, it is assumed that the execution that screen locker is executed in preset time according to a large amount of test signal As a result correct, then according to the high stability for judging screen locker.
Wherein, for other each application programs installed on mobile terminal, with application program to be tested according to this hair The method that bright embodiment provides tests other each application programs installed on mobile terminal.
In embodiments of the present invention, action type is obtained;If the action type is the operation of nonlinear type slide Type obtains needed for each basic operation in the multiple basic operations and multiple basic operations that nonlinear type slide includes The operating parameter wanted;According to each basic operation and the required operating parameter of each basic operation to application program to be tested It is tested.Due to obtaining each base in the multiple basic operations and multiple basic operations that nonlinear type slide includes The required operating parameter of this operation is so treated using each basic operation and the required operating parameter of each basic operation When the application program of test is tested, it is contemplated that nonlinear type slide improves and tests application program to be tested The accuracy of test result.
Embodiment 3
Referring to Fig. 3, an embodiment of the present invention provides a kind of devices tested application program, including:
First acquisition module 301, for obtaining action type;
Second acquisition module 302 obtains non-if for the action type that the action type is nonlinear type slide The required operation ginseng of each basic operation in multiple basic operations and multiple basic operations that linear type slide includes Number;
Test module 303 is used for according to each basic operation and the required operating parameter of each basic operation to be measured The application program of examination is tested.
Wherein, the second acquisition module 302 includes:
Acquiring unit, for according to the action type, being obtained from action type and the correspondence of basic operation non-straight Linear slide operates the multiple basic operations for including;
First generation unit, for generating the required operation ginseng of each basic operation in multiple basic operations at random Number.
Wherein, multiple basic operations include that a finger down operates, a finger lifts operation and at least one finger The operating parameter of slide, finger down operation is a starting point, and the operating parameter that finger lifts operation is a terminal, and finger is slided The operating parameter of dynamic operation includes at least an intermediate inflection point and arrival time.
Wherein, test module 303 includes:
Analogue unit, for according to the required operating parameter of each basic operation, simulation nonlinear type slide to obtain To operational order;
Input unit, for operational order to be inputed to application program to be tested, so that application program to be tested is held Row operational order obtains implementing result;
Judging unit, for being judged the stability of application program to be tested according to implementing result.
Wherein, input unit includes:
Conversion subunit, the signal type for being supported according to the touch screen of mobile terminal, converts operational order Obtain test signal;
Input subelement makes application program root to be tested for test signal to be inputed to application program to be tested It is executed to obtain implementing result according to test signal.
Further, input unit further includes:
First obtains subelement, the corresponding interface document of touch screen for obtaining mobile terminal;
Second obtains subelement, the configuration information of the touch screen for obtaining mobile terminal from interface document;
Third subelement, for according to configuration information, obtaining the signal type that the touch screen of mobile terminal is supported.
Wherein, first subelement, the interface document of each component for obtaining mobile terminal are obtained;From each component In interface document, the component names of each component are obtained respectively;From the component names of each component, it includes touch screen pair to obtain The component names for the preset keyword answered;The corresponding interface document of the component names of acquisition is determined as to the touch screen of mobile terminal Corresponding interface document.
Further, the device, if it is the action type of nonlinear type slide to be additionally operable to the action type not, with Machine generates the corresponding required operating parameter of operation of action type and is carried out to application program to be tested according to operating parameter Test.
In embodiments of the present invention, action type is obtained;If the action type is the operation of nonlinear type slide Type obtains needed for each basic operation in the multiple basic operations and multiple basic operations that nonlinear type slide includes The operating parameter wanted;According to each basic operation and the required operating parameter of each basic operation to application program to be tested It is tested.Due to obtaining each base in the multiple basic operations and multiple basic operations that nonlinear type slide includes The required operating parameter of this operation is so treated using each basic operation and the required operating parameter of each basic operation When the application program of test is tested, it is contemplated that nonlinear type slide improves and tests application program to be tested The accuracy of test result.
Embodiment 4
Referring to Fig. 4, it illustrates the terminal structure schematic diagram with touch sensitive surface involved by the embodiment of the present invention, the ends The method that application program is tested that end can be used for implementing to provide in above-described embodiment.Specifically:
Terminal 900 may include RF(Radio Frequency, radio frequency)Circuit 110 includes one or more meters The memory 120 of calculation machine readable storage medium storing program for executing, input unit 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi (wireless fidelity, Wireless Fidelity) module 170, include there are one or more than one processing core processing The components such as device 180 and power supply 190.It will be understood by those skilled in the art that terminal structure shown in Fig. 4 is not constituted pair The restriction of terminal may include either combining certain components or different component cloth than illustrating more or fewer components It sets.Wherein:
RF circuits 110 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, one or the processing of more than one processor 180 are transferred to;In addition, the data for being related to uplink are sent to Base station.In general, RF circuits 110 include but not limited to antenna, at least one amplifier, tuner, one or more oscillators, use Family identity module(SIM)Card, transceiver, coupler, LNA(Low Noise Amplifier, low-noise amplifier), duplex Device etc..In addition, RF circuits 110 can also be communicated with network and other equipment by radio communication.The wireless communication can make With any communication standard or agreement, and including but not limited to GSM (Global System of Mobile communication, entirely Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), Email, SMS (Short Messaging Service, short message service) etc..
Memory 120 can be used for storing software program and module, and processor 180 is stored in memory 120 by operation Software program and module, to perform various functions application and data processing.Memory 120 can include mainly storage journey Sequence area and storage data field, wherein storing program area can storage program area, the application program needed at least one function(Than Such as sound-playing function, image player function)Deng;Storage data field can be stored uses created number according to terminal 900 According to(Such as audio data, phone directory etc.)Deng.In addition, memory 120 may include high-speed random access memory, can also wrap Include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts. Correspondingly, memory 120 can also include Memory Controller, to provide processor 180 and input unit 130 to memory 120 access.
Input unit 130 can be used for receiving the number or character information of input, and generate and user setting and function Control related keyboard, mouse, operating lever, optics or the input of trace ball signal.Specifically, input unit 130 may include touching Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are used Family is on it or neighbouring touch operation(For example user uses any suitable objects or attachment such as finger, stylus in touch-sensitive table Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional , touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and the signal that touch operation is brought is detected, transmit a signal to touch controller;Touch controller is from touch Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and can receive processor 180 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically, Other input equipments 132 can include but is not limited to physical keyboard, function key(Such as volume control button, switch key etc.), It is one or more in trace ball, mouse, operating lever etc..
Display unit 140 can be used for showing information input by user or the information and terminal 900 that are supplied to user Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and its arbitrary combination. Display unit 140 may include display panel 141, optionally, LCD (Liquid Crystal Display, liquid crystal may be used Show device), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel 141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 detects on it or neighbouring touches After touching operation, processor 180 is sent to determine the type of touch event, is followed by subsequent processing type of the device 180 according to touch event Corresponding visual output is provided on display panel 141.Although in Fig. 4, touch sensitive surface 131 and display panel 141 are conducts Two independent components realize input and input function, but in some embodiments it is possible to by touch sensitive surface 131 and display Panel 141 is integrated and realizes and outputs and inputs function.
Terminal 900 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 141, and proximity sensor can close display when terminal 900 is moved in one's ear Panel 141 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions(Generally Three axis)The size of acceleration can detect that size and the direction of gravity, can be used to identify the application of mobile phone posture when static(Than Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function(Such as pedometer, percussion)Deng;Extremely In other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensors that terminal 900 can also configure, herein It repeats no more.
Voicefrequency circuit 160, loud speaker 161, microphone 162 can provide the audio interface between user and terminal 900.Audio The transformed electric signal of the audio data received can be transferred to loud speaker 161 by circuit 160, and sound is converted to by loud speaker 161 Sound signal exports;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, after being received by voicefrequency circuit 160 Audio data is converted to, then by after the processing of audio data output processor 180, through RF circuits 110 to be sent to such as another end End, or audio data is exported to memory 120 to be further processed.Voicefrequency circuit 160 is also possible that 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's transceiver electronics by WiFi module 170 Mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 4 is shown WiFi module 170, but it is understood that, and it is not belonging to must be configured into for terminal 900, completely it can exist as needed Do not change in the range of the essence of invention and omits.
Processor 180 is the control centre of terminal 900, utilizes each portion of various interfaces and connection whole mobile phone Point, by running or execute the software program and/or module that are stored in memory 120, and calls and be stored in memory 120 Interior data execute the various functions and processing data of terminal 900, to carry out integral monitoring to mobile phone.Optionally, processor 180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modem processor, Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles nothing Line communicates.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal 900 further includes the power supply 190 powered to all parts(Such as battery), it is preferred that power supply can pass through electricity Management system and processor 180 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.Power supply 190 can also include one or more direct current or AC power, recharging system, power supply event Hinder the random components such as detection circuit, power supply changeover device or inverter, power supply status indicator.
Although being not shown, terminal 900 can also include camera, bluetooth module etc., and details are not described herein.Specifically in this reality It applies in example, the display unit of terminal 900 is touch-screen display, and terminal 900 further includes having memory and one or one Above program, one of them either more than one program be stored in memory and be configured to by one or one with Upper processor execution states one or more than one program includes the instruction for being operated below:
Obtain action type;
If the action type is the action type of nonlinear type slide, obtaining nonlinear type slide includes The required operating parameter of each basic operation in multiple basic operations and multiple basic operations;
Application program to be tested is carried out according to each basic operation and the required operating parameter of each basic operation Test.
Preferably, each base in the multiple basic operations and multiple basic operations that nonlinear type slide includes is obtained The required operating parameter of this operation, including:
According to the action type, nonlinear type slide packet is obtained from action type and the correspondence of basic operation The multiple basic operations included;
The required operating parameter of each basic operation in multiple basic operations is generated at random.
Preferably, multiple basic operations include that a finger down operates, a finger lifts operation and at least one hand Refer to slide, the operating parameter of finger down operation is a starting point, and the operating parameter that finger lifts operation is a terminal, finger The operating parameter of slide includes at least an intermediate inflection point and arrival time.
Preferably, according to each basic operation and the required operating parameter of each basic operation to application journey to be tested Sequence is tested, including:
According to the required operating parameter of each basic operation, simulation nonlinear type slide obtains operational order;
Operational order is inputed to application program to be tested, so that application program to be tested executes operational order and obtains Implementing result;
The stability of application program to be tested is judged according to implementing result.
Preferably, operational order is inputed to application program to be tested, so that application program to be tested executes operation Instruction obtains implementing result, including:
According to the signal type that the touch screen of mobile terminal is supported, operational order is carried out to be converted to test signal;
Test signal is inputed to application program to be tested, application program to be tested is made to be held according to test signal Row obtains implementing result.
Further, the signal type supported according to the touch screen of mobile terminal, carries out operational order to be converted to survey Before trial signal, further include:
Obtain the corresponding interface document of touch screen of mobile terminal;
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 of mobile terminal is supported is obtained.
Preferably, the corresponding interface document of touch screen of mobile terminal is obtained, including:
Obtain the interface document of each component of mobile terminal;
From the interface document of each component, the component names of each component are obtained respectively;
From the component names of each component, the component names for including the corresponding preset keyword of touch screen are obtained;
The corresponding interface document of the component names of acquisition is determined as to the corresponding interface document of touch screen of mobile terminal.
Further, this method further includes:
It is random to generate the corresponding operation of action type if action type is not the action type of nonlinear type slide Required operating parameter tests application program to be tested according to operating parameter.
In embodiments of the present invention, action type is obtained;If the action type is the operation of nonlinear type slide Type obtains needed for each basic operation in the multiple basic operations and multiple basic operations that nonlinear type slide includes The operating parameter wanted;According to each basic operation and the required operating parameter of each basic operation to application program to be tested It is tested.Due to obtaining each base in the multiple basic operations and multiple basic operations that nonlinear type slide includes The required operating parameter of this operation is so treated using each basic operation and the required operating parameter of each basic operation When the application program of test is tested, it is contemplated that nonlinear type slide improves and tests application program to be tested The accuracy of test result.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.

Claims (15)

1. a kind of method tested application program, which is characterized in that the method includes:
Obtain action type;
If the action type is the action type of nonlinear type slide, according to the action type, from action type With the multiple basic operations for obtaining the nonlinear type slide in the correspondence of basic operation and including;
The required operating parameter of each basic operation in the multiple basic operation is generated at random;
According to each basic operation and the required operating parameter of each basic operation to application program to be tested It is tested.
2. the method as described in claim 1, which is characterized in that the multiple basic operation include finger down operate, One finger lifts operation and at least one finger slide, and the operating parameter of the finger down operation is a starting point, institute It is a terminal to state finger and lift the operating parameter of operation, and the operating parameter of the finger slide includes at least an intermediate inflection point And arrival time.
3. the method as described in claim 1, which is characterized in that described according to each basic operation and described each basic Required operating parameter is operated to test application program to be tested, including:
According to each required operating parameter of basic operation, simulates the nonlinear type slide and obtain operation and refer to It enables;
The operational order is inputed to application program to be tested, so that the application program to be tested executes the operation Instruction obtains implementing result;
The stability of the application program to be tested is judged according to the implementing result.
4. method as claimed in claim 3, which is characterized in that described that the operational order is inputed to application journey to be tested Sequence, so that the application program to be tested, which executes the operational order, obtains implementing result, including:
According to the signal type that the touch screen of mobile terminal is supported, the operational order is carried out to be converted to test signal;
The test signal is inputed to application program to be tested, the application program to be tested is made to be believed according to the test It number is executed to obtain implementing result.
5. method as claimed in claim 4, which is characterized in that the signal supported according to the touch screen of the mobile terminal Type further includes before carrying out being converted to test signal to the operational order:
Obtain the corresponding interface document of touch screen of mobile terminal;
The configuration information of the touch screen of the mobile terminal is obtained from the interface document;
According to the configuration information, the signal type that the touch screen of the mobile terminal is supported is obtained.
6. method as claimed in claim 5, which is characterized in that the corresponding interface text of touch screen of the acquisition mobile terminal Part, including:
Obtain the interface document of each component of mobile terminal;
From the interface document of each component, the component names of each component are obtained respectively;
From the component names of each component, the component names for including the corresponding preset keyword of the touch screen are obtained;
The corresponding interface document of the component names of the acquisition is determined as to the corresponding interface text of touch screen of the mobile terminal Part.
7. the method as described in claim 1, which is characterized in that the method further includes:
If the action type is not the action type of nonlinear type slide, it is corresponding that the action type is generated at random Required operating parameter is operated, according to the operating parameter, application program to be tested is tested.
8. a kind of device tested application program, which is characterized in that described device includes:
First acquisition module, for obtaining action type;
Acquiring unit, if for the action type that the action type is nonlinear type slide, according to the operation class Type obtains multiple basic behaviour that the nonlinear type slide includes from action type and the correspondence of basic operation Make;
First generation unit, for generating the required operation ginseng of each basic operation in the multiple basic operation at random Number;
Test module is used for according to each basic operation and the required operating parameter of each basic operation to be measured The application program of examination is tested.
9. device as claimed in claim 8, which is characterized in that the multiple basic operation include finger down operate, One finger lifts operation and at least one finger slide, and the operating parameter of the finger down operation is a starting point, institute It is a terminal to state finger and lift the operating parameter of operation, and the operating parameter of the finger slide includes at least an intermediate inflection point And arrival time.
10. device as claimed in claim 8, which is characterized in that the test module includes:
Analogue unit, for according to each required operating parameter of basic operation, simulating the nonlinear type sliding behaviour Obtain operational order;
Input unit, for the operational order to be inputed to application program to be tested, so that the application journey to be tested Sequence executes the operational order and obtains implementing result;
Judging unit, for being judged the stability of the application program to be tested according to the implementing result.
11. device as claimed in claim 10, which is characterized in that the input unit includes:
Conversion subunit, the signal type for being supported according to the touch screen of mobile terminal, converts the operational order Obtain test signal;
Input subelement makes the application journey to be tested for the test signal to be inputed to application program to be tested Sequence is executed to obtain implementing result according to the test signal.
12. device as claimed in claim 11, which is characterized in that the input unit further includes:
First obtains subelement, the corresponding interface document of touch screen for obtaining mobile terminal;
Second obtains subelement, the configuration information of the touch screen for obtaining the mobile terminal from the interface document;
Third subelement, for according to the configuration information, obtaining the signal type that the touch screen of the mobile terminal is supported.
13. device as claimed in claim 12, which is characterized in that described first obtains subelement, for obtaining mobile terminal Each component interface document;From the interface document of each component, the name of parts of each component is obtained respectively Claim;From the component names of each component, the component names for including the corresponding preset keyword of the touch screen are obtained;It will The corresponding interface document of component names of the acquisition is determined as the corresponding interface document of touch screen of the mobile terminal.
14. device as claimed in claim 8, which is characterized in that described device, if being additionally operable to the action type not right and wrong The action type of linear type slide generates the corresponding required operating parameter of operation of the action type at random, according to The operating parameter tests application program to be tested.
15. a kind of computer readable storage medium, the storage medium is stored with one or more instruction, one Or more than one instruction is configured to execute surveying application program as described in claim 1 to 7 is any by processor The method of examination.
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 CN105005529A (en) 2015-10-28
CN105005529B true 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)

Families Citing this family (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
CN107301765B (en) * 2016-04-15 2021-11-30 北京远度互联科技有限公司 Remote control method, device and terminal
CN105975367B (en) * 2016-04-29 2022-03-25 腾讯科技(深圳)有限公司 Test method and device for mobile equipment
CN109062779A (en) * 2018-06-07 2018-12-21 优视科技有限公司 Test control method, main control device, controlled device and test macro

Citations (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
CN102521118A (en) * 2011-11-11 2012-06-27 福建星网视易信息系统有限公司 Automatic testing method of Android program
US8504842B1 (en) * 2012-03-23 2013-08-06 Google Inc. Alternative unlocking patterns
CN103324424A (en) * 2012-03-23 2013-09-25 百度在线网络技术(北京)有限公司 Remote simulation multi-point touch method and system
CN103365441A (en) * 2013-06-24 2013-10-23 福州博远无线网络科技有限公司 Method for remotely controlling Android mobile phone desktop through computer terminal
CN103376929A (en) * 2012-04-20 2013-10-30 鸿富锦精密工业(深圳)有限公司 Touch method and electronic system using same

Patent Citations (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
CN102521118A (en) * 2011-11-11 2012-06-27 福建星网视易信息系统有限公司 Automatic testing method of Android program
US8504842B1 (en) * 2012-03-23 2013-08-06 Google Inc. Alternative unlocking patterns
CN103324424A (en) * 2012-03-23 2013-09-25 百度在线网络技术(北京)有限公司 Remote simulation multi-point touch method and system
CN103376929A (en) * 2012-04-20 2013-10-30 鸿富锦精密工业(深圳)有限公司 Touch method and electronic system using same
CN103365441A (en) * 2013-06-24 2013-10-23 福州博远无线网络科技有限公司 Method for remotely controlling Android mobile phone desktop through computer terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Android图形解锁的绘制";NashLegend;《http://blog.51cto.com/nashlegend/1357865》;20140210;第2-3页 *
NashLegend."Android图形解锁的绘制".《http://blog.51cto.com/nashlegend/1357865》.2014, *

Also Published As

Publication number Publication date
CN105005529A (en) 2015-10-28

Similar Documents

Publication Publication Date Title
CN107038112B (en) Application interface debugging method and device
CN107357725B (en) Application testing method and device
CN105363201B (en) The display methods and device of prompt message
CN106126411B (en) The method and apparatus that a kind of pair of tested program code is tested
CN104636047B (en) The method, apparatus and touch screen terminal operated to the object in list
CN104077211B (en) A kind of test method and test system of mobile terminal software
CN107276602B (en) Radio frequency interference processing method, device, storage medium and terminal
CN105320701B (en) Screening technique, device and the terminal of function point test implementation
CN104572046B (en) A kind of storehouse restoring method and computer system
CN107943685B (en) Traversal path generation method and device, server and storage medium
CN105389259B (en) A kind of method, apparatus and system for carrying out Application testing
CN104699501B (en) A kind of method and device for running application program
CN105005529B (en) A kind of method and device that application program is tested
CN107390922A (en) virtual touch control method, device, storage medium and terminal
CN104820546B (en) Function information methods of exhibiting and device
CN107219951A (en) Touch screen control method, device, storage medium and terminal device
CN108492837A (en) Detection method, device and the storage medium of audio burst white noise
US20140372930A1 (en) Method and device for displaying a list view through a sliding operation
CN109582565A (en) Prevent the method, terminal and computer storage medium of application crashes
CN108604161A (en) A kind of method, apparatus and terminal device of locking list object
CN115904950A (en) Test case generation method, device, equipment and storage medium
CN105302589B (en) A kind of method and device obtaining unloading information
CN109062643A (en) A kind of display interface method of adjustment, device and terminal
CN107193551A (en) A kind of method and apparatus for generating picture frame
CN107506120A (en) Method for information display, terminal and computer-readable recording medium

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