CN103186445A - Test system and method for handheld electronic device - Google Patents

Test system and method for handheld electronic device Download PDF

Info

Publication number
CN103186445A
CN103186445A CN2011103078822A CN201110307882A CN103186445A CN 103186445 A CN103186445 A CN 103186445A CN 2011103078822 A CN2011103078822 A CN 2011103078822A CN 201110307882 A CN201110307882 A CN 201110307882A CN 103186445 A CN103186445 A CN 103186445A
Authority
CN
China
Prior art keywords
test
electric device
portable electric
transmission line
master control
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
CN2011103078822A
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.)
Askey Technology Jiangsu Ltd
Askey Computer Corp
Original Assignee
Askey Technology Jiangsu Ltd
Askey Computer Corp
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 Askey Technology Jiangsu Ltd, Askey Computer Corp filed Critical Askey Technology Jiangsu Ltd
Priority to CN2011103078822A priority Critical patent/CN103186445A/en
Publication of CN103186445A publication Critical patent/CN103186445A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Testing Or Calibration Of Command Recording Devices (AREA)

Abstract

The invention discloses a test system and a test method for a handheld electronic device. The test system and the test method are used for testing the handheld electronic device carrying an open operating platform and having installed test instruction execution programs, wherein the test instruction execution programs are used for executing corresponding function tests according to received test instructions. A pre-summarized and stored test program library is used for integrating various test programs, all the test programs are sequentially enabled to give instructions in a scheduling way to the test instruction execution programs through a transmission line, and test results are recorded to achieve an automatic test effect. Therefore, the test programs can be integrally built in the handheld electronic device, and each test program can be further edited or modified at any time; and the handheld electronic device is connected by the transmission line, so that the built test programs can be better compatible with the test instruction execution programs installed in the handheld electronic device based on an open operating platform architecture.

Description

The test macro of portable electric device and method
Technical field
The present invention is about a kind of test macro and method, more particularly about a kind of test macro and method of portable electric device.
Background technology
Along with being in fashion of portable electric devices such as smart mobile phone, panel computer, portable electric device miscellaneous appears on the market in large quantities, and increasing function is integrated in the portable electric device.
Therefore, no matter be normal operation or the research and development in the portable electric device design process in order to ensure each function of portable electric device, all need portable electric device is carried out a series of test.For example: the repetitiousness of switching on and shutting down is carried out, whether the specified point routing footpath in the application program can normally enter etc.
Traditionally, these functional tests all are by manually finishing, being finished the test of each project by tester's manual operation.Yet such manual testing is except efficient is low, the probability that test error takes place is high especially, for example: when test event for the execution in certain application program whether just often, different testers will have difference to enter the mode that clicks of this application program easily, will cause the error of test result this moment, because under certain operation technique, this application program will lose efficacy and can't normally be carried out probably.
Summary of the invention
A purpose of the present invention is to promote testing efficiency and saves human cost.
Another object of the present invention is to reduce the generation probability of test error.
A further object of the present invention is to provide a kind of test macro and method of testing of robotization.
For reaching above-mentioned purpose and other purposes, the test macro of portable electric device of the present invention, it is in order to test the portable electric device that is equipped with open job platform and a test instruction executive routine is installed, this test instruction executive routine is used for carrying out corresponding functional test according to the test instruction that receives, and this test macro comprises: a master control computer and a transmission line.This master control computer comprises: a test procedure storehouse, and it stores a plurality of test procedures; One test event management module, it links this test procedure storehouse, choosing these test procedures, and will these selected test procedures produces one accordingly and tests steering order; One test instruction module, it links this test procedure storehouse and this test event management module, carrying out these test procedures that are selected in regular turn according to this test steering order that is received, and the test instruction executive routine of this portable electric device is given in the test instruction of sending performed test procedure correspondence; And test result management module, it is used for receiving the test result that the test instruction executive routine by this portable electric device returns and stores.This transmission line connects this master control computer and this portable electric device, for the transmission of this test instruction and this test result.
For reaching above-mentioned purpose and other purposes, at least one test procedure of the method for testing of portable electric device of the present invention in order in the master control computer, to store, the portable electric device that is equipped with open job platform and a test instruction executive routine is installed is tested, and this method of testing comprises: it is linked to this portable electric device by a transmission line with this master control computer; Select interior this at least one test procedure that stores by this master control computer; Making this master control computer expert cross this transmission line according to selected this test procedure sends a corresponding test instruction and gives mounted this test instruction executive routine in this portable electric device; Make this test instruction executive routine carry out corresponding functional test program according to this test instruction; And make this test instruction executive routine that test result is back to this master control computer by this transmission line.
In one embodiment, this open job platform is the Android job platform.
In one embodiment, this test procedure storehouse is divided into these test procedures random occurrence test program set, continuous application program switch test program set, every pressure test procedure set, power management test program set, is reached memory body control and measuring procedure set.
In one embodiment, this transmission line is the USB transmission line, to connect the USB interface of this master control computer and this portable electric device.
Thus, utilize the master control computer to integration and the management of test procedure, complete test procedure can be built to be placed in one and also can momentarily edit further or revise each test procedure again, and the mode of utilizing transmission line links portable electric device, feasible build the test procedure put can based under the framework of open job platform with portable electric device in the test instruction executive routine installed compatibility is preferably arranged, and then reach each purpose of the present invention.
Description of drawings
Fig. 1 is the present invention's functional block diagram of test macro in one embodiment.
Fig. 2 is the present invention's process flow diagram of method of testing in one embodiment.
Among the figure: 100, the master control computer;
102, the examination routine library;
104, test event management module;
106, the test instruction module;
108, test result management module;
200, transmission line;
300, portable electric device;
Cs, the test steering order;
Ts, test instruction;
S101 ~ S106, step.
Embodiment
For fully understanding purpose of the present invention, feature and effect, by following specific embodiment, and cooperate appended graphicly, the present invention is described in detail, illustrate as afterwards:
At first see also Fig. 1, be the present invention's functional block diagram of test macro in one embodiment.Test macro in the embodiment of the invention and method system are based on the test macro under the open job platform and method, for example: the portable electric device that uses the Android job platform.Under open job platform, test macro in the embodiment of the invention is media with the test instruction executive routine that is installed in advance on the portable electric device, makes itself and each test procedure do collocation and reach the transmission of test instruction and the passback of test result.
As shown in Figure 1, test macro comprises: master control computer 100 and transmission line 200.Store at least one test procedure in the master control computer 100 and send corresponding test instruction by transmission line 200 and give preassembled this test instruction executive routine in this portable electric device 300.
This master control computer 100 comprises: test procedure storehouse 102, test event are managed module 104, test instruction module 106, are reached test result management module 108.
Test procedure storehouse 102 is used for storing test procedure.Implement in the aspect one, this test procedure storehouse 102 can be divided into these test procedures random occurrence test program set, continuous application program switch test program set, every pressure test procedure set, power management test program set, reach memory body control and measuring procedure set.
Test event management module 104 links this test procedure storehouse 102 and this test instruction module 106.Test event management module 104 can be taken the test event of all the test procedure correspondences in the test procedure storehouse 102 out of and choose for the operator.The user also can utilize this module that existing test procedure sign indicating number is increased newly or deletes, and can save as a new test procedure in addition in this test procedure storehouse 102.This test event management module 104 for example can use, and Java programming Language writes for the follow-up editor of test procedure.After the user managed the selected test procedure of module 104 mark from this test procedure storehouse 102 by this test event, this test event management module 104 can produce and export a test steering order cs accordingly.
Test instruction module 106 links these test procedure storehouses 102 and this test event management module 104, and it carries out (the being mark) test procedure that is selected in the test procedure storehouse 102 in regular turn according to this test steering order cs that receives.Linked by the test instruction executive routine in test instruction module 106 and the portable electric device 300, the test procedure that is selected and has been performed is sent test instruction ts and can be directly entered each layer in the open job platform by the test instruction executive routine, the execution of instructing, and with the reaction of portable electric device 300, be test result, passback.Also or by the reaction of another test procedure monitoring portable electric device 300, that is, work in coordination with test by the test procedure more than two.
Test result management module 108 namely receives the test result that the test instruction executive routine by this portable electric device 300 returns and stores, and wherein, for example is stored in the mnemon (not shown).
Then see also Fig. 2, its present invention is the process flow diagram of method of testing in one embodiment.
Step S101 is linked together master control computer 100 and portable electric device 300 by a transmission line 200;
Step S102 selects the interior at least one test procedure that stores by master control computer 100;
Step S103 makes this master control computer 100 send a corresponding test instruction ts by this transmission line 200 according to selected this test procedure and gives mounted this test instruction executive routine in this portable electric device 300;
Step S104 makes this test instruction executive routine namely order this portable electric device 300 to carry out corresponding functional test action according to test instruction ts;
Step S105 makes the test instruction executive routine that test result is back to master control computer 100 by this transmission line 200.
The transmission line 200 that uses in the embodiment of the invention can be the USB transmission line, and can have better compatible degree.
In sum, utilize the master control computer to integration and the management of test procedure, the arrange in pairs or groups installation of the test instruction executive routine on portable electric device 300 in the open job platform, make that the test procedure in open job platform can be integrated by robotization ground in the past, and then the accuracy of lifting testing efficiency and test result, produce detailed and accurate test result report further.
The present invention discloses with better embodiment hereinbefore, so has the knack of this operator and it should be understood that this embodiment only is used for describing the present invention, does not limit the scope of the invention and should not be read as.It should be noted, with variation and the displacement of this embodiment equivalence, all should be made as in the category that is covered by the present invention such as.

Claims (8)

1. the test macro of a portable electric device, it is in order to test the portable electric device that is equipped with open job platform and a test instruction executive routine is installed, this test instruction executive routine is used for carrying out corresponding functional test according to the test instruction that receives, and it is characterized in that: this test macro comprises:
One master control computer, it comprises:
One test procedure storehouse, it stores a plurality of test procedures;
One test event management module, it links this test procedure storehouse, choosing these test procedures, and will these selected test procedures produces one accordingly and tests steering order;
One test instruction module, it links this test procedure storehouse and this test event management module, carrying out these test procedures that are selected in regular turn according to this test steering order that is received, and the test instruction executive routine of this portable electric device is given in the test instruction of sending performed test procedure correspondence; And
One test result management module, it is used for receiving the test result that the test instruction executive routine by this portable electric device returns and stores; And
One transmission line, it connects this master control computer and this portable electric device, for the transmission of this test instruction and this test result.
2. the test macro of portable electric device according to claim 1, it is characterized in that: wherein this open job platform is the Android job platform.
3. the test macro of portable electric device according to claim 1 is characterized in that: wherein random occurrence test program set, continuous application program switch test program set, every pressure test procedure set, power management test program set, and memory body control and measuring procedure set are divided into these test procedures in this test procedure storehouse.
4. the test macro of portable electric device according to claim 1, it is characterized in that: wherein this transmission line is the USB transmission line, to connect the USB interface of this master control computer and this portable electric device.
5. the method for testing of a portable electric device, it is characterized in that: its at least one test procedure in order in the master control computer, to store, the portable electric device that is equipped with open job platform and a test instruction executive routine is installed is tested, and this method of testing comprises:
By a transmission line this master control computer is linked to this portable electric device;
Select interior this at least one test procedure that stores by this master control computer;
Making this master control computer expert cross this transmission line according to selected this test procedure sends a corresponding test instruction and gives mounted this test instruction executive routine in this portable electric device;
Make this test instruction executive routine carry out corresponding functional test program according to this test instruction; And
Make this test instruction executive routine that test result is back to this master control computer by this transmission line.
6. according to the method for testing of claim 5 portable electric device, it is characterized in that: wherein this open job platform is the Android job platform.
7. according to the method for testing of claim 5 portable electric device, it is characterized in that: wherein this transmission line uses a USB transmission line.
8. according to the method for testing of claim 5 portable electric device, it is characterized in that: wherein store a plurality of test procedures in this master control computer, and these test procedures are divided into random occurrence test program set, continuous application program switch test program set, every pressure test procedure set, power management test program set, reached memory body control and measuring procedure set.
CN2011103078822A 2011-10-12 2011-10-12 Test system and method for handheld electronic device Pending CN103186445A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103078822A CN103186445A (en) 2011-10-12 2011-10-12 Test system and method for handheld electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103078822A CN103186445A (en) 2011-10-12 2011-10-12 Test system and method for handheld electronic device

Publications (1)

Publication Number Publication Date
CN103186445A true CN103186445A (en) 2013-07-03

Family

ID=48677622

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103078822A Pending CN103186445A (en) 2011-10-12 2011-10-12 Test system and method for handheld electronic device

Country Status (1)

Country Link
CN (1) CN103186445A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424069A (en) * 2013-09-02 2015-03-18 名硕电脑(苏州)有限公司 Tablet personal computer testing system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070288552A1 (en) * 2006-05-17 2007-12-13 Oracle International Corporation Server-controlled testing of handheld devices
US20100235550A1 (en) * 2009-03-16 2010-09-16 Apple Inc. Mobile computing device capabilities for accessories

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070288552A1 (en) * 2006-05-17 2007-12-13 Oracle International Corporation Server-controlled testing of handheld devices
US20100235550A1 (en) * 2009-03-16 2010-09-16 Apple Inc. Mobile computing device capabilities for accessories

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424069A (en) * 2013-09-02 2015-03-18 名硕电脑(苏州)有限公司 Tablet personal computer testing system

Similar Documents

Publication Publication Date Title
CN103941207B (en) Automatic power-measuring endpoint detection methods and system thereof
CN107678960B (en) Intelligent ammeter software black box testing system and method
CN107562969B (en) Method and device for integrating aero-engine control system software
CN103425573B (en) Code testing information collecting method and system
CN107515370A (en) A kind of PCBA detection means and detection method
CN104391795A (en) Method and system for automatically testing coverage rate in distributed system
CN103019942B (en) Method and system for automatically testing applications to be tested based on android system
CN103631707A (en) Method and device for obtaining code coverage rate
CN104483959A (en) Fault simulation and test system
CN105760299A (en) Full-automatic script test method based on intelligent substation
CN104375937A (en) Continuous integration method and system of automated testing results
CN104932479A (en) Automatic test method and system
CN105301481A (en) Circuit testing method and applicable testing system
CN104283610B (en) Multistage passive optical network fault monitoring system and implementation method thereof
CN103631705A (en) Regression testing method and device for search engine
CN103268287A (en) Method and device for detecting memory leaks
CN102707712B (en) Electronic equipment fault diagnosis method and system
CN105279092A (en) Software testing method and apparatus
CN105388881B (en) The fault detect display device and method of a kind of entire car controller
CN101594627A (en) A kind of apparatus and method of simulating mobile terminal fault
CN102063367B (en) Off-line analysis method and device aiming at computer crash program
CN103885341B (en) Performance analysis system based on automotive performance simulator and method
CN103308808A (en) System and method for testing secondary device of intelligent substation automatically
CN112162908B (en) Method and device for realizing program call link monitoring based on byte code injection technology
CN104834586B (en) Android interface automation test method, apparatus and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130703