CN103544099A - Method and device for testing programs on mobile device - Google Patents

Method and device for testing programs on mobile device Download PDF

Info

Publication number
CN103544099A
CN103544099A CN201210239222.XA CN201210239222A CN103544099A CN 103544099 A CN103544099 A CN 103544099A CN 201210239222 A CN201210239222 A CN 201210239222A CN 103544099 A CN103544099 A CN 103544099A
Authority
CN
China
Prior art keywords
test
tested
test procedure
tested program
procedure
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
CN201210239222.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.)
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 CN201210239222.XA priority Critical patent/CN103544099A/en
Publication of CN103544099A publication Critical patent/CN103544099A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method and device for testing programs on a mobile device, and belongs to the technical field of communication. The method comprises the steps that N testing programs are pre-deployed on the mobile device or a computer, wherein the N testing programs are used for testing N tested programs on the mobile device respectively, and N is a natural number which is larger than or equal to 2; the computer controls the N testing programs to be executed in a determined order, so that the N tested programs on the mobile device are tested in the determined order. The device comprises a deploy module and a testing module. The N testing programs are pre-deployed on the mobile device or the computer, the computer controls the N testing programs deployed on the mobile device or the computer to be executed in the determined order so as to test the N tested programs on the mobile device in the determined order, and the N tested programs can be tested every time, and testing efficiency is improved.

Description

The method and apparatus that program on mobile device is tested
Technical field
The present invention relates to communication technical field, particularly a kind of method and apparatus that program on mobile device is tested.
Background technology
Along with the development of the communication technology, the function of the mobile devices such as mobile phone is also more and more, and various programs can be installed on mobile device, realizes various application.And in order to guarantee that program on mobile device can normal use, often need in advance the program on mobile device to be tested.
At present, to operating system, be Android(Android) mobile phone on program while testing, can adopt instrument technology, detailed process is as follows: according to the characteristic of tested program, work out an instrument test procedure, this instrument test procedure is arranged on mobile phone, when needs are tested this tested program, carries out this instrument test procedure and test.
Yet in realizing process of the present invention, inventor finds that prior art at least exists following problem:
The corresponding tested program of each instrument test procedure in prior art, a tested program at every turn only can testing appointment, cannot support to operate the test assignment of two or more programs, and testing efficiency is low.
Summary of the invention
In order to solve the problem of prior art, the embodiment of the present invention provides a kind of method and apparatus that program on mobile device is tested.Described technical scheme is as follows:
The method that program on mobile device is tested, described method comprises:
On mobile device or computing machine, dispose in advance N test procedure, wherein, a described N test procedure is respectively used to the tested program of the N on described mobile device to test, and N is more than or equal to 2 natural number;
Described in described computer control, N test procedure carried out by specified order, with the tested program of the N on described mobile device, by specified order, tests
The device that program on mobile device is tested, described device comprises:
Deployment module, for dispose in advance N test procedure on mobile device or computing machine, wherein, a described N test procedure is respectively used to the tested program of the N on described mobile device to test, and N is more than or equal to 2 natural number;
Test module, for disposing in advance on mobile device or computing machine after N test procedure in described deployment module, controls a described N test procedure and carries out by specified order, with the tested program of the N on described mobile device, by specified order, tests.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
By dispose in advance N test procedure on mobile device or computing machine, the N having disposed on a computer control mobile device or computing machine test procedure is carried out by specified order, with the tested program of the N on mobile device, by specified order, test, can test N tested program at every turn, improve testing efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is a kind of method flow diagram that program on mobile device is tested that the embodiment of the present invention one provides;
Fig. 2 is a kind of method flow diagram that program on mobile device is tested that the embodiment of the present invention two provides;
Fig. 3 is a kind of method flow diagram that program on mobile device is tested that the embodiment of the present invention three provides
Fig. 4 is a kind of apparatus structure schematic diagram that program on mobile device is tested that the embodiment of the present invention four provides;
Fig. 5 is the apparatus structure schematic diagram that another kind that the embodiment of the present invention four provides is tested the program on mobile device.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment mono-
Referring to Fig. 1, the embodiment of the present invention provides a kind of method that program on mobile device is tested, and comprising:
101: on mobile device or computing machine, dispose in advance N test procedure, wherein, N test procedure is respectively used to the tested program of the N on mobile device to test, and N is more than or equal to 2 natural number.
Particularly, can a N prepared in advance test procedure, then be deployed on mobile device or computing machine, wherein, deployment refers to N test procedure is copied on mobile device or computing machine, if test procedure does not need just to install, can not move, and directly utilizes the test procedure of copy, if test procedure could move after need to installing, test procedure is installed, dispose and comprise copy, or copy is installed.
102: a computer control N test procedure is carried out by specified order, with the tested program of the N on mobile device, by specified order, tests.
Further, a computer control N test procedure is carried out by specified order, with the tested program of the N on mobile device, by specified order, tests, and comprising:
Computing machine, according to default priority testing sequence, moves a test procedure tested program is tested;
After a test procedure completes the test of a tested program, computing machine, according to default priority testing sequence, moves another test procedure another tested program is tested;
According to said process circulation, carry out, until N test procedure completes the test to N tested program.
Wherein, default priority testing sequence can arrange according to the characteristic of tested program or concrete test request etc., and this is not limited, and can arrange flexibly according to practical application situation.
Further, computing machine, according to default priority testing sequence, moves a test procedure tested program is tested; After a test procedure completes the test of a tested program, computing machine, according to default priority testing sequence, moves another test procedure another tested program is tested; According to said process circulation, carry out, until N test procedure completes the test to N tested program, comprising:
Computing machine, according to default priority testing sequence, sends and starts test command to the first test procedure;
The first test procedure receives and starts, after test command, according to the testing procedure of appointment, the first tested program to be tested;
In the process of according to the testing procedure of appointment, the first tested program being tested at the first test procedure, the state of computer inquery the first tested program;
If inquire the state of the first tested program for finishing running status, computing machine, according to default priority testing sequence, sends and starts test command to the second test procedure;
The second test procedure receives and starts, after test command, according to the testing procedure of appointment, the second tested program to be tested;
In the process of according to the testing procedure of appointment, the second tested program being tested at the second test procedure, the state of computer inquery the second tested program;
If inquire the state of the second tested program for finishing running status, computing machine, according to default priority testing sequence, sends and starts test command to the 3rd test procedure;
According to said process circulation, carry out, until the state of N tested program is for finishing running status.
Particularly, after the first test procedure completes the test of the first tested program, close the first tested program.After the second test procedure completes the test of the second tested program, close the second tested program.
Further, the method also comprises:
The first test procedure receives and starts, after test command, to start the first tested program, then carries out the step of the first tested program being tested according to the testing procedure of appointment;
Correspondingly, the second test procedure receives and starts, after test command, to start the second tested program, then carries out the step of the second tested program being tested according to the testing procedure of appointment.
Further, a computer control N test procedure is carried out by specified order, with the tested program of the N on mobile device, by specified order, tests, and comprising:
Computing machine, according to default interactive testing order, moves a test procedure tested program is tested;
Computing machine interrupts the test of a test procedure to a tested program, according to default interactive testing order, moves another test procedure another tested program is tested;
According to said process circulation, carry out, until N test procedure completes the test to N tested program.
Wherein, default interactive testing order can arrange according to the characteristic of tested program or concrete test request etc., and this is not limited, and can arrange flexibly according to practical application situation.
Further, computing machine, according to default interactive testing order, moves a test procedure tested program is tested; Computing machine interrupts the test of a test procedure to a tested program, according to default interactive testing order, moves another test procedure another tested program is tested; According to said process circulation, carry out, until N test procedure completes the test to N tested program, comprising:
Computing machine, according to default interactive testing order, sends and starts test command to the first test procedure;
The first test procedure receives and starts, after test command, according to the testing procedure of appointment, the first tested program to be tested;
In the process of according to the testing procedure of appointment, the first tested program being tested at the first test procedure, computing machine judges whether to interrupt the first test procedure, switches other test procedure other tested program is tested;
If the judged result of computing machine is to interrupt the first test procedure, switch other test procedure other tested program is tested, to the first test procedure, send interrupt instruction, and send and start test command to other test procedure;
The first test procedure receives after interrupt instruction, interrupts the first tested program to test;
Other test procedure receives and starts, after test command, according to the testing procedure of appointment, other tested program to be tested;
According to said process circulation, carry out, until N test procedure completes the test to N tested program.
Particularly, can test procedure interrupt condition be set according to practical application situation, when meeting test procedure interrupt condition, computing machine judgement needs interrupt test program.
Further, the method also comprises:
The first test procedure receives and starts, after test command, to start the first tested program, then carries out the step of the first tested program being tested according to the testing procedure of appointment;
Correspondingly, other test procedure receives and starts, after test command, to start other tested program, then carries out the step of other tested program being tested according to the testing procedure of appointment.
Further, a computer control N test procedure is carried out by specified order, with the tested program of the N on mobile device, by specified order, tests, and comprising:
Computing machine, according to the testing sequence of appointment, moves a test procedure tested program is tested;
After a test procedure completes or is interrupted the test of a tested program, according to default testing sequence executive condition, move another test procedure another tested program is tested;
According to said process circulation, carry out, until N test procedure completes the test to N tested program.
Further, computing machine, according to the testing sequence of appointment, moves a test procedure tested program is tested; After a test procedure completes or is interrupted the test of a tested program, according to default testing sequence executive condition, move another test procedure another tested program is tested; According to said process circulation, carry out, until N test procedure completes the test to N tested program, comprising:
Computing machine, according to the testing sequence of appointment, sends and starts test command to the first test procedure;
The first test procedure receives and starts, after test command, according to the testing procedure of appointment, the first tested program to be tested;
When the first test procedure is tested the first tested program according to the testing procedure of appointment, when computing machine interrupts the first test procedure or judges that the first test procedure is complete according to default interrupt condition after, according to the execution result of the first test procedure and default testing sequence executive condition, the test procedure of selecting next step to carry out;
The test procedure that computing machine need to be carried out to next step sends and starts test command;
Next step test procedure that need to carry out receives and starts after test command, and tested program corresponding to test procedure that need to carry out next step according to the testing procedure of appointment tested;
According to said process circulation, carry out, until N test procedure completes the test to N tested program.
Further, the method also comprises:
The first test procedure receives and starts, after test command, to start the first tested program, then carries out the step of the first tested program being tested according to the testing procedure of appointment;
Correspondingly, next step test procedure that need to carry out receives and starts after test command, start the tested program that next step test procedure that need to carry out is corresponding, then carry out the step that tested program corresponding to test procedure that need to carry out next step according to the testing procedure of appointment tested.
Further, the method also comprises:
After each test procedure completes the test of each tested program, export the test result of each test procedure.
Further, the method also comprises:
After N test procedure completes the test of N tested program, according to default test result treatment conditions, the test result of N test procedure is processed, export the test report of a test result that comprises N test procedure.
The method that the program on mobile device described in the embodiment of the present invention is tested, by dispose in advance N test procedure on mobile device or computing machine, the N having disposed on a computer control mobile device or computing machine test procedure is carried out by specified order, with the tested program of the N on mobile device, by specified order, test, can test N tested program at every turn, improve testing efficiency.N test procedure can be tested N tested program respectively according to default priority testing sequence, and test is carried out sequentially, can improve further testing efficiency.N test procedure can be tested N tested program respectively according to default interactive testing order, and test can nestedly be carried out, and can improve further testing efficiency.After N test procedure completes the test of N tested program, can be according to default test result treatment conditions, test result to N test procedure is processed, the test report of a test result that comprises N test procedure of output, make can unify to export complete test result, be convenient to test result to process.
The method that the program on mobile device described in the embodiment of the present invention is tested, can be applied to any scene, and any N tested program is tested, carry out various combinations, meet the test needs across program, for the ease of understanding, enumerate again 2 embodiment below and describe.
Embodiment bis-
The embodiment of the present invention provides a kind of method that program on mobile device is tested, and referring to Fig. 2, the method comprises:
201: 2 test procedures are installed in advance on mobile device, be respectively game achievement deliver test procedure and game achievement deliver result test procedure.
Particularly, can, according to the characteristic of tested program, adopt 2 instrument test procedures of instrument technology budget compilation.And, it should be noted that, be not limited to adopt instrument technology, can adopt other any other technology, as MonkeyRunner technology, Robotium technology etc.
And, can be also that 2 test procedures are installed on computers in advance, be respectively game achievement deliver test procedure and game achievement deliver result test procedure.
202: computing machine is according to default priority testing sequence, and the game achievement on mobile device is delivered test procedure transmission beginning test command.
Particularly, computer control test procedure is tested, and can in computing machine, work out out in advance control script or control program etc., by controlling script or control program etc., automatically controls.
And, it should be noted that, to the game achievement on mobile device, deliver before test procedure sends and start test command, can by wired or wireless mode, computing machine be connected with mobile device in advance.
203: game achievement is delivered test procedure and received after beginning test command, start games, use Instant Messenger (IM) software user A login, by given step, complete game, enter game achievement interface, select to share Instant Messenger (IM) software state, click and deliver button, output test result, close games.
Wherein, Instant Messenger (IM) software can be QQ, MSN etc., and this is not limited.
204: in game achievement, deliver test procedure games are carried out in test process, computing machine is by adb(Android Debug Bridge, Android debugging bridge) state of order inquiry games, if the state that inquires games is for finishing running status, carries out 205.
Wherein, adb order is the command-line tool that computing machine that Android system provides is monitored and operated mobile device, has the program of searching mobile device and installing, searches the functions such as program of moving.And, be not limited to inquire about by the mode of adb order the state of games, in practical application, can adopt other any feasible modes, this is not limited.
205: computing machine, according to default priority testing sequence, is delivered result test procedure to game achievement and sent beginning test command.
206: game achievement is delivered result test procedure and received after beginning test command, start Instant Messenger (IM) software, the good friend of log-in instant communication software user B(Instant Messenger (IM) software user A), enter good friend dynamic, search the game achievement information that whether has Instant Messenger (IM) software user A to send, output test result.
In the present embodiment, after finishing, a test procedure starts another test procedure, each test procedure is sequentially carried out, in practical application, also can be according to specific needs, when a test procedure is carried out certain node, start another test procedure, each test procedure is carried out alternately, a test procedure can be nested in the middle of another test procedure.
The method that the program on mobile device described in the embodiment of the present invention is tested, by dispose in advance N test procedure on mobile device or computing machine, the N having disposed on a computer control mobile device or computing machine test procedure is sequentially carried out, with the tested program of the N on mobile device, test, can test N tested program at every turn, improve testing efficiency.N test procedure can be tested N tested program respectively according to default priority testing sequence, and test is carried out sequentially, can improve further testing efficiency.N test procedure can be tested N tested program respectively according to default interactive testing order, and test can nestedly be carried out, and can improve further testing efficiency.After N test procedure completes the test of N tested program, can be according to default test result treatment conditions, test result to N test procedure is processed, the test report of a test result that comprises N test procedure of output, make can unify to export complete test result, be convenient to test result to process.
Embodiment tri-
The embodiment of the present invention provides a kind of method that program on mobile device is tested, and referring to Fig. 3, the method comprises
301: 2 test procedures are installed in advance on mobile device, are respectively installation testing program and download test procedure.
Particularly, can, according to the characteristic of tested program, adopt 2 instrument test procedures of instrument technology budget compilation.And, it should be noted that, be not limited to adopt instrument technology, can adopt other any other technology, as MonkeyRunner technology, Robotium technology etc.
302: computing machine judges in game center program whether have the games that need download, if had, carries out 303; Otherwise, finish.
Particularly, the games that needs can be downloaded are preserved hereof with the form of list, file are kept under the catalogue of mobile device appointment, and computing machine can be judged the games that whether have needs to download in game center program by reading this document.And, it should be noted that, for fear of repeated downloads, after a certain games in file are downloaded successfully, just the record of downloading these games in file is deleted.
303: computing machine sends and starts test command to the download test procedure on mobile device, download test procedure and receive after beginning test command, start game center program, enter and download interface, start download games program.
304: after games have been downloaded, test result is downloaded in output, and computing machine judge whether games are downloaded successfully, after downloading successfully, carries out 305, otherwise, end.
305: computing machine sends and starts test command to the installation testing program on mobile device.
306: installation testing program receives and starts after test command, to downloading successful games, carry out fitting operation.
Wherein, while carrying out fitting operation to downloading successful games, can utilize WiMAT (Wireless Mobile Automation Testing kit, terminal software automatic test collection) simulated operation is realized or other computer terminal control script (as another kind of Android mobile phone operation control technology MonkeyRunner), and this is not limited.
307: after downloading successful games installation, output installation testing result, then carries out 302.
The method that the program on mobile device described in the embodiment of the present invention is tested, by dispose in advance N test procedure on mobile device or computing machine, the N having disposed on a computer control mobile device or computing machine test procedure is carried out by specified order, with the tested program of the N on mobile device, by specified order, test, can test N tested program at every turn, improve testing efficiency.N test procedure can be tested N tested program respectively according to default priority testing sequence, and test is carried out sequentially, can improve further testing efficiency.N test procedure can be tested N tested program respectively according to default interactive testing order, and test can nestedly be carried out, and can improve further testing efficiency.After N test procedure completes the test of N tested program, can be according to default test result treatment conditions, test result to N test procedure is processed, the test report of a test result that comprises N test procedure of output, make can unify to export complete test result, be convenient to test result to process.
Embodiment tetra-
Referring to Fig. 4, the embodiment of the present invention provides a kind of device that program on mobile device is tested, and this device comprises:
Deployment module 401, for dispose in advance N test procedure on mobile device or computing machine, wherein, N test procedure is respectively used to the tested program of the N on mobile device to test, and N is more than or equal to 2 natural number;
Test module 402, for disposing in advance on mobile device or computing machine in deployment module 401 after N test procedure, controls N test procedure and carries out by specified order, with the tested program of the N on mobile device, by specified order, tests.
Further, test module 402 comprises:
The first running unit, for disposing in advance on mobile device or computing machine in deployment module 401 after N test procedure, according to default priority testing sequence, moves a test procedure tested program is tested;
The second running unit, after the test of a tested program being completed when a test procedure, according to default priority testing sequence, moves another test procedure another tested program is tested;
The first circulation performance element, carries out for the test process circulation according to the first running unit and the second running unit, until N test procedure completes the test to N tested program.
Further, test module 402 comprises:
The 3rd running unit, for disposing in advance on mobile device or computing machine in deployment module 401 after N test procedure, according to default interactive testing order, moves a test procedure tested program is tested;
The 4th running unit, for interrupting the test of a test procedure to a tested program, according to default interactive testing order, moves another test procedure another tested program is tested;
The second circulation performance element, carries out for the test process circulation according to the 3rd running unit and the 4th running unit, until N test procedure completes the test to N tested program.
Further, test module 402 comprises:
The 5th running unit, for disposing in advance on mobile device or computing machine in deployment module 401 after N test procedure, according to the testing sequence of appointment, moves a test procedure tested program is tested;
The 6th running unit, after the test of a tested program being completed or is interrupted when a test procedure, according to default testing sequence executive condition, moves another test procedure another tested program is tested;
The 3rd circulation performance element, carries out for the test process circulation according to the 5th running unit and the 6th running unit, until N test procedure completes the test to N tested program.
Further, referring to Fig. 5, this device also comprises:
Output module 403, after completing the test of N tested program when N test procedure, according to default test result treatment conditions, processes the test result of N test procedure, exports the test report of a test result that comprises N test procedure.
The device that the program on mobile device described in the embodiment of the present invention is tested, by dispose in advance N test procedure on mobile device or computing machine, the N having disposed on a computer control mobile device or computing machine test procedure is carried out by specified order, with the tested program of the N on mobile device, by specified order, test, can test N tested program at every turn, improve testing efficiency.N test procedure can be tested N tested program respectively according to default priority testing sequence, and test is carried out sequentially, can improve further testing efficiency.N test procedure can be tested N tested program respectively according to default interactive testing order, and test can nestedly be carried out, and can improve further testing efficiency.After N test procedure completes the test of N tested program, can be according to default test result treatment conditions, test result to N test procedure is processed, the test report of a test result that comprises N test procedure of output, make can unify to export complete test result, be convenient to test result to process.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (16)

1. a method of the program on mobile device being tested, is characterized in that, described method comprises:
On mobile device or computing machine, dispose in advance N test procedure, wherein, a described N test procedure is respectively used to the tested program of the N on described mobile device to test, and N is more than or equal to 2 natural number;
Described in described computer control, N test procedure carried out by specified order, with the tested program of the N on described mobile device, by specified order, tests.
2. method according to claim 1, is characterized in that, N test procedure carried out by specified order described in described computer control, with the tested program of the N on described mobile device, by specified order, tests, and comprising:
Described computing machine, according to default priority testing sequence, moves a test procedure tested program is tested;
After a described test procedure completes the test of a described tested program, described computing machine, according to default priority testing sequence, moves another test procedure another tested program is tested;
According to said process circulation, carry out, until a described N test procedure completes the test to a described N tested program.
3. method according to claim 2, is characterized in that, described computing machine, according to default priority testing sequence, moves a test procedure tested program is tested; After a described test procedure completes the test of a described tested program, described computing machine, according to default priority testing sequence, moves another test procedure another tested program is tested; According to said process circulation, carry out, until a described N test procedure completes the test to a described N tested program, comprising:
Described computing machine, according to default priority testing sequence, sends and starts test command to the first test procedure;
Described the first test procedure receives and starts, after test command, according to the testing procedure of appointment, the first tested program to be tested;
In the process of according to the testing procedure of appointment, described the first tested program being tested at described the first test procedure, the state of the first tested program described in described computer inquery;
If inquire the state of described the first tested program for finishing running status, described computing machine, according to default priority testing sequence, sends and starts test command to the second test procedure;
Described the second test procedure receives and starts, after test command, according to the testing procedure of appointment, the second tested program to be tested;
In the process of according to the testing procedure of appointment, described the second tested program being tested at described the second test procedure, the state of the second tested program described in described computer inquery;
If inquire the state of described the second tested program for finishing running status, described computing machine, according to default priority testing sequence, sends and starts test command to the 3rd test procedure;
According to said process circulation, carry out, until the state of N tested program is for finishing running status.
4. method according to claim 3, is characterized in that, described method also comprises:
Described the first test procedure receives and starts, after test command, to start described the first tested program, then carries out the step of the first tested program being tested according to the testing procedure of appointment;
Correspondingly, described the second test procedure receives and starts, after test command, to start described the second tested program, then carries out the step of the second tested program being tested according to the testing procedure of appointment.
5. method according to claim 1, is characterized in that, N test procedure carried out by specified order described in described computer control, with the tested program of the N on described mobile device, by specified order, tests, and comprising:
Described computing machine, according to default interactive testing order, moves a test procedure tested program is tested;
Described computing machine interrupts the test of a described test procedure to a described tested program, according to default interactive testing order, moves another test procedure another tested program is tested;
According to said process circulation, carry out, until a described N test procedure completes the test to a described N tested program.
6. method according to claim 5, is characterized in that, described computing machine, according to default interactive testing order, moves a test procedure tested program is tested; Described computing machine interrupts the test of a described test procedure to a described tested program, according to default interactive testing order, moves another test procedure another tested program is tested; According to said process circulation, carry out, until N test procedure completes the test to N tested program, comprising:
Described computing machine, according to default interactive testing order, sends and starts test command to the first test procedure;
Described the first test procedure receives and starts, after test command, according to the testing procedure of appointment, the first tested program to be tested;
In the process of according to the testing procedure of appointment, described the first tested program being tested at described the first test procedure, described computing machine judges whether to interrupt described the first test procedure, switches other test procedure other tested program is tested;
If the judged result of described computing machine is to interrupt described the first test procedure, switching described other test procedure tests described other tested program, to described the first test procedure, send interrupt instruction, and send and start test command to described other test procedure;
Described the first test procedure receives after interrupt instruction, interrupts described the first tested program to test;
Described other test procedure receives and starts, after test command, according to the testing procedure of appointment, described other tested program to be tested;
According to said process circulation, carry out, until a described N test procedure completes the test to a described N tested program.
7. method according to claim 6, is characterized in that, described method also comprises:
Described the first test procedure receives and starts, after test command, to start described the first tested program, then carries out the step of the first tested program being tested according to the testing procedure of appointment;
Correspondingly, described other test procedure receives and starts after test command, starts described other tested program, then carries out the step of other tested program being tested according to the testing procedure of appointment.
8. method according to claim 1, is characterized in that, N test procedure carried out by specified order described in described computer control, with the tested program of the N on described mobile device, by specified order, tests, and comprising:
Described computing machine, according to the testing sequence of appointment, moves a test procedure tested program is tested;
After a described test procedure completes or is interrupted the test of a described tested program, according to default testing sequence executive condition, move another test procedure another tested program is tested;
According to said process circulation, carry out, until a described N test procedure completes the test to a described N tested program.
9. method according to claim 8, is characterized in that, described computing machine, according to the testing sequence of appointment, moves a test procedure tested program is tested; After a described test procedure completes or is interrupted the test of a described tested program, according to default testing sequence executive condition, move another test procedure another tested program is tested; According to said process circulation, carry out, until a described N test procedure completes the test to a described N tested program, comprising:
Described computing machine, according to the testing sequence of appointment, sends and starts test command to the first test procedure;
Described the first test procedure receives and starts, after test command, according to the testing procedure of appointment, the first tested program to be tested;
When described the first test procedure is tested described the first tested program according to the testing procedure of appointment, when described computing machine interrupts described the first test procedure or judges that described the first test procedure is complete according to default interrupt condition after, according to the execution result of described the first test procedure and default testing sequence executive condition, the test procedure of selecting next step to carry out;
The test procedure that described computing machine need to be carried out to next step sends and starts test command;
Next step test procedure that need to carry out receives and starts after test command, and tested program corresponding to test procedure that need to carry out next step according to the testing procedure of appointment tested;
According to said process circulation, carry out, until a described N test procedure completes the test to a described N tested program.
10. method according to claim 9, is characterized in that, described method also comprises:
Described the first test procedure receives and starts, after test command, to start described the first tested program, then carries out the step of the first tested program being tested according to the testing procedure of appointment;
Correspondingly, the described test procedure that next step need to be carried out receives and starts after test command, start described tested program corresponding to next step test procedure that need to carry out, then carry out the step of tested program corresponding to the described test procedure that next step need to be carried out being tested according to the testing procedure of appointment.
11. according to the method described in claim 1-10 any one claim, it is characterized in that, described method also comprises:
After a described N test procedure completes the test of a described N tested program, according to default test result treatment conditions, the test result of a described N test procedure is processed, export the test report of a test result that comprises a described N test procedure.
12. 1 kinds of devices that the program on mobile device is tested, is characterized in that, described device comprises:
Deployment module, for dispose in advance N test procedure on mobile device or computing machine, wherein, a described N test procedure is respectively used to the tested program of the N on described mobile device to test, and N is more than or equal to 2 natural number;
Test module, for disposing in advance on mobile device or computing machine after N test procedure in described deployment module, controls a described N test procedure and carries out by specified order, with the tested program of the N on described mobile device, by specified order, tests.
13. devices according to claim 12, is characterized in that, described test module comprises:
The first running unit, for disposing in advance on mobile device or computing machine in described deployment module after N test procedure, according to default priority testing sequence, moves a test procedure tested program is tested;
The second running unit, after the test of a described tested program being completed when a described test procedure, according to default priority testing sequence, moves another test procedure another tested program is tested;
The first circulation performance element, carries out for the test process circulation according to described the first running unit and described the second running unit, until a described N test procedure completes the test to a described N tested program.
14. devices according to claim 12, is characterized in that, described test module comprises:
The 3rd running unit, for disposing in advance on mobile device or computing machine in described deployment module after N test procedure, according to default interactive testing order, moves a test procedure tested program is tested;
The 4th running unit, for interrupting the test of a described test procedure to a described tested program, according to default interactive testing order, moves another test procedure another tested program is tested;
The second circulation performance element, carries out for the test process circulation according to described the 3rd running unit and described the 4th running unit, until a described N test procedure completes the test to a described N tested program.
15. devices according to claim 12, is characterized in that, described test module comprises:
The 5th running unit, for disposing in advance on mobile device or computing machine in described deployment module after N test procedure, according to the testing sequence of appointment, moves a test procedure tested program is tested;
The 6th running unit, after the test of a described tested program being completed or is interrupted when a described test procedure, according to default testing sequence executive condition, moves another test procedure another tested program is tested;
The 3rd circulation performance element, carries out for the test process circulation according to described the 5th running unit and described the 6th running unit, until a described N test procedure completes the test to a described N tested program.
16. according to the device described in claim 12-15 any one claim, it is characterized in that, described device also comprises:
Output module, for after a described N test procedure completes the test of a described N tested program, according to default test result treatment conditions, the test result of a described N test procedure is processed, export the test report of a test result that comprises a described N test procedure.
CN201210239222.XA 2012-07-11 2012-07-11 Method and device for testing programs on mobile device Pending CN103544099A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210239222.XA CN103544099A (en) 2012-07-11 2012-07-11 Method and device for testing programs on mobile device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210239222.XA CN103544099A (en) 2012-07-11 2012-07-11 Method and device for testing programs on mobile device

Publications (1)

Publication Number Publication Date
CN103544099A true CN103544099A (en) 2014-01-29

Family

ID=49967571

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210239222.XA Pending CN103544099A (en) 2012-07-11 2012-07-11 Method and device for testing programs on mobile device

Country Status (1)

Country Link
CN (1) CN103544099A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106126414A (en) * 2016-06-14 2016-11-16 珠海格力电器股份有限公司 Application software testing method and system
WO2017020721A1 (en) * 2015-08-04 2017-02-09 阿里巴巴集团控股有限公司 Service function testing method and device
CN107590039A (en) * 2017-08-31 2018-01-16 郑州云海信息技术有限公司 A kind of continuous test method, device and storage medium
CN109933466A (en) * 2019-03-12 2019-06-25 深圳忆联信息系统有限公司 Solid-state hard disk controller test method and device based on Python

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5896495A (en) * 1995-07-07 1999-04-20 Sun Microsystems, Inc. Method and system for synchronizing the execution of events
US7316004B2 (en) * 2001-12-27 2008-01-01 International Business Machines Corporation Organization of test cases
CN101145127A (en) * 2006-09-12 2008-03-19 中兴通讯股份有限公司 Software test automated system based on apparatus and the method
CN101246448A (en) * 2008-03-17 2008-08-20 中兴通讯股份有限公司 Automatized script implementing method
CN101408862A (en) * 2007-10-12 2009-04-15 李周 Embedded system test method
CN101727390A (en) * 2009-12-28 2010-06-09 金蝶软件(中国)有限公司 Method and device for debugging performance test scripts
CN102012861A (en) * 2010-11-01 2011-04-13 北京航空航天大学 Method and system for real-time embedded software test result data analysis
CN102110050A (en) * 2010-12-16 2011-06-29 上海泰捷通信技术有限公司 Method for automatically testing communication terminal module
CN102436416A (en) * 2011-09-17 2012-05-02 北京迈凯互动网络科技有限公司 Testing system and method for mobile equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5896495A (en) * 1995-07-07 1999-04-20 Sun Microsystems, Inc. Method and system for synchronizing the execution of events
US7316004B2 (en) * 2001-12-27 2008-01-01 International Business Machines Corporation Organization of test cases
CN101145127A (en) * 2006-09-12 2008-03-19 中兴通讯股份有限公司 Software test automated system based on apparatus and the method
CN101408862A (en) * 2007-10-12 2009-04-15 李周 Embedded system test method
CN101246448A (en) * 2008-03-17 2008-08-20 中兴通讯股份有限公司 Automatized script implementing method
CN101727390A (en) * 2009-12-28 2010-06-09 金蝶软件(中国)有限公司 Method and device for debugging performance test scripts
CN102012861A (en) * 2010-11-01 2011-04-13 北京航空航天大学 Method and system for real-time embedded software test result data analysis
CN102110050A (en) * 2010-12-16 2011-06-29 上海泰捷通信技术有限公司 Method for automatically testing communication terminal module
CN102436416A (en) * 2011-09-17 2012-05-02 北京迈凯互动网络科技有限公司 Testing system and method for mobile equipment

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017020721A1 (en) * 2015-08-04 2017-02-09 阿里巴巴集团控股有限公司 Service function testing method and device
CN106708719A (en) * 2015-08-04 2017-05-24 阿里巴巴集团控股有限公司 Business function testing method and apparatus
CN106708719B (en) * 2015-08-04 2020-08-04 阿里巴巴集团控股有限公司 Service function testing method and device
CN106126414A (en) * 2016-06-14 2016-11-16 珠海格力电器股份有限公司 Application software testing method and system
CN107590039A (en) * 2017-08-31 2018-01-16 郑州云海信息技术有限公司 A kind of continuous test method, device and storage medium
CN109933466A (en) * 2019-03-12 2019-06-25 深圳忆联信息系统有限公司 Solid-state hard disk controller test method and device based on Python
CN109933466B (en) * 2019-03-12 2021-06-08 深圳忆联信息系统有限公司 Python-based solid state hard disk controller test method and device

Similar Documents

Publication Publication Date Title
CN110024362B (en) Bluetooth test system and method
CN103077058B (en) Method and device for installing application program
CN102650968B (en) Environment construction method and apparatus and the terminal system of terminal system
CN108170494B (en) Application program starting method and starting system for intelligent terminal
CN104461521B (en) A kind of application program playback method and system
CN109783340B (en) SoC test code programming method, IP test method and device
CN101272422A (en) Mobile phone automatized test method
CN112333057B (en) Intelligent household equipment distribution network testing method and device, executive machine and storage medium
CN103544099A (en) Method and device for testing programs on mobile device
CN104216840A (en) USB (universal serial bus) setting and method and device for operating external equipment
CN101937351A (en) Method and system for automatically installing application software
CN103516557A (en) Method and system for testing
CN104298602A (en) Method and device for debugging application program
CN108536464A (en) A kind of hot restorative procedure and device of application program
CN109460359A (en) A kind of software version test method and system for embedded device
KR100632405B1 (en) Transmitting/Receiving method for dynamic reconfiguration of sensor nodes using wireless telecommunication in wireless sensor network
JP2006211638A (en) Scenario editing apparatus, dummy base station test simulator for wireless communication, dummy terminal test simulator for wireless communication, scenario editing method, test processing method, computer readable storage medium with program stored thereon, and program
CN111324365A (en) Method and equipment for upgrading super-converged system
CN110784879A (en) Network mode switching test method, system, equipment and medium of communication module
CN104239202A (en) Non-Root testing method and system of interactive intelligent equipment
CN104731702B (en) Test system and its service end
CN107391329B (en) Method, system and storage device for testing repeated use of mobile terminal
CN110459260B (en) Automatic test switching device, method and system
CN112765028A (en) Android application program testing method and system based on group control mechanism
CN114499700B (en) Method, device, processor and storage medium for realizing Bluetooth module production test and verification by AP intelligent terminal through serial port communication

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

Application publication date: 20140129

RJ01 Rejection of invention patent application after publication