CN104636247A - Testing device and testing method thereof - Google Patents

Testing device and testing method thereof Download PDF

Info

Publication number
CN104636247A
CN104636247A CN201310560630.XA CN201310560630A CN104636247A CN 104636247 A CN104636247 A CN 104636247A CN 201310560630 A CN201310560630 A CN 201310560630A CN 104636247 A CN104636247 A CN 104636247A
Authority
CN
China
Prior art keywords
end device
instruction
program
gui
application program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310560630.XA
Other languages
Chinese (zh)
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.)
Institute for Information Industry
Original Assignee
Institute for Information Industry
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 Institute for Information Industry filed Critical Institute for Information Industry
Priority to CN201310560630.XA priority Critical patent/CN104636247A/en
Publication of CN104636247A publication Critical patent/CN104636247A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a testing device and a testing method of the testing device. The testing device is connected to a terminal device. The terminal device operates a user graph interface, and the testing device operates a testing program to start a recording program. The testing method includes the following steps that several actions generated due to the fact that the terminal device is operated are detected; a prospect application program of the user graph interface is detected; several pieces of object information of the prospect application program are read; the actions are judged, and an object attribute operation and a calling instruction of the prospect application program are recorded. The testing device stops the recording program and generates and stores a script file and a log file. The script file comprises the object attribute and the calling instruction.

Description

Proving installation and method of testing thereof
Technical field
The invention relates to a proving installation and method of testing thereof.More specifically, proving installation of the present invention can to record when an end device is operated the action that produces, and by performed coordinate instruction with an object pattern record.
Background technology
Along with the progress of science and technology, Smartphone replaces conventional mobile phone gradually, to provide preferably user's GUI and diversified application program.For meeting the demand of numerous user, Smartphone dealer releases the Smartphone of various different hardware specification one after another, particularly touches the difference on screen sizes.In addition, user's GUI and application program also at large for various end device, such as: Smartphone, flat board, intelligent TV etc.
Ensuring the user's GUI designed by end device user's GUI of application-specific (in particularly for the operating system) to be able to normal operation on the end device on the market with different hardware specification (such as: touching screen sizes), software dealer can the running of test application on the end device with different hardware specification respectively.But existing user's GUI test is verify in artificial mode mostly, and this measure not only labor intensive more expends time in.
Such as, although existing relevant dealer proposes the technology of automatic test at present: co-ordinate-type, figure pattern, object concept formula and external hardware operate, and these technology still exist the problem in some practical applications.For example, though the operational order of co-ordinate-type is easily write, when touching screen sizes change or resolution changes, namely needing again to write, therefore all must set up specific operation commands set for the Smartphone of different type of machines.Though the operational order of image-type supports image ratio pair, promote design flexibility, image identification needs at substantial resource.Object concept formula, though can reach cross-platform test function, need coordinate original object to compile and the conversion of original program code, and need specific operating system authority just can carry out, and cannot operate across different application.Operated by external hardware and replace artificial operation, though do not cause the load of test macro, importing price higher, and also need again write operation description shelves for the end device of different type of machines.In addition, the technology of current automatic test all cannot support entity button test.
In view of this, how a kind of testing mechanism is provided, by the operation of end device, produce test script, avoid via artificial complicated setting, describe shelves write, original object compiling and original program code conversion, and cross-platform test can be reached and support entity button test, be the problem that the dealer in this field needs solution badly.
Summary of the invention
Be to provide a kind of testing mechanism order of the present invention, via the operation of recording terminal device, adopt the advantage of co-ordinate-type and object concept formula, to produce test script simultaneously.Thus, testing mechanism of the present invention can avoid artificial complicated setting, description shelves are write, original object compiles and the conversion of original program code, and can reach cross-platform test.
For reaching above-mentioned purpose, the present invention discloses a kind of proving installation, and it comprises a transceiver, a reservoir and a processor.This transceiver is used for linking to an end device.This end device runs user's GUI.This reservoir, for storing a test procedure.This processor is electrically connected to this transceiver and this reservoir, and for running this test procedure, to start a recording program, performs the following step: detect because of should several actions of being produced by operating of end device; Detect a prospect application program of this user's GUI; Read several article information of this prospect application program; Judge that one of them first action of these actions is the instruction of execution one coordinate, and according to this article information, record should the object property operations of this prospect application program of coordinate instruction; And judge that one of them second action of these actions is execution one call instruction, make this prospect application program switch to one second program by one first program, to record this call instruction.This processor more stops this recording program, to produce a script (script) shelves and a reference record (log) shelves, and is stored to this reservoir.This script files comprises this object property operations and this call instruction.
In addition, the present invention more discloses a kind of method of testing for a proving installation.This proving installation comprises a transceiver, a reservoir and a processor.This processor is electrically connected this transceiver and this reservoir.This transceiver links to an end device.This reservoir stores a test procedure.This end device runs user's GUI.This method of testing is performed by this processor and comprises the following step: (a) runs this test procedure, to start a recording program; B () detecting is because of should several actions of being produced by operating of end device; C () detects a prospect application program of this user's GUI; D () reads several article information of this prospect application program; E () judges that one of them first action of these actions is the instruction of execution one coordinate, and according to this article information, records should the object property operations of this prospect application program of coordinate instruction; F () judges that one of them second action of these actions is execution one call instruction, make this prospect application program switch to one second program by one first program, to record this call instruction; And (g) stops this recording program, to produce a script files and reference record shelves, and be stored to this storage device, this script files comprises this object property operations and this call instruction.
After accompanying drawings and the embodiment that describes subsequently, art has knows that the knowledgeable just can understand other object of the present invention usually, and technological means of the present invention and implement aspect.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of first embodiment of the invention and the 3rd embodiment, and it is described proving installation 11 and links to end device 21;
Fig. 2 is the schematic diagram of proving installation 11 of the present invention;
Fig. 3 is the schematic diagram of second embodiment of the invention and the 4th embodiment, and it is described proving installation 11 and links to end device 31;
Fig. 4 is the process flow diagram of a method of testing of the 5th embodiment;
Fig. 5 is the process flow diagram of a method of testing of the 6th embodiment;
Fig. 6 is the process flow diagram of a method of testing of the 7th embodiment; And
Fig. 7 is the process flow diagram of a method of testing of the 8th embodiment.
Symbol description:
11 proving installations
21 end devices
31 end devices
100 transmission lines
111 transceivers
113 processors
115 reservoirs
102 script files
104 reference record shelves
106 test record shelves
Embodiment
Below will explain content of the present invention by embodiment.Must expositor, embodiments of the invention are also not used to restriction the present invention and can must implement in any specific environment as described embodiments, application or particular form.Therefore, the explanation of one embodiment is only explaination object of the present invention, and is not used to limit the present invention, and the scope that this case is asked, be as the criterion with claims.In addition, in following examples and graphic in, the element relevant to non-immediate of the present invention omits and does not illustrate, and graphic below in each interelement size relationship be only and ask easy understanding, be not used to limit actual ratio.
As shown in Figure 1, Fig. 1 describes a proving installation 11 and links to an end device 21 first embodiment of the present invention.In the present embodiment, proving installation 11 links to end device 21 by a transmission line 100.But in other embodiments, proving installation 11 also links to end device 21 by wireless transmission method, such as: by the near-end such as WiFi, bluetooth wireless technology.End device 21 can be a Smartphone, a panel computer, wisdom glasses, a wisdom wrist-watch, an intelligent TV etc., and it mainly runs user's GUI.User's GUI belongs to an open source operating system (such as: Android operating system), and it allows user by the intrasystem function and application program of touch screen operation task.
In the present embodiment, end device 21 is assumed to be one confirmed by artificial or known automatic measuring technology can normal operation user GUI.Therefore, the present invention can via the operation of recording terminal device 21, to set up test script shelves, and by applying mechanically these test script shelves to end device to be measured, to reach the object of the operation at test user interface and entity button.Below illustrate be describe how to set up one can the script files of cross-platform test.
Proving installation 11 of the present invention comprises transceiver 111, processor 113 and a reservoir 115.Transceiver 111 can be has an interface (such as: universal serial convergence bus (Universal Serial Bus; USB) interface or particular access interface) connector, to link to end device 21 by interface transmission line 100, or can be a Wireless Transmitter, in order to link to end device 21 by a near-end wireless technology.In addition, transceiver 111 also can comprise above-mentioned connector and Wireless Transmitter simultaneously, optionally to link to end device 21.Reservoir 115 stores a test procedure.Reservoir 115 can be the combination for the machine-readable recording medium or multiple machine-readable recording medium providing a permanent storage for proving installation 11, such as a flash memory (flash memory), a hard disk or have identical function and be those who familiarize themselves with the technology any other known Storage Media.Accordingly, proving installation 11 can be a host computer, a worktable, a panel computer or arbitrary device with transceiver, reservoir and processor.
Processor 113 is electrically connected to transceiver 111 and reservoir 115.Operating personnel, via operational testing device 11, make processor 113 testing results program, and start a recording program.In this recording program, the several actions produced by operating in response to end device 21 detected by processor 113, and detect a prospect application program of user's GUI.Subsequently, processor 113 reads several article information of prospect application program.Palpus expositor, because the article information how obtaining application program in open source operating system is any means known belonging to the art, therefore not in this to go forth.
Then, processor 113 more judges that one of them first action of these actions is the instruction of execution one coordinate, and according to article information, an object property operations (such as: Press Button1, Input ' ABC ' to EditText1) of the prospect application program of record respective coordinates instruction.Coordinate instruction of the present invention acts in application program, falls within the object of (x, y) coordinate.In detail, when end device 21 has a touching screen, performed by coordinate instruction is operated in response to the touching screen of end device 21.In addition, when end device 21 has an image acquisition module, coordinate instruction also can capture performed by an image in response to image acquisition module.For example, acquisition module captures the pattern of the eyeball comprising operator continuously, to analyze the rotation of eyeball, and then produces coordinate instruction.
Processor 113 more judges that one of them second action of these actions is execution one call instruction (i.e. an external call program instruction), makes this prospect application program switch to one second program, with metered call instruction by one first program.Subsequently, operating personnel, via operational testing device 11, make processor 113 stop recording program, to produce a script (script) shelves 102 and a reference record (log) shelves 104, and are stored to reservoir 115.Script files 102 comprises object property operations and call instruction.Reference record shelves 104 are the results produced after recording coordinate instruction and call instruction execution.
As shown in Figure 3, it describes proving installation 11 and links to an end device 31 second embodiment of the present invention.Operator makes transceiver 111 and end device 21 interrupt connecting line, and links to end device 31.Similarly, in the present embodiment, end device 31 links to end device 31 by transmission line 100.But in other embodiments, end device 31 also links to end device 31 by a near-end wireless technology.
End device 31 is the same with end device 21 runs the user's GUI belonging to identical open source operating system, and shows on its touch screen.In the present embodiment, the screen (or touching screen) of end device 31 is have different size with the screen (or touching screen) of end device 21.In the case, operator, via operational testing device 11, makes processor 113 testing results program, to start a playback program, and test terminal device 31.Need expositor, in the present embodiment, for simplified illustration, still with proving installation 11 testing results program, but have in art and usually know that the knowledgeable can understand, other and proving installation 11 have identical function, namely have link to end device 31, store test procedure, the device of script files 102 and reference record shelves 104 and testing results program, also can reach the object of test terminal device 31, therefore no longer be repeated at this.
In this recording program, processor 113 can read from reservoir 115 script files 102 previously set up.Subsequently, script files 102 resolved by processor 113, and the article information of the prospect application program of user's GUI that reading terminals device 31 runs.Then, processor 113, according to the object property operations recorded in article information and script files 102, produces coordinate instruction.Thus, the coordinate instruction performing the call instruction in script files 102 by processor 113 and changed by object property operations, can make end device 31 carry out Leading End device 21 operated multiple actions of producing.Meanwhile, processor 113 performs these actions according to end device 31, and produces test record shelves 106.Subsequently, processor 113 can compare reference record shelves 104 and test record shelves 106, and to produce a test result, to find out reference record shelves 104 and test record shelves 106 difference, its GC group connector device 31 runs exception during user's GUI.
The third embodiment of the present invention is also with reference to figure 1 and Fig. 2.Be different from the first embodiment, in the present embodiment, end device 21 more comprises at least one entity button or a radio module, or comprises both simultaneously.In the case, the present invention can set up one can cross-platform test and support entity button test script files.Specifically, when processor 113 testing results program, and when starting a recording program, processor 113 more judges that one of them the 3rd action of these actions is execution one behavior command (such as :/dev/input1).Behavior command is operated in response to entity button or radio module receives performed by a phonetic entry, and it acts on adjustable sound or On/Off screen etc.In addition, operated in response to entity button or radio module reception phonetic entry, end device 21 also can perform a call instruction, to open an application-specific.
Thus, when operating personnel are via operational testing device 11, processor 113 is made to stop recording program, to produce a script (script) shelves 102 and a reference record (log) shelves 104, and when being stored to reservoir 115, script files 102 comprises behavior command, object property operations and call instruction.Reference record shelves 104 record the result produced after behavior command, coordinate instruction and call instruction perform.
Palpus expositor, previous embodiment is only with " one " first action, " one " second action and " one " the 3rd several action of producing of the action operating system of distinguishing end device 21, have in art and usually know that the knowledgeable can understand these actions easily and can comprise one or more first action, one or more second action and one or more 3rd action, therefore in fact script files 102 can comprise at least one or more behavior command, one or more object property operations and one or more call instruction.
Of the present invention 4th implements also to please refer to Fig. 3.Be different from the second embodiment, in the present embodiment, script files 102 and reference record shelves 104 are as described in the 3rd enforcement.In the case, when processor 113 testing results program, to start a playback program, during the device 31 of test terminal, the coordinate instruction that processor 113 performs behavior command in script files 102, call instruction and changed by object property operations, with make end device 31 carry out Leading End device 21 operated multiple actions of producing.Subsequently, processor 113 produces test record shelves 106, and can via comparing reference record shelves 104 and test record shelves 106, to produce a test result, to find out reference record shelves 104 and test record shelves 106 difference, its GC group connector device 31 runs exception during user's GUI.
The fifth embodiment of the present invention is a kind of method of testing for a proving installation; One flow chart illustration of this method of testing is shown in Figure 4.Method of testing of the present invention is performed (processor 113 of such as described in the aforementioned embodiment proving installation 11) by a processor of proving installation.In addition to processors, proving installation also has a transceiver and a reservoir.Processor is electrically connected transceiver and reservoir.Transceiver is connected to an end device.Reservoir stores a test procedure.End device runs user's GUI.
First, in step 401, testing results program, to start a recording program.Then, in step 403, the several actions produced by operating in response to end device are detected.In step 405, a prospect application program of detecting user GUI.In step 407, read several article information of prospect application program.
Subsequently, in step 409, judge that one of them first action of these actions is the instruction of execution one coordinate, and according to article information, an object property operations of the prospect application program of record respective coordinates instruction.In step 411, judge that one of them second action of these actions is execution one call instruction, make prospect application program switch to one second program, with metered call instruction by one first program.Finally, in step 413, stop recording program, to produce a script files and reference record shelves, and be stored to storage device.Script files comprises the object property operations and call instruction that record in step 409 and step 411.
Must expositor, have in art that usually to know that the knowledgeable should understand the sequencing that above-mentioned steps 409 and step 411 perform be determined according to the multiple actions detected.In addition, step 409 and step 411 and step 413 all will perform one or many, and its total degree is the quantity of the action equaling to detect.
Except above-mentioned steps, the method for testing of the present embodiment also can perform all operations described by aforementioned first embodiment and possess corresponding all functions.Art has knows that the knowledgeable can be directly acquainted with the present embodiment and how performs these operations based on the disclosure of aforementioned first embodiment and possess these functions usually, repeats no more in this.
The sixth embodiment of the present invention is a kind of method of testing for a proving installation; One flow chart illustration of this method of testing is shown in Figure 5.Method of testing of the present invention is performed (processor 113 of such as described in the aforementioned embodiment proving installation 11) by a processor of proving installation.In addition to processors, proving installation also has a transceiver and a reservoir.Processor is electrically connected transceiver and reservoir.Transceiver links to an end device.Reservoir stores test procedure, script files and reference record shelves as described in the fourth embodiment.End device runs user's GUI.
First, in step 501, resolve script files.Script files comprises object property operations and call instruction.In step 503, several article information of the prospect application program of user's GUI that reading terminals device runs.In step 505, according to these article information and object property operations, produce coordinate instruction.Subsequently, in step 507, perform coordinate instruction and call instruction.Then, in step 509, test record shelves are produced.Finally, in step 511, compare test record shelves and reference record shelves, to produce a test result.
Except above-mentioned steps, the method for testing of the present embodiment also can perform all operations described by aforementioned second embodiment and possess corresponding all functions.Art has knows that the knowledgeable can be directly acquainted with the present embodiment and how performs these operations based on the disclosure of aforementioned second embodiment and possess these functions usually, repeats no more in this.
The seventh embodiment of the present invention is a kind of method of testing for a proving installation; One flow chart illustration of this method of testing is shown in Figure 6.Method of testing of the present invention is performed (processor 113 of such as described in the aforementioned embodiment proving installation 11) by a processor of proving installation.In addition to processors, proving installation also has a transceiver and a reservoir.Processor is electrically connected transceiver and reservoir.Transceiver links to an end device.Reservoir stores a test procedure.End device runs user's GUI.
First, in step 601, testing results program, to start a recording program.Then, in step 603, the several actions produced by operating in response to end device are detected.In step 605, a prospect application program of detecting user GUI.In step 607, read several article information of prospect application program.
Subsequently, in step 609, judge that one of them first action of these actions is the instruction of execution one coordinate, and according to article information, an object property operations of the prospect application program of record respective coordinates instruction.In step 611, judge that one of them second action of these actions is execution one call instruction, make prospect application program switch to one second program by one first program, to record corresponding call instruction.In step 613, judge that one of them the 3rd action of these actions is execution one behavior command, to record behavior command.Finally, in step 615, stop recording program, to produce a script files and reference record shelves, and be stored to storage device.Script files comprises the behavior command, object property operations and the call instruction that record in step 609, step 611 and step 613.
Must expositor, have in art that usually to know that the knowledgeable should understand the sequencing that above-mentioned steps 609, step 611 and step 613 perform be determined according to the multiple actions detected.In addition, step 609, step 611 and step 613 all will perform one or many, and its total degree is the quantity of the action equaling to detect.
Except above-mentioned steps, the method for testing of the present embodiment also can perform all operations described by aforementioned third embodiment and possess corresponding all functions.Art has knows that the knowledgeable can be directly acquainted with the present embodiment and how performs these operations based on the disclosure of aforementioned third embodiment and possess these functions usually, repeats no more in this.
The eighth embodiment of the present invention is a kind of method of testing for a proving installation; One flow chart illustration of this method of testing is shown in Figure 7.Method of testing of the present invention is performed (processor 113 of such as described in the aforementioned embodiment proving installation 11) by a processor of proving installation.In addition to processors, proving installation also has a transceiver and a reservoir.Processor is electrically connected transferring and receiving apparatus and reservoir.Transceiver links to an end device.Reservoir stores test procedure, script files and reference record shelves as described in the 7th embodiment.End device runs user's GUI.
First, in step 701, resolve script files.Script files comprises behavior command, object property operations and call instruction.In step 703, several article information of the prospect application program of user's GUI that reading terminals device runs.In step 705, according to these article information and object property operations, produce coordinate instruction.Subsequently, in step 707, act of execution instruction, coordinate instruction and call instruction.Then, in step 709, test record shelves are produced.Finally, in step 711, compare test record shelves and reference record shelves, to produce a test result.
Except above-mentioned steps, the method for testing of the present embodiment also can perform all operations described by aforementioned 4th embodiment and possess corresponding all functions.Art has knows that the knowledgeable can be directly acquainted with the present embodiment and how performs these operations based on the disclosure of aforementioned 4th embodiment and possess these functions usually, repeats no more in this.
In sum, the invention provides a kind of testing mechanism, via the operation of recording terminal device, for the part of coordinate instruction with object property operations record, to produce a test script and reference record shelves.Subsequently, when testing another Smartphone according to test script, testing mechanism of the present invention is that object property operations is converted to coordinate instruction, and produced test record shelves are compared with reference record shelves, to find out the exception of tested end device when running user's GUI.Accordingly, the dawn can not avoid artificial complicated setting to testing mechanism of the present invention, description shelves are write, original object compiles and the conversion of original program code, more can reach cross-platform test and support entity button test.
The above embodiments are only used for exemplifying enforcement aspect of the present invention, and explain technical characteristic of the present invention, are not used for limiting protection category of the present invention.Anyly be familiar with this operator and the arrangement of unlabored change or isotropism can all belong to the scope that the present invention advocates, the scope of the present invention should be as the criterion with claims.

Claims (16)

1. a proving installation, is characterized in that, comprises:
One transceiver, for linking to an end device, runs user's GUI;
One reservoir, for storing a test procedure; And
One processor, is electrically connected to this transceiver and this reservoir, for running this test procedure, to start a recording program, performs the following step:
Detect because of should several actions of being produced by operating of end device;
Detect a prospect application program of this user's GUI;
Read several article information of this prospect application program;
Judge that one of them first action of described action is the instruction of execution one coordinate, and according to this article information, record should the object property operations of this prospect application program of coordinate instruction; And
Judge that one of them second action of described action is execution one call instruction, make this prospect application program switch to one second program by one first program, to record this call instruction;
Wherein, this processor more stops this recording program, and to produce a script files and reference record shelves, and be stored to this reservoir, this script files comprises this object property operations and this call instruction.
2. proving installation as claimed in claim 1, it is characterized in that, this end device more comprises a touching screen, and this user's GUI is shown in this touching screen, and this coordinate instruction is because touching performed by screen operated.
3. proving installation as claimed in claim 1, it is characterized in that, this end device more comprises an image acquisition module, and this coordinate instruction is because capturing performed by an image by image acquisition module.
4. proving installation as claimed in claim 1, it is characterized in that, when this transceiver and this end device interrupt line, and when linking to another end device, this processor more runs this test procedure, to start a playback program, performs the following step:
Resolve this script files;
Read the described article information of this prospect application program of another user's GUI that this another end device runs;
According to described article information and this object property operations, produce this coordinate instruction;
Perform this coordinate instruction and this call instruction;
Produce test record shelves; And
Relatively these reference record shelves and this test record shelves, to produce a test result.
5. proving installation as claimed in claim 4, it is characterized in that, this user's GUI and this another user's interface belong to an open source operating system.
6. proving installation as claimed in claim 4, it is characterized in that, a screen of this end device and a screen of this another end device have different size.
7. proving installation as claimed in claim 1, it is characterized in that, this end device more comprises at least one entity button or a radio module, and in this place, device is after this recording program of startup, more performs the following step
Judge that one of them the 3rd action of described action is execution one behavior command, to record behavior instruction, wherein behavior instruction is because should at least one entity button to be operated or this radio module receives performed by a phonetic entry, and script files more comprises behavior instruction.
8. proving installation as claimed in claim 7, it is characterized in that, when this transceiver and this end device interrupt line, and when linking to another end device, this processor more runs this test procedure, to start a playback program, performs the following step:
Resolve this script files;
Read the described article information of this prospect application program of another user's GUI that this another end device runs;
According to described article information and this object property operations, produce this coordinate instruction;
Perform behavior instruction, this coordinate instruction and this call instruction;
Produce test record shelves; And
Relatively these reference record shelves and this test record shelves, to produce a test result.
9. the method for testing for a proving installation, it is characterized in that, this proving installation comprises a transceiver, a reservoir and a processor, this processor is electrically connected this transceiver and this reservoir, this transceiver links to an end device, this reservoir stores a test procedure, and this end device runs user's GUI, and this method of testing is performed by this processor and comprises the following step:
A () runs this test procedure, to start a recording program;
B () detecting is because of should several actions of being produced by operating of end device;
C () detects a prospect application program of this user's GUI;
D () reads several article information of this prospect application program;
E () judges that one of them first action of described action is the instruction of execution one coordinate, and according to this article information, records should the object property operations of this prospect application program of coordinate instruction;
F () judges that one of them second action of described action is execution one call instruction, make this prospect application program switch to one second program by one first program, to record should call instruction;
G () stops this recording program, to produce a script files and reference record shelves, and be stored to this storage device, this script files comprises this object property operations and this call instruction.
10. method of testing as claimed in claim 9, it is characterized in that, this end device more comprises a touching screen, and this user's GUI is shown in this touching screen, and this coordinate instruction is because touching performed by screen operated.
11. method of testings as claimed in claim 9, it is characterized in that, this end device more comprises an image acquisition module, and this coordinate instruction is because capturing performed by an image by image acquisition module.
12. method of testings as claimed in claim 9, is characterized in that, when this transceiver and this end device interrupt line, and when linking to another end device, the method more comprises the following step:
Perform this test procedure, to start a playback program;
Resolve this script files;
Read the described article information of this prospect application program of another user's GUI that this another end device runs;
According to described article information and this object property operations, produce this coordinate instruction;
Perform this coordinate instruction and this call instruction;
Produce test record shelves; And
Relatively these reference record shelves and this test record shelves, to produce a test result.
13. method of testings as claimed in claim 12, is characterized in that, this user's GUI and this another user's interface belong to an open source operating system.
14. method of testings as claimed in claim 12, is characterized in that, a screen of this end device and a screen of this another end device have different size.
15. method of testings as claimed in claim 9, it is characterized in that, this end device more comprises at least one entity button or a radio module, and the method, before step (g), more comprises the following step:
E () judges that one of them the 3rd action of described action is execution one behavior command, to record behavior instruction, wherein behavior instruction is because should at least one entity button to be operated or this radio module receives performed by a phonetic entry, and this script files more comprises behavior instruction.
16. method of testings as claimed in claim 15, is characterized in that, when this transceiver and this end device interrupt line, and when linking to another end device, the method more comprises the following step:
Perform this test procedure, to start a playback program;
Resolve this script files;
Read the described article information of this prospect application program of another user's GUI that this another end device runs;
According to described article information and this object property operations, produce this coordinate instruction;
Perform behavior instruction, this coordinate instruction and this call instruction;
Produce test record shelves; And
Relatively these reference record shelves and this test record shelves, to produce a test result.
CN201310560630.XA 2013-11-12 2013-11-12 Testing device and testing method thereof Pending CN104636247A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310560630.XA CN104636247A (en) 2013-11-12 2013-11-12 Testing device and testing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310560630.XA CN104636247A (en) 2013-11-12 2013-11-12 Testing device and testing method thereof

Publications (1)

Publication Number Publication Date
CN104636247A true CN104636247A (en) 2015-05-20

Family

ID=53215032

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310560630.XA Pending CN104636247A (en) 2013-11-12 2013-11-12 Testing device and testing method thereof

Country Status (1)

Country Link
CN (1) CN104636247A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108549604A (en) * 2018-04-11 2018-09-18 上海达梦数据库有限公司 A kind of test script generation method, device, terminal device and storage medium
CN110502437A (en) * 2019-07-31 2019-11-26 惠州市德赛西威汽车电子股份有限公司 A kind of test macro and its method of on-vehicle Bluetooth application program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064781A (en) * 2011-10-18 2013-04-24 飞图科技(北京)有限公司 Mobile software automated testing method
US20130145217A1 (en) * 2011-12-01 2013-06-06 Mstar Semiconductor, Inc. Testing method and testing apparatus for testing function of electronic apparatus
CN103365779A (en) * 2013-07-09 2013-10-23 广东欧珀移动通信有限公司 Software test method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064781A (en) * 2011-10-18 2013-04-24 飞图科技(北京)有限公司 Mobile software automated testing method
US20130145217A1 (en) * 2011-12-01 2013-06-06 Mstar Semiconductor, Inc. Testing method and testing apparatus for testing function of electronic apparatus
CN103365779A (en) * 2013-07-09 2013-10-23 广东欧珀移动通信有限公司 Software test method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108549604A (en) * 2018-04-11 2018-09-18 上海达梦数据库有限公司 A kind of test script generation method, device, terminal device and storage medium
CN110502437A (en) * 2019-07-31 2019-11-26 惠州市德赛西威汽车电子股份有限公司 A kind of test macro and its method of on-vehicle Bluetooth application program
CN110502437B (en) * 2019-07-31 2023-07-28 惠州市德赛西威汽车电子股份有限公司 Test system and method for vehicle-mounted Bluetooth application program

Similar Documents

Publication Publication Date Title
US9317413B2 (en) Testing device and testing method thereof
CN105788227B (en) Fault diagnosis equipment for electricity consumption information acquisition system
CN105319455A (en) Automatic test system and method
KR101731293B1 (en) Mobile terminal test system and mobile terminal test method using the system
CN104484273A (en) Test method for application program, device and system
CN105338110A (en) Remote debugging method, platform and server
CN106126424B (en) A kind of visual automated testing method of script, device and mobile terminal
CN105095078A (en) Systematic automation testing device and method and calculating device
CN105426298A (en) ADB (Android debug bridge)-based software test method and system
TWI476587B (en) Testing method and testing apparatus for testing function of electronic apparatus
CN103853658A (en) Automated testing method for production and playback in Android equipment and Android equipment
CN104063324A (en) Method and system for Monkey test
CN112231206A (en) Script editing method for application program test, computer readable storage medium and test platform
CN111651232A (en) One-machine multi-control method, device and system and electronic equipment
CN104899140A (en) Test method for mobile terminal assembly
CN104636247A (en) Testing device and testing method thereof
CN108801321A (en) Sensor calibrating method, electronic device and computer readable storage medium
CN105005529A (en) Application testing method and apparatus
CN108667902B (en) Remote control system, method, device and equipment of iOS equipment
CN105808419B (en) Application testing method and terminal
CN105808460B (en) External equipment recognition methods, device and electronic equipment
JP5204343B1 (en) Test system and program
CN110297754A (en) A kind of test information feedback method and system
CN108595202A (en) Http request processing method and processing device
CN103324571B (en) A kind of method and system thereof of testing GPS module on embedded PCB A

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150520