CN102314386A - Method and equipment for testing mobile terminal - Google Patents

Method and equipment for testing mobile terminal Download PDF

Info

Publication number
CN102314386A
CN102314386A CN201110260755A CN201110260755A CN102314386A CN 102314386 A CN102314386 A CN 102314386A CN 201110260755 A CN201110260755 A CN 201110260755A CN 201110260755 A CN201110260755 A CN 201110260755A CN 102314386 A CN102314386 A CN 102314386A
Authority
CN
China
Prior art keywords
test
portable terminal
test execution
execution script
script
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201110260755A
Other languages
Chinese (zh)
Other versions
CN102314386B (en
Inventor
刘斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201110260755.1A priority Critical patent/CN102314386B/en
Publication of CN102314386A publication Critical patent/CN102314386A/en
Application granted granted Critical
Publication of CN102314386B publication Critical patent/CN102314386B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention aims to provide a method and equipment for testing a mobile terminal. The test equipment is used for testing the mobile terminal by generating a test executing script and acquiring a test executing script to obtain a practical operating result image which is displayed on the mobile terminal and corresponds to test operation, and is further used for comparing the practical operating result image with a corresponding desired result image to obtain a test result. Compared with the prior art, the invention has the advantages that: test operation is directly performed on the mobile terminal in a way of recording the operating process of a mechanical device on the mobile terminal for generating and obtaining the test executing script and the like to realize automatic test of a mobile phone, so that the same effect of manual test is achieved without artificial participation, comprehensive test of multiple models is realized through an image recognition technology, the test quality is improved greatly, the test efficiency is increased greatly, and the test cost is further lowered.

Description

A kind of method and apparatus of testing mobile terminal
Technical field
The present invention relates to field of computer technology, relate in particular to a kind of technology of testing mobile terminal.
Background technology
Along with the portable terminal technology rapid development, the R&D cycle of trendy portable terminal shortens thereupon, and portable terminal is constantly weeded out the old and bring forth the new fast, and the test assignment of corresponding trendy product also just continues to increase.But; General in the prior art through carrying out automanual test in the simulator that portable terminal is connected to computing machine; And mainly only test to single type; In test process, need a large amount of repetitive operation and need more manual work to participate in, thereby the quality and the efficient of test is restricted, and testing cost is too high.
Therefore, how to realize the automatic test of portable terminal effectively, become one of present problem demanding prompt solution.
Summary of the invention
The method and apparatus that the purpose of this invention is to provide a kind of testing mobile terminal.
According to an aspect of the present invention, a kind of method of testing mobile terminal is provided, this method may further comprise the steps:
A obtains the test execution script;
B carries out test operation according to said test execution script to said portable terminal;
C obtain show on the said portable terminal with the corresponding practical operation result images of this test operation;
Wherein, this method also comprises:
-through the operating process of recording mechanism, generate the test execution script to portable terminal
Wherein, this method also comprises:
X compares analysis with said practical operation result images expected result image pairing with it, to obtain test result.
According to a further aspect in the invention, a kind of equipment of testing mobile terminal is provided also, this equipment comprises:
The script deriving means is used to obtain the test execution script;
Proving installation is used for according to said test execution script said portable terminal being carried out test operation;
Image acquiring device, be used to obtain show on the said portable terminal with the corresponding practical operation result images of this test operation;
Wherein, this equipment also comprises:
The script generating apparatus through the operating process of recording mechanism to portable terminal, generates the test execution script
Wherein, this equipment also comprises:
Deriving means is used for said practical operation result images expected result image pairing with it compared analysis, to obtain test result as a result.
Compared with prior art; The present invention through the record mechanical finger to the operating process of portable terminal to generate and to obtain mode such as test execution script; Said portable terminal is directly carried out the automatic test of test operation with the realization mobile phone, thereby do not needing artificial situation of participating in to be issued to the effect identical, and realize full test different types of machines through image recognition technology with the manual testing; Greatly improve the quality and the efficient of test, and then reduced testing cost.
Description of drawings
Through reading the detailed description of doing with reference to following accompanying drawing that non-limiting example is done, it is more obvious that other features, objects and advantages of the present invention will become:
Fig. 1 illustrates the equipment synoptic diagram according to one aspect of the invention testing mobile terminal;
Fig. 2 illustrates the equipment synoptic diagram of testing mobile terminal in accordance with a preferred embodiment of the present invention;
Fig. 3 illustrates the method flow diagram of testing mobile terminal according to a further aspect of the present invention;
Fig. 4 illustrates the method flow diagram of testing mobile terminal in accordance with a preferred embodiment of the present invention.
Same or analogous Reference numeral is represented same or analogous parts in the accompanying drawing.
Embodiment
Below in conjunction with accompanying drawing the present invention is described in further detail.
Fig. 1 illustrates the equipment synoptic diagram according to one aspect of the invention testing mobile terminal.Testing apparatus 1 comprises script deriving means 11, proving installation 12, image acquiring device 13, script generating apparatus 14 and deriving means 15 as a result.Script generating apparatus 14 generates the test execution script through the operating process of recording mechanism to portable terminal; Script deriving means 11 obtains the test execution script; Proving installation 12 carries out test operation according to said test execution script to said portable terminal; Image acquiring device 13 obtain show on the said portable terminal with the corresponding practical operation result images of this test operation; Deriving means 15 compares analysis with said practical operation result images expected result image pairing with it as a result, to obtain test result.At this, script refers to use a kind of specific descriptive language, and the executable file according to certain form is write is called grand or autoexec again; Include but not limited to JavaScript, VBScript, ActionScript; MAX Script, ASP, JSP, scripts such as PHP.
At this; Script generating apparatus 14 is carried out the operation and the script deriving means 11 that generate the test execution script and is carried out the sequencing relation that the operation of obtaining the test execution script does not have strictness; Comprise the serial or parallel mode, for example, in serial mode; After script generating apparatus 14 generated the test execution script, script deriving means 11 obtained the test execution script again from script generating apparatus 14; Perhaps, in parallel mode, when script generating apparatus 14 generated the test execution script, script deriving means 11 obtained the test execution script from the database that provides like third party device.For for simplicity, below only with the execution of script generating apparatus 14 formerly, the execution of script deriving means 11 after the serial execution sequence be that example is set forth.Those skilled in the art will be understood that with other order execution script generating apparatus 14 and also are applicable to the present invention with script deriving means 11, also should be included in the protection domain of the present invention, and be contained in this at this with way of reference.
At this; Image acquiring device 13 is carried out and is obtained the operation of practical operation result images and deriving means 15 as a result and carry out the operation of obtaining test result and do not have strict sequencing and concern; Comprise the serial or parallel mode, for example, after image acquiring device 13 obtains whole practical operation result images in serial mode; Deriving means 15 compares analysis with each practical operation result images expected result image pairing with it more one by one as a result, to obtain test result; Perhaps, in parallel mode, image acquiring device 13 is when obtaining next practical operation result images, and 15 pairs of last practical operation result images expected result images pairing with it of deriving means compare analysis as a result, to obtain test result.For for simplicity, below only with the execution of image acquiring device 13 formerly, as a result deriving means 15 execution after the serial execution sequence be that example is set forth.Those skilled in the art will be understood that with other image acquiring devices of carrying out in proper order 13 and deriving means 15 as a result and also are applicable to the present invention, also should be included in the protection domain of the present invention, and be contained in this at this with way of reference.
Those skilled in the art also will be understood that be merely among Fig. 1 the script generating apparatus 14 that illustrates for simplicity prior to script deriving means 11, image acquiring device 13 prior to the execution sequence of deriving means 15 as a result.
At this; Said portable terminal includes but not limited to: smart mobile phone, PDA(Personal Digital Assistant), portable game machine etc.; And the button of said portable terminal can be any physical button or virtual key; Include but not limited to QWERTY full keyboard button, regular handset keyboard (keypad) button, the full keyboard button that arranges in alphabetical order, and the dummy keyboard button of any self-defined layout.Wherein, Said smart mobile phone comprises any mobile phone that meets following condition: have independently operating system; Can be by user's program of providing of third party such as install software, recreation service provider voluntarily; Come continuous function to expand through this class method, and can realize that wireless network inserts through mobile communication network to mobile phone; A kind of hand-held electronic equipment of said PDA(Personal Digital Assistant) has some function of robot calculator, can be used for managing personal information, also can surf the web, and sends and receive e-mail etc.; Said portable game machine is meant the small-sized special game machine that is convenient for carrying, converting video Games Software whenever and wherever possible.
Particularly, script generating apparatus 14 generates the test execution script through the operating process of recording mechanism to portable terminal.Particularly; Script generating apparatus 14 is through the operating process of recording mechanism to portable terminal; The mode that generates the test execution script includes but not limited to: 1) mechanical finger in script generating apparatus 14 recording mechanisms is to the operating process of portable terminal; Like the sequential scheduling of the action of the execution in the operation, the coordinate points of carrying out action, execution action, and generate the test execution script in view of the above; 2) script generating apparatus 14 is through mode such as taking pictures; Obtain the image of the mechanical finger of mechanical hook-up to the operating process of portable terminal; And in operating process, respectively operate institute's respective coordinates point according to the mechanical finger of script generating apparatus 14 record; Utilize image recognition technology, discern the concrete button content in the predeterminable area scope of these coordinate points in these images, and then generate the test execution script according to sequence of operation.At this, said mechanical hook-up is the device through like mechanical finger portable terminal being operated.At this, said test execution script is used to write down the implementation such as operations such as clicking, hover, slide/rotate, wait for, take pictures; Click is the operation of clicking in single coordinate points; Slip comprises the slip of or multi-point at 2, and for example to slide be to carry out clicking operation in first coordinate points to point-to-point transmission, then keeps pressing operation to slide into second coordinate points and remove pressing operation; Wait is based on the operation that the time carries out; Take pictures is to trigger image acquiring device 13 to obtain the image to the operating area of current mobile terminal.
For example; Portable terminal is the touch-screen smart mobile phone; The scene that this smart mobile phone is operated is: start the browser of this mobile phone, and input " www.sina.com " back carriage return in address field, after browser is opened the corresponding page with this network address; In this page, pull, roll to realize the page; To the portable terminal executable operations and write down this process, the operation starting point that at first writes down this mechanical finger is coordinate points (0,0) to script generating apparatus 14 through mechanical finger; Then this mechanical finger moves to coordinate points (120,80) and clicks, script generating apparatus 14 this coordinate points of record and click action thereof; This mechanical finger is in the wait 5 seconds of hovering subsequently, and script generating apparatus 14 writes down 5 seconds stand-by period ...; Mechanical finger moves to coordinate points (50; 40) click and keep pressing operation to slide into coordinate points (50,100) removing pressing operation, script generating apparatus 14 record these two coordinate points and sliding actions; Script generating apparatus 14 is based on mechanical finger that it the write down overall process to this smart mobile phone executable operations, generates the test execution script to be:
Figure BSA00000568275900051
Figure BSA00000568275900061
Again for example, mobile device is the touch screen type smart mobile phone, and the scene that this smart mobile phone is operated is: input " hello world " in the text editor of this smart mobile phone; The mechanical finger of mechanical hook-up is to touch screen type smart mobile phone executable operations, and 14 these operating process of record of script generating apparatus are like the starting point (0 at the record mechanical finger; 0) after, the first step moves to coordinate points (80,50) for this mechanical finger and clicks; Then, script generating apparatus 14 is on the time point of mechanical finger click coordinate point (80,50); Trigger the screen of 13 pairs of touch screen type smart mobile phones of image acquiring device and take pictures, obtaining and the corresponding image of this operating process, and on this image elements of a fix point (80; 50), utilize image recognition technology, the concrete button content of discerning in the predeterminable area scope of this coordinate points in this image is " h " icon; Method is discerned the pairing button content of acquisition operating process successively according to sequence of operation in view of the above, and then generation test execution script is:
Figure BSA00000568275900062
Those skilled in the art will be understood that the mode of above-mentioned generation test execution script is merely for example; The mode of other generation test execution scripts existing or that possibly occur from now on is as applicable to the present invention; Also should be included in the protection domain of the present invention, and be contained in this with way of reference at this.
Script deriving means 11 obtains the test execution script.More specifically; Script deriving means 11 regularly or answer Event triggered to obtain the test execution script in real time; For example whether there is the test execution script to generate,, perhaps passes through the communication mode of agreement termly to obtain the test execution script through real-time listening script generating apparatus 14; Like communication protocols such as http, https, directly carry out script from other parts or the third party device read test of survey equipment 1.For example, the test execution script that the script deriving means 11 real-time listening script generating apparatus 14 of testing apparatus 1 send is submitted request to, obtains this test execution script through predetermined communication mode.And for example, script deriving means 11 is pressed some cycles, sends to third party device termly and obtains the request of test execution script, and receive the test execution script that this third party device returns.Those skilled in the art will be understood that the above-mentioned mode of obtaining the test execution script is merely for example; Other existing or modes of obtaining the test execution script that possibly occur from now on are as applicable to the present invention; Also should be included in the protection domain of the present invention, and be contained in this with way of reference at this.
Subsequently, proving installation 12 carries out test operation according to said test execution script to said portable terminal.Particularly; The test execution script that proving installation 12 obtains according to script deriving means 11; Portable terminal to be measured is carried out test operation; Wherein, The method of said execution test operation includes but not limited to: 1) proving installation 12 is according to the coordinate points of the operational motion in the test execution script, operational motion and the execution sequence of operational motion, the operation of drive mechanism simulation staff to the physical button of portable terminal or touch-screen button carry out such as click, slide, hover, slide/operation such as rotate; 2) proving installation 12 is according to the content of operational motion, operational motion in the test execution script and the execution sequence of operational motion; And the API (API) of utilizing portable terminal to provide one by one each testing procedure of this test execution script; Each testing procedure is converted to and the executable test execution instruction of corresponding this portable terminal of this testing procedure, and send it to this portable terminal to carry out.
For example, tested portable terminal is the smart mobile phone with physical keyboard, and the scene that this mobile phone is operated is: open the talk button of this mobile phone, and input telephone number " 13811110000 ", then click and confirm the button affirmation; Script deriving means 11 gets access to the test execution script:
Figure BSA00000568275900071
Proving installation 12 is according to mechanical finger executable operations on the physical button of tested mobile phone of this test execution script driven mechanical hook-up, and this mechanical finger is started working from starting point (0,0), at first will move to coordinate points (10; 80) and carry out clicking operation, the then shortest path of identification from starting point (10,80) to coordinate points (10,120) automatically; Move to coordinate points (10,120) and carry out clicking operation, in view of the above method; Move to coordinate points (80,120) subsequently and carry out click ...; Move to coordinate points (10,10) and carry out click, accomplish test operation thus.
Again for example, tested portable terminal is the touch screen type smart mobile phone, and the scene that this smart mobile phone is operated is: input " www.sina.com " back carriage return in browser's address bar, and script deriving means 11 gets access to the test execution script and is:
Figure BSA00000568275900082
The API (API) that proving installation 12 utilizes this smart mobile phone to provide; Convert first testing procedure " click:w " in this test execution script the executable test execution instruction of to this smart mobile phone; And send it to this smart mobile phone with input alphabet " w "; Method in view of the above; Proving installation 12 utilizes the API (API) of this smart mobile phone, this test execution script is converted into by testing procedure one by one be sent to this smart mobile phone after test execution is instructed, to accomplish aforesaid operations.
Those skilled in the art will be understood that the mode of above-mentioned test operation is merely for example; The mode of other test operations existing or that possibly occur from now on is as applicable to the present invention; Also should be included in the protection domain of the present invention, and be contained in this with way of reference at this.
Subsequently, image acquiring device 13 obtain show on the said portable terminal with the corresponding practical operation result images of this test operation.Particularly; The test operation that image acquiring device 13 carries out according to proving installation 12; Obtain show on the portable terminal with the corresponding practical operation result images of this test operation, wherein, the mode of obtaining the practical operation result images includes but not limited to: 1) screen of portable terminal is taken pictures; 2) screen of portable terminal is made a video recording 3) from the video memory of portable terminal, extract.For example; Portable terminal is the touch screen type smart mobile phone; Proving installation 12 is carried out test according to the test execution script to this smart mobile phone; When carrying out taking pictures during step to the test execution script, the display screen that proving installation 12 triggers 13 pairs of these smart mobile phones of image acquiring devices is taken pictures, to obtain and the corresponding practical operation result images of this testing procedure.Again for example; Portable terminal is the touch screen type smart mobile phone; Proving installation 12 is carried out test according to the test execution script to this smart mobile phone; When carrying out taking pictures during step to the test execution script, trigger that image acquiring device 13 extracts and the corresponding image of this execution in step from the video memory of this mobile phone, and as the practical operation result.Those skilled in the art will be understood that the above-mentioned mode of obtaining the practical operation result images is merely for example; Other existing or modes of obtaining the practical operation result images that possibly occur from now on are as applicable to the present invention; Also should be included in the protection domain of the present invention, and be contained in this with way of reference at this.
Deriving means 15 compares analysis with said practical operation result images expected result image pairing with it as a result, to obtain test result.Particularly; Deriving means 15 compares the practical operation result images expected result image that preset pairing with it that image acquiring device 13 obtains as a result; Judge whether the pairing expected result image that presets of practical operation result images and its is consistent; And with judged result as test result, wherein, the mode of obtaining test result includes but not limited to following mode:
1) carries out taking pictures during step to the test execution script when proving installation 12; Triggering image acquiring device 13 obtains and the corresponding practical operation result images of this testing procedure; Then; Deriving means 15 compares this practical operation result images expected result image pairing with it in real time as a result, to obtain corresponding test result with this testing procedure;
2) behind proving installation 12 complete test execution scripts, deriving means 15 carries out compare of analysis one by one with whole actual execution result image and its pairing separately expected result image that image acquiring device 13 obtains again as a result, to obtain test result.
Wherein, said test result includes but not limited to: 1) with the test execution script in the corresponding practical operation result images of each testing procedure whether the expected result image that preset corresponding with it is consistent; 2) with the test execution script in the corresponding practical operation result images of each testing procedure whether consistent with the corresponding fail result image of certain type of fault.At this, as a result deriving means 15 through calling application DLL (API) from the database of testing apparatus 1 or third party device, obtain preset with the corresponding expected result image of each testing procedure of test execution script.
For example; Deriving means 15 monitoring image deriving means 13 in real time as a result; When image acquiring device 13 get access to one with the test execution script in the corresponding practical operation result images of a testing procedure time, deriving means 15 obtains from the database of third party device and the corresponding expected result image that presets of this testing procedure as a result, and this practical operation result images and this expected result image are compared; If two images are in full accord; Then that the practical operation result images is shown is consistent with this expected result image for test result, if two images are inconsistent, then test result illustrates the practical operation result images and this expected result image is inconsistent.Again for example; After proving installation 12 is accomplished the test execution script executing; Image acquiring device 13 obtains and the corresponding practical operation result images of each testing procedure; Deriving means 15 obtains from the database of third party device and the corresponding expected result image that presets of each testing procedure as a result, and those practical operation result images and its corresponding separately expected result image that presets are compared one by one, to obtain test result.Preferably; Some fail result image of this portable terminal also can prestore in the database of third party device; Its some fault that takes place when carrying out this testing procedure with this portable terminal is corresponding one by one; When the expected result image that presets when the practical operation result images is corresponding with it was inconsistent, deriving means 15 can obtain these fail result images from the database of third party device as a result, and this practical operation result images is contrasted with it one by one; When definite this practical operation result images when wherein a fail result image is consistent, can judge that then this portable terminal exists and the corresponding fault of this fail result image.
Those skilled in the art will be understood that the above-mentioned mode of obtaining test result is merely for example; Other existing or modes of obtaining test result that possibly occur from now on are as applicable to the present invention; Also should be included in the protection domain of the present invention, and be contained in this with way of reference at this.
Preferably, script generating apparatus 14, script deriving means 11, proving installation 12, image acquiring device 13 and be to work continuously between the deriving means 15 as a result.Particularly, script generating apparatus 14 generates the test execution script through the operating process of recording mechanism to portable terminal; Script deriving means 11 obtains the test execution script; Proving installation 12 carries out test operation according to said test execution script to said portable terminal; Image acquiring device 13 obtain show on the said portable terminal with the corresponding practical operation result images of this test operation; Deriving means 15 compares analysis with said practical operation result images expected result image pairing with it as a result, to obtain test result.At this; It will be understood by those skilled in the art that " continuing " is meant that each device requires to carry out the generation of test execution script, the execution of obtaining, testing, obtaining of practical operation result images and the obtaining of test result of test execution script according to mode of operation that set or adjustment in real time respectively, stops obtaining the test execution script in a long time until script generating apparatus 14.
More preferably, said proving installation 12 drives said mechanical hook-up said portable terminal is carried out test operation according to said test execution script.Particularly; Proving installation 12 is according to the coordinate points of the operational motion in the test execution script, operational motion and the execution sequence of operational motion, the operation of drive mechanism simulation staff to the physical button of portable terminal or touch-screen button carry out such as click, slide, hover, slide/operation such as rotate.For example, tested portable terminal is the smart mobile phone with physical keyboard, and the scene that this mobile phone is operated is: input " hello world " in text editor, and take pictures; Script deriving means 11 gets access to the test execution script:
Figure BSA00000568275900111
Proving installation 12 is according to mechanical finger executable operations on the physical button of tested mobile phone of this test execution script driven mechanical hook-up, and this mechanical finger is started working from starting point (0,0); At first will move to coordinate points (80,50) and carry out clicking operation, then discern automatically from starting point (80; 50) to the shortest path of coordinate points (40,60), move to coordinate points (40; 60) and carry out clicking operation ..., move to coordinate points (35; 35) also carry out click, trigger 13 pairs of mobile phone display screens of image acquiring device at last and take pictures to accomplish this test operation.Those skilled in the art will be understood that the above-mentioned mode that obtains test operation is merely for example; The mode of other test operations existing or that possibly occur from now on is as applicable to the present invention; Also should be included in the protection domain of the present invention, and be contained in this with way of reference at this.
(with reference to Fig. 2) in a preferred embodiment, said proving installation 12 ' also comprise operand acquiring unit 121 ', location information acquiring unit 122 ' and test cell 123 '; Operand acquiring unit 121 ' is according to said test execution script, obtains the operand in the operating area of said portable terminal; Then, location information acquiring unit 122 ' is carried out image recognition to the operating area of said portable terminal, to obtain the positional information of said operand in said operating area; Subsequently, test cell 123 ' drives said mechanical hook-up said operand is carried out test operation according to said test execution script and positional information.
Particularly; Operand acquiring unit 121 ' is resolved the test execution script that has obtained; Operand in extraction and the corresponding operating process of this test execution script in the operating area of portable terminal; And record and the corresponding operand execution sequence of this operating process, wherein, said operating area includes but not limited to: 1) the physical button operating area of portable terminal; 2) touch screen operation of portable terminal zone; Said operand includes but not limited to: the physical button of portable terminal and touch-screen button etc.; Then, location information acquiring unit 122 ' through as the mode of taking pictures obtain the image of the operating area of this portable terminal, and through image recognition technology, to obtain the location coordinate information of those operands on the operating area of this portable terminal; Subsequently, test cell 123 ' is according to this test execution script and those location coordinate informations, and according to the operand execution sequence, drive mechanism carries out test operation to this portable terminal.
For example; The physical keyboard button on the current mobile terminal and the layout of keyboard with touch screen button are roughly the same, and difference only is varying in size of button, therefore; Can calculate position and the relative distance that obtains plurality of keys based on image recognition technology, thereby confirm the positional information of whole buttons; The test execution script that script deriving means 11 obtains is:
Figure BSA00000568275900131
Operand acquiring unit 121 ' is according to this test execution script, obtain in the operating area of said portable terminal operand by testing procedure be followed successively by " 1 ", " 3 ", " 8 " ... " 0 ", " affirmation "; Then; The material with reflection function is sticked on four summits at the operating area of three buttons " 1 ", " 2 ", " 4 " and this mobile phone of this mobile phone in advance; Location information acquiring unit 122 ' is obtained the image of the operating area of this mobile phone through the mode of taking pictures; And pass through image recognition technology; Discern the special color on these three buttons and four summits; And obtain the relative distance between each button according to the position calculation of these special colors, and then obtain the actual position coordinate of each button at the operating area of this mobile phone, confirm thus " conversation ", " 1 ", " 3 ", " 8 " ..., " 0 ", the position coordinates of " affirmation " each button in the operating area of this mobile phone; Subsequently, extracting testing procedure, and according to the position coordinates of each button, drive mechanism carries out test operation to this portable terminal to test cell 123 ' according to this test execution script.Those skilled in the art will be understood that the mode of above-mentioned execution test operation is merely for example; The mode of other execution test operations existing or that possibly occur from now on is as applicable to the present invention; Also should be included in the protection domain of the present invention, and be contained in this with way of reference at this.
Preferably, said operand comprise following at least each:
The physical button of-said portable terminal;
The touch-screen button of-said portable terminal.
Particularly, operand includes but not limited to the physical button of portable terminal and the touch-screen button of portable terminal.Wherein, said physical button is the button of physical keyboard, includes but not limited to the physical button of physical button, the regular handset keyboard (keypad) of QWERTY full keyboard, the button of the full keyboard that arranges in alphabetical order; Full keyboard that the button of the touch-screen button of said portable terminal refers to be used for to touch full mobile phone virtual dummy keyboard in screen and menu key etc., its virtual keyboard layout include but not limited to QWERTY full keyboard, regular handset keyboard (keypad), arrange in alphabetical order etc.Those skilled in the art will be understood that the aforesaid operations object is merely for example, and other operands existing or that possibly occur from now on also should be included in the protection domain of the present invention, and be contained in this at this with way of reference as applicable to the present invention.
More preferably, each obtains the practical operation result images to said image acquisition equipment 13 at least through following:
-screen of said portable terminal is taken pictures;
-screen of said portable terminal is made a video recording;
-from the video memory of said portable terminal, extract.
Particularly; For example; Proving installation 12 triggers image acquiring device 13 according to the test execution script and obtains the production result to mobile phone display screen; And according to the operating process of the mechanical finger of script generating apparatus 14 record, extract the deadline point of each testing procedure of mechanical finger executable operations process, and then from image pickup result, extract with the corresponding two field picture of each time point as the practical operation result.Again for example; Proving installation 12 is carried out test according to the test execution script to this smart mobile phone; When carrying out taking pictures during step to the test execution script; The display screen that proving installation 12 triggers 13 pairs of mobile phones of image acquiring device is taken pictures, to obtain and the corresponding practical operation result images of this testing procedure.Again for example; Proving installation 12 is carried out test according to the test execution script to this smart mobile phone; When carrying out taking pictures during step to the test execution script, trigger that image acquiring device 13 extracts and the corresponding image of this execution in step from the video memory of mobile phone, and as the practical operation result.Those skilled in the art will be understood that the above-mentioned mode of obtaining the practical operation result images is merely for example; Other existing or modes of obtaining the practical operation result images that possibly occur from now on are as applicable to the present invention; Also should be included in the protection domain of the present invention, and be contained in this with way of reference at this.
(with reference to Fig. 1) in a further advantageous embodiment, said script deriving means 11 also according to the testing requirement of said portable terminal, carry out matching inquiry in test execution script storehouse, to obtain and the corresponding test execution script of said testing requirement.Followingly with reference to Fig. 1 the preferred embodiment is described in detail, wherein, proving installation 12 carries out test operation according to said test execution script to said portable terminal; Image acquiring device 13 obtain show on the said portable terminal with the corresponding practical operation result images of this test operation; Script generating apparatus 14 generates the test execution script through the operating process of recording mechanism to portable terminal; Deriving means 15 compares analysis with said practical operation result images expected result image pairing with it as a result, to obtain test result; Its detailed process with reference to proving installation 12 among the described embodiment of Fig. 1, image acquiring device 13, script generating apparatus 14 with the performed process of deriving means 15 is identical as a result, for for simplicity, is contained in this with way of reference with aforementioned, does not give unnecessary details and do not do.
Particularly; Script deriving means 11 is according to the testing requirement of preset portable terminal; For example note sending function testing requirement, handset dialing functional test demand etc. are carried out matching inquiry in test execution script storehouse, to obtain and the corresponding test execution script of this testing requirement; Wherein, the test execution script in the said test execution script storehouse includes but not limited to: the test execution script that script generating apparatus 14 generates and the test execution script of input in advance.For example; Script deriving means 11 is according to preset handset dialing functional test demand; Extract the demand identification information of this testing requirement, and inquire about in test execution script storehouse according to this demand identification information, coupling obtains and the corresponding test execution script of this demand identification information.At this, said test execution script storehouse is used to store the test execution script to different testing requirements, and each demand identification information all has at least one test execution script corresponding with it.Those skilled in the art will be understood that the above-mentioned mode of obtaining the test execution script is merely for example; Other existing or modes of obtaining the test execution script that possibly occur from now on are as applicable to the present invention; Also should be included in the protection domain of the present invention, and be contained in this with way of reference at this.
Preferably, testing apparatus 1 also comprises the updating device (not shown), and updating device is according to said test execution script, sets up or upgrades said test execution script storehouse.Particularly, test execution script that updating device will obtain at script deriving means 11 and corresponding demand identification information thereof are written in this test execution script storehouse, to upgrade this test execution script storehouse; If detecting this test execution script storehouse does not set up, this test execution script storehouse of initialization of then going ahead of the rest will be somebody's turn to do (a bit) test execution script then and corresponding demand identification information is written in this test execution script storehouse.For example; Updating device is according to the test execution script of the testing mobile phone dial feature that obtains at script deriving means 11 and the testing requirement beacon information of its corresponding mobile phone dial feature; In test execution script storehouse, insert one and comprise this testing requirement beacon information, and the data recording of test execution content for script.Those skilled in the art will be understood that the mode in above-mentioned foundation and refresh test execution script storehouse is merely for example; The mode that the script storehouse is carried out in other foundation existing or that possibly occur from now on or refresh test is as applicable to the present invention; Also should be included in the protection domain of the present invention, and be contained in this with way of reference at this.
In another preferred embodiment (with reference to Fig. 1), testing apparatus 1 also comprises log acquisition device (not shown), and the log acquisition device obtains the running log of said portable terminal; Then, deriving means 15 compares analysis with said practical operation result images and said expected result image as a result, in conjunction with said running log, to obtain said test result.Followingly with reference to Fig. 1 the preferred embodiment is described in detail, wherein, script deriving means 11 obtains the test execution script; Proving installation 12 carries out test operation according to said test execution script to said portable terminal; Image acquiring device 13 obtain show on the said portable terminal with the corresponding practical operation result images of this test operation; Script generating apparatus 14 generates the test execution script through the operating process of recording mechanism to portable terminal; Its detailed process for for simplicity, is contained in this with way of reference with aforementioned identical with reference to the performed process of script deriving means 11 among the described embodiment of Fig. 1, proving installation 12, image acquiring device 13 and script generating apparatus 14, does not give unnecessary details and do not do.
Particularly; The log acquisition device for example extracts the running log that obtains the corresponding testing procedure of practical operation result images with image acquiring device 13 through real-time monitoring from the test run daily record of this portable terminal; And this practical operation result images and this running log be sent to deriving means 15 as a result in the lump; This as a result deriving means 15 this practical operation result images that will obtain corresponding preset expected result image compares analysis with it; In conjunction with this running log, to obtain test result; Perhaps the log acquisition device is after proving installation 12 test execution script executing finish; For example from the test run daily record of portable terminal, extract the corresponding whole running logs of this time test of this portable terminal; And be sent to deriving means 15 as a result in the lump with the whole practical operation result images that obtain from image acquiring device 13; This as a result deriving means 15 those practical operation result images and its corresponding separately expected result image that presets are compared one by one; And combination running log; Whether to obtain test result, wherein, said test result includes but not limited to: 1) consistent with the corresponding practical operation result images of each testing procedure expected result image corresponding with it; 2) if when inconsistent, indicate running log with the corresponding operation steps of this practical operation result images.
For example; Log acquisition device real-time monitoring images deriving means 13; When image acquiring device 13 obtains a practical operation result images, from the test run daily record of this portable terminal, extract the running log with the corresponding testing procedure of this practical operation result images, and this practical operation result images encapsulated with this running log be packaged as packet; Be sent to deriving means 15 as a result through calling predetermined API (API); This is deriving means 15 these packets of parsing as a result, and corresponding preset expected result image compares analysis with it will to resolve this practical operation result images that obtains, in conjunction with this running log; Whether judge to obtain the practical operation result images consistent with its corresponding preset expected result image, and with the running log of the corresponding operation steps of this practical operation result images.Those skilled in the art will be understood that the above-mentioned mode of obtaining running log or obtaining test result is merely for example; Other existing or possibly occur from now on obtain running log and the mode of obtaining test result as applicable to the present invention; Also should be included in the protection domain of the present invention, and be contained in this with way of reference at this.
Fig. 3 illustrates the method flow diagram according to one aspect of the invention testing mobile terminal.In step S4, testing apparatus 1 generates the test execution script through the operating process of recording mechanism to portable terminal; In step S1, testing apparatus 1 is obtained the test execution script; In step S2, testing apparatus 1 is carried out test operation according to said test execution script to said portable terminal; In step S3, testing apparatus 1 obtain show on the said portable terminal with the corresponding practical operation result images of this test operation; In step S5, testing apparatus 1 compares analysis with said practical operation result images expected result image pairing with it, to obtain test result.At this, script refers to use a kind of specific descriptive language, and the executable file according to certain form is write is called grand or autoexec again; Include but not limited to JavaScript, VBScript, ActionScript; MAX Script, ASP, JSP, scripts such as PHP.。
At this; In step S4, the operation of testing apparatus 1 execution generation test execution script and its are carried out the operation of obtaining the test execution script and are not had strict sequencing relation in step S1, comprise the serial or parallel mode; For example; In serial mode, testing apparatus 1 is obtained the test execution script from it after in step S4, generating the test execution script again among step S4 in step S1; Perhaps, in parallel mode, testing apparatus 1 generates in step S4 in the test execution script, in step S1, from the database that provides like third party device, obtains the test execution script.For for simplicity, below only with step S4 carry out formerly, step S1 carry out after the serial execution sequence be that example is set forth.Those skilled in the art will be understood that with other order execution in step S4 and step S 1 and also are applicable to the present invention, also should be included in the protection domain of the present invention, and be contained in this at this with way of reference.
At this; Testing apparatus 1 is carried out the operation of obtaining the practical operation result images and in step S5, is carried out the operation of obtaining test result and do not have strict sequencing relation in step S3; Comprise the serial or parallel mode, for example, after testing apparatus 1 is obtained whole practical operation result images in step S3 in serial mode; In step S5, again each practical operation result images expected result image pairing with it compared analysis one by one, to obtain test result; Perhaps, in parallel mode, testing apparatus 1 is being obtained in step S3 in next practical operation result images, in step S5 on a practical operation result images expected result image pairing with it compare analysis, to obtain test result.For for simplicity, below only with step S3 carry out formerly, step S5 carry out after the serial execution sequence be that example is set forth.Those skilled in the art will be understood that with other step S3 that carries out in proper order and step S5 and also are applicable to the present invention, also should be included in the protection domain of the present invention, and be contained in this at this with way of reference.
Those skilled in the art also will be understood that and are merely the step S4 that illustrates for simplicity among Fig. 3 prior to step S1, the step S3 execution sequence prior to step S5.
At this; Said portable terminal includes but not limited to: smart mobile phone, PDA(Personal Digital Assistant), portable game machine etc.; And the button of said portable terminal can be any physical button or virtual key; Include but not limited to QWERTY full keyboard button, regular handset keyboard (keypad) button, the full keyboard button that arranges in alphabetical order, and the dummy keyboard button of any self-defined layout.Wherein, Said smart mobile phone comprises any mobile phone that meets following condition: have independently operating system; Can be by user's program of providing of third party such as install software, recreation service provider voluntarily; Come continuous function to expand through this class method, and can realize that wireless network inserts through mobile communication network to mobile phone; A kind of hand-held electronic equipment of said PDA(Personal Digital Assistant) has some function of robot calculator, can be used for managing personal information, also can surf the web, and sends and receive e-mail etc.; Said portable game machine is meant the small-sized special game machine that is convenient for carrying, converting video Games Software whenever and wherever possible.
Particularly, in step S4, testing apparatus 1 generates the test execution script through the operating process of recording mechanism to portable terminal.Particularly; In step S4; Testing apparatus 1 is through the operating process of recording mechanism to portable terminal, and the mode that generates the test execution script includes but not limited to: 1) in step S4, the mechanical finger in testing apparatus 1 recording mechanism is to the operating process of portable terminal; Like the sequential scheduling of the action of the execution in the operation, the coordinate points of carrying out action, execution action, and generate the test execution script in view of the above; 2) in step S4; Testing apparatus 1 is through mode such as taking pictures; Obtain the image of the mechanical finger of mechanical hook-up, and in operating process, respectively operate institute's respective coordinates point, utilize image recognition technology according to the mechanical finger of testing apparatus 1 record to the operating process of portable terminal; Discern the concrete button content in the predeterminable area scope of these coordinate points in these images, and then generate the test execution script according to sequence of operation.At this, said mechanical hook-up is the device through like mechanical finger portable terminal being operated.At this, said test execution script is used to write down the implementation such as operations such as clicking, hover, slide/rotate, wait for, take pictures; Click is the operation of clicking in single coordinate points; Slip comprises the slip of or multi-point at 2, and for example to slide be to carry out clicking operation in first coordinate points to point-to-point transmission, then keeps pressing operation to slide into second coordinate points and remove pressing operation; Wait is based on the operation that the time carries out; Take pictures is to trigger testing apparatus 1 in step S3, to obtain the image to the operating area of current mobile terminal.
For example; Portable terminal is the touch-screen smart mobile phone; The scene that this smart mobile phone is operated is: start the browser of this mobile phone, and input " www.sina.com " back carriage return in address field, after browser is opened the corresponding page with this network address; In this page, pull, roll to realize the page; In step S4, to the portable terminal executable operations and write down this process, the operation starting point that at first writes down this mechanical finger is a coordinate points (0 to testing apparatus 1 through mechanical finger; 0), then this mechanical finger moves to coordinate points (120,80) and clicks; In step S4, testing apparatus 1 this coordinate points of record and click action thereof, this mechanical finger is in the wait 5 seconds of hovering subsequently; 15 seconds stand-by period of record of testing apparatus ..., mechanical finger moves to coordinate points (50; 40) click and keep pressing operation to slide into coordinate points (50,100) removing pressing operation, testing apparatus 1 record this two coordinate points and sliding action; Testing apparatus 1 is based on mechanical finger that it the write down overall process to this smart mobile phone executable operations, generates the test execution script to be:
Figure BSA00000568275900201
Again for example, mobile device is the touch screen type smart mobile phone, and the scene that this smart mobile phone is operated is: input " hello world " in the text editor of this smart mobile phone; The mechanical finger of mechanical hook-up is to touch screen type smart mobile phone executable operations, and in step S4, testing apparatus 1 this operating process of record is like the starting point (0 at the record mechanical finger; 0) after, the first step moves to coordinate points (80,50) for this mechanical finger and clicks; Then, testing apparatus 1 is on the time point of mechanical finger click coordinate point (80,50); Trigger testing apparatus 1 and in step S3, the screen of touch screen type smart mobile phone taken pictures, obtaining and the corresponding image of this operating process, and on this image elements of a fix point (80; 50), utilize image recognition technology, the concrete button content of discerning in the predeterminable area scope of this coordinate points in this image is " h " icon; Method is discerned the pairing button content of acquisition operating process successively according to sequence of operation in view of the above, and then generation test execution script is:
Figure BSA00000568275900202
Figure BSA00000568275900211
Those skilled in the art will be understood that the mode of above-mentioned generation test execution script is merely for example; The mode of other generation test execution scripts existing or that possibly occur from now on is as applicable to the present invention; Also should be included in the protection domain of the present invention, and be contained in this with way of reference at this.
In step S1, testing apparatus 1 is obtained the test execution script.More specifically; In step S1, whether testing apparatus 1 regularly or answer Event triggered to obtain the test execution script in real time for example has the test execution script to generate in step S4 through real-time listening testing apparatus 1; To obtain the test execution script; Perhaps,, directly carry out script from the third party device read test like communication protocols such as http, https termly through the communication mode of agreement.For example, in step S1, its test execution script that in step S4, sends of testing apparatus 1 real-time listening is submitted request to, obtains this test execution script through predetermined communication mode.And for example, in step S1, testing apparatus 1 is pressed some cycles, sends to third party device termly and obtains the request of test execution script, and receive the test execution script that this third party device returns.Those skilled in the art will be understood that the above-mentioned mode of obtaining the test execution script is merely for example; Other existing or modes of obtaining the test execution script that possibly occur from now on are as applicable to the present invention; Also should be included in the protection domain of the present invention, and be contained in this with way of reference at this.
Subsequently, in step S2, testing apparatus 1 is carried out test operation according to said test execution script to said portable terminal.Particularly; In step S2; Testing apparatus 1 is according to its test execution script that in step S1, obtains; Portable terminal to be measured is carried out test operation, and wherein, the method for said execution test operation includes but not limited to: 1) in step S2; Testing apparatus 1 is according to the coordinate points of the operational motion in the test execution script, operational motion and the execution sequence of operational motion, the operation of drive mechanism simulation staff to the physical button of portable terminal or touch-screen button carry out such as click, slide, hover, slide/operation such as rotate; 2) in step S2; Testing apparatus 1 is according to the content of operational motion, operational motion in the test execution script and the execution sequence of operational motion; And the API (API) of utilizing portable terminal to provide one by one each testing procedure of this test execution script; Each testing procedure is converted to and the executable test execution instruction of corresponding this portable terminal of this testing procedure, and send it to this portable terminal to carry out.
For example, tested portable terminal is the smart mobile phone with physical keyboard, and the scene that this mobile phone is operated is: open the talk button of this mobile phone, and input telephone number " 13811110000 ", then click and confirm the button affirmation; In step S1, testing apparatus 1 gets access to the test execution script and is:
Figure BSA00000568275900221
In step S2, testing apparatus 1 is according to mechanical finger executable operations on the physical button of tested mobile phone of this test execution script driven mechanical hook-up, and this mechanical finger is started working from starting point (0,0); At first will move to coordinate points (10,80) and carry out clicking operation, then identification is arrived coordinate points (10 from starting point (10,80) automatically; 120) shortest path moves to coordinate points (10,120) and carries out clicking operation, in view of the above method; Move to coordinate points (80,120) subsequently and carry out click ...; Move to coordinate points (10,10) and carry out click, accomplish test operation thus.
Again for example, tested portable terminal is the touch screen type smart mobile phone, and the scene that this smart mobile phone is operated is: input " www.sina.com " back carriage return in browser's address bar, and in step S1, testing apparatus 1 gets access to the test execution script and is:
Figure BSA00000568275900222
Figure BSA00000568275900231
In step S2; The API (API) that testing apparatus 1 utilizes this smart mobile phone to provide; Convert first testing procedure " click:w " in this test execution script the executable test execution instruction of to this smart mobile phone, and send it to this smart mobile phone with input alphabet " w ", method in view of the above; In step S2; Testing apparatus 1 is utilized the API (API) of this smart mobile phone, this test execution script is converted into by testing procedure one by one be sent to this smart mobile phone after test execution is instructed, to accomplish aforesaid operations.
Those skilled in the art will be understood that the mode of above-mentioned test operation is merely for example; The mode of other test operations existing or that possibly occur from now on is as applicable to the present invention; Also should be included in the protection domain of the present invention, and be contained in this with way of reference at this.
Subsequently, in step S3, testing apparatus 1 obtain show on the said portable terminal with the corresponding practical operation result images of this test operation.Particularly; In step S3, testing apparatus 1 is according to its test operation that in step S2, carries out, obtain show on the portable terminal with the corresponding practical operation result images of this test operation; Wherein, The mode of obtaining the practical operation result images includes but not limited to: 1) screen of portable terminal is taken pictures 2) screen of portable terminal is made a video recording 3) from the video memory of portable terminal, extract.For example, portable terminal is the touch screen type smart mobile phone, in step S2; Testing apparatus 1 is carried out test according to the test execution script to this smart mobile phone; When carrying out taking pictures during step to the test execution script, in step S2, testing apparatus 1 triggers its display screen to this smart mobile phone and takes pictures; In step S3, testing apparatus 1 obtains and the corresponding practical operation result images of this testing procedure.Again for example; Portable terminal is the touch screen type smart mobile phone, and in step S2, testing apparatus 1 is carried out test according to the test execution script to this smart mobile phone; When carrying out taking pictures during step to the test execution script; In step S3, testing apparatus 1 is extracted from the video memory of this mobile phone and the corresponding image of this execution in step, and as the practical operation result.Those skilled in the art will be understood that the above-mentioned mode of obtaining the practical operation result images is merely for example; Other existing or modes of obtaining the practical operation result images that possibly occur from now on are as applicable to the present invention; Also should be included in the protection domain of the present invention, and be contained in this with way of reference at this.
In step S5, testing apparatus 1 compares analysis with said practical operation result images expected result image pairing with it, to obtain test result.Particularly; In step S5; Testing apparatus 1 compares its practical operation result images that in step S3, obtains expected result image of presetting pairing with it, judges whether the pairing expected result image that presets of practical operation result images and its consistent, and with judged result as test result; Wherein, the mode of obtaining test result includes but not limited to following mode:
1) in step S2, carries out taking pictures during step to the test execution script when testing apparatus 1; In step S3; Testing apparatus 1 is obtained and the corresponding practical operation result images of this testing procedure, then, and in step S5; Testing apparatus 1 compares this practical operation result images expected result image pairing with it in real time, to obtain corresponding test result with this testing procedure;
2) when testing apparatus 1 in step S2 behind the complete test execution script; In step S5; Testing apparatus 1 is carried out compare of analysis one by one with its whole actual execution result image that in step S3, obtains and its pairing separately expected result image again, to obtain test result.
Wherein, said test result includes but not limited to: 1) with the test execution script in the corresponding practical operation result images of each testing procedure whether the expected result image that preset corresponding with it is consistent; 2) with the test execution script in the corresponding practical operation result images of each testing procedure whether consistent with the corresponding fail result image of certain type of fault.At this, in step S5, testing apparatus 1 through calling application DLL (API) from the database of third party device, obtain preset with the corresponding expected result image of each testing procedure of test execution script.
For example; When testing apparatus 1 in step S3, get access to one with the test execution script in the corresponding practical operation result images of a testing procedure time; In step S5, testing apparatus 1 is obtained from the database of third party device and the corresponding expected result image that presets of this testing procedure, and this practical operation result images and this expected result image are compared; If two images are in full accord; Then that the practical operation result images is shown is consistent with this expected result image for test result, if two images are inconsistent, then test result illustrates the practical operation result images and this expected result image is inconsistent.Again for example; After testing apparatus 1 was accomplished the test execution script executing in step S2, in step S3, testing apparatus 1 obtained and the corresponding practical operation result images of each testing procedure; In step S5; Testing apparatus 1 is obtained from the database of third party device and the corresponding expected result image that presets of each testing procedure, and those practical operation result images and its corresponding separately expected result image that presets are compared one by one, to obtain test result.Preferably; Some fail result image of this portable terminal also can prestore in the database of third party device; Its some fault that takes place when carrying out this testing procedure with this portable terminal is corresponding one by one, when the expected result image that presets when the practical operation result images is corresponding with it is inconsistent, in step S5; Testing apparatus 1 can be obtained these fail result images from the database of third party device; And this practical operation result images contrasted with it one by one, when definite this practical operation result images when wherein a fail result image is consistent, can judge that then this portable terminal exists and the corresponding fault of this fail result image.
Those skilled in the art will be understood that the above-mentioned mode of obtaining test result is merely for example; Other existing or modes of obtaining test result that possibly occur from now on are as applicable to the present invention; Also should be included in the protection domain of the present invention, and be contained in this with way of reference at this.
Preferably, testing apparatus 1 is to work continuously between in step S4, step S1, step S2, step S3 and step S5.Particularly, in step S4, testing apparatus 1 generates the test execution script through the operating process of recording mechanism to portable terminal; In step S1, testing apparatus 1 is obtained the test execution script; In step S2, testing apparatus 1 is carried out test operation according to said test execution script to said portable terminal; In step S3, testing apparatus 1 obtain show on the said portable terminal with the corresponding practical operation result images of this test operation; In step S5, testing apparatus 1 compares analysis with said practical operation result images expected result image pairing with it, to obtain test result.At this; It will be understood by those skilled in the art that " continuing " is meant that each step requires to carry out the generation of test execution script, the execution of obtaining, testing, obtaining of practical operation result images and the obtaining of test result of test execution script according to mode of operation that set or adjustment in real time respectively, stops obtaining the test execution script in a long time until testing apparatus 1.
More preferably, in step S2, testing apparatus 1 drives said mechanical hook-up said portable terminal is carried out test operation according to said test execution script.Particularly; In step S2; Testing apparatus 1 is according to the coordinate points of the operational motion in the test execution script, operational motion and the execution sequence of operational motion, the operation of drive mechanism simulation staff to the physical button of portable terminal or touch-screen button carry out such as click, slide, hover, slide/operation such as rotate.For example, tested portable terminal is the smart mobile phone with physical keyboard, and the scene that this mobile phone is operated is: input " hello world " in text editor, and take pictures; In step S1, testing apparatus 1 gets access to the test execution script and is:
Figure BSA00000568275900261
In step S2, testing apparatus 1 is according to mechanical finger executable operations on the physical button of tested mobile phone of this test execution script driven mechanical hook-up, and this mechanical finger is from starting point (0; 0) starts working, at first will move to coordinate points (80,50) and carry out clicking operation; Then discern shortest path automatically from starting point (80,50) to coordinate points (40,60); Move to coordinate points (40,60) and carry out clicking operation ...; Move to coordinate points (35,35) and carry out click, trigger testing apparatus 1 at last and in step S3, mobile phone display screen is taken pictures to accomplish this test operation.Those skilled in the art will be understood that the above-mentioned mode that obtains test operation is merely for example; The mode of other test operations existing or that possibly occur from now on is as applicable to the present invention; Also should be included in the protection domain of the present invention, and be contained in this with way of reference at this.
(with reference to Fig. 4) in a preferred embodiment, this process also is included in step S21 ', step S22 ' and step S23 '; In step S21 ', testing apparatus 1 is according to said test execution script, obtains the operand in the operating area of said portable terminal; Then, in step S22 ', the operating area of 1 pair of said portable terminal of testing apparatus carries out image recognition, to obtain the positional information of said operand in said operating area; Subsequently, in step S23 ', testing apparatus 1 drives said mechanical hook-up said operand is carried out test operation according to said test execution script and positional information.
Particularly; In step S21 '; The test execution script that 1 pair of testing apparatus has been obtained is resolved, the operand in extraction and the corresponding operating process of this test execution script in the operating area of portable terminal, and record and the corresponding operand execution sequence of this operating process; Wherein, said operating area includes but not limited to: 1) the physical button operating area of portable terminal; 2) touch screen operation of portable terminal zone; Said operand includes but not limited to: the physical button of portable terminal and touch-screen button etc.; Then, in step S22 ', testing apparatus 1 through as the mode of taking pictures obtain the image of the operating area of this portable terminal, and through image recognition technology, to obtain the location coordinate information of those operands on the operating area of this portable terminal; Subsequently, in step S23 ', testing apparatus 1 is according to this test execution script and those location coordinate informations, and according to the operand execution sequence, drive mechanism carries out test operation to this portable terminal.
For example; The physical keyboard button on the current mobile terminal and the layout of keyboard with touch screen button are roughly the same, and difference only is varying in size of button, therefore; Can calculate position and the relative distance that obtains plurality of keys based on image recognition technology, thereby confirm the positional information of whole buttons; When the test execution script is:
In step S21 ', testing apparatus 1 is according to this test execution script, obtain in the operating area of said portable terminal operand by testing procedure be followed successively by " 1 ", " 3 ", " 8 " ... " 0 ", " affirmation "; Then; The material with reflection function is sticked on four summits at the operating area of three buttons " 1 ", " 2 ", " 4 " and this mobile phone of this mobile phone in advance; In step S22 '; Testing apparatus 1 is obtained the image of the operating area of this mobile phone through the mode of taking pictures; And, discern the special color on these three buttons and four summits, and obtain the relative distance between each button according to the position calculation of these special colors through image recognition technology; And then obtain the actual position coordinate of each button at the operating area of this mobile phone, confirm thus " conversation ", " 1 ", " 3 ", " 8 " ..., " 0 ", the position coordinates of " affirmation " each button in the operating area of this mobile phone; Subsequently, in step S23 ', extracting testing procedure, and according to the position coordinates of each button, drive mechanism carries out test operation to this portable terminal to testing apparatus 1 according to this test execution script.Those skilled in the art will be understood that the mode of above-mentioned execution test operation is merely for example; The mode of other execution test operations existing or that possibly occur from now on is as applicable to the present invention; Also should be included in the protection domain of the present invention, and be contained in this with way of reference at this.
Preferably, said operand comprise following at least each:
The physical button of-said portable terminal;
The touch-screen button of-said portable terminal.
Particularly, operand includes but not limited to the physical button of portable terminal and the touch-screen button of portable terminal.Wherein, said physical button is the button of physical keyboard, includes but not limited to the physical button of physical button, the regular handset keyboard (keypad) of QWERTY full keyboard, the button of the full keyboard that arranges in alphabetical order; Full keyboard that the button of the touch-screen button of said portable terminal refers to be used for to touch full mobile phone virtual dummy keyboard in screen and menu key etc., its virtual keyboard layout include but not limited to QWERTY full keyboard, regular handset keyboard (keypad), arrange in alphabetical order etc.Those skilled in the art will be understood that the aforesaid operations object is merely for example, and other operands existing or that possibly occur from now on also should be included in the protection domain of the present invention, and be contained in this at this with way of reference as applicable to the present invention.
More preferably, in step S3, each obtains the practical operation result images to testing apparatus 1 at least through following:
-screen of said portable terminal is taken pictures;
-screen of said portable terminal is made a video recording;
-from the video memory of said portable terminal, extract.
Particularly; For example; In step S2, testing apparatus 1 triggers testing apparatus 1 according to the test execution script and in step S3, obtains the production result to mobile phone display screen, and the operating process of the mechanical finger that in step S4, writes down according to testing apparatus 1; Extract the deadline point of each testing procedure of mechanical finger executable operations process, so from image pickup result, extract with the corresponding two field picture of each time point as the practical operation result.Again for example; In step S2; Testing apparatus 1 is carried out test according to the test execution script to this smart mobile phone; When carrying out taking pictures during step to the test execution script, testing apparatus 1 triggers its display screen to mobile phone in step S3 and takes pictures, to obtain and the corresponding practical operation result images of this testing procedure.Again for example; In step S2, testing apparatus 1 is carried out test according to the test execution script to this smart mobile phone, when carrying out taking pictures during step to the test execution script; Trigger it and in step S3, from the video memory of mobile phone, extract and the corresponding image of this execution in step, and as the practical operation result.Those skilled in the art will be understood that the above-mentioned mode of obtaining the practical operation result images is merely for example; Other existing or modes of obtaining the practical operation result images that possibly occur from now on are as applicable to the present invention; Also should be included in the protection domain of the present invention, and be contained in this with way of reference at this.
(with reference to Fig. 3) in a further advantageous embodiment, in step S1, testing apparatus 1 also according to the testing requirement of said portable terminal, is carried out matching inquiry in test execution script storehouse, to obtain and the corresponding test execution script of said testing requirement.Followingly with reference to Fig. 3 the preferred embodiment is described in detail, wherein, in step S2, testing apparatus 1 is carried out test operation according to said test execution script to said portable terminal; In step S3, testing apparatus 1 obtain show on the said portable terminal with the corresponding practical operation result images of this test operation; In step S4, testing apparatus 1 generates the test execution script through the operating process of recording mechanism to portable terminal; In step S5, testing apparatus 1 compares analysis with said practical operation result images expected result image pairing with it, to obtain test result; Its detailed process for for simplicity, is contained in this with way of reference with aforementioned identical with reference to the performed process in step S2, step S3, step S4 and step S5 of testing apparatus 1 among the described embodiment of Fig. 3, does not give unnecessary details and do not do.
Particularly, in step S1, testing apparatus 1 is according to the testing requirement of preset portable terminal; For example note sending function testing requirement, handset dialing functional test demand etc.; In test execution script storehouse, carry out matching inquiry, with acquisition and the corresponding test execution script of this testing requirement, wherein; Test execution script in the said test execution script storehouse includes but not limited to: in step S4, and test execution script that testing apparatus 1 generates and the test execution script of importing in advance.For example; In step S1, testing apparatus 1 is extracted the demand identification information of this testing requirement according to preset handset dialing functional test demand; And inquire about in test execution script storehouse according to this demand identification information, coupling obtains and the corresponding test execution script of this demand identification information.At this, said test execution script storehouse is used to store the test execution script to different testing requirements, and each demand identification information all has at least one test execution script corresponding with it.Those skilled in the art will be understood that the above-mentioned mode of obtaining the test execution script is merely for example; Other existing or modes of obtaining the test execution script that possibly occur from now on are as applicable to the present invention; Also should be included in the protection domain of the present invention, and be contained in this with way of reference at this.
Preferably, this process also comprises step S6 (not shown), and in step S6, testing apparatus 1 is according to said test execution script, sets up or upgrades said test execution script storehouse.Particularly, in step S6, testing apparatus 1 is written in this test execution script storehouse, its test execution script that in step S1, obtains and corresponding demand identification information thereof to upgrade this test execution script storehouse; If detecting this test execution script storehouse does not set up, this test execution script storehouse of initialization of then going ahead of the rest will be somebody's turn to do (a bit) test execution script then and corresponding demand identification information is written in this test execution script storehouse.For example; In step S6; Testing apparatus 1 is according to the testing requirement beacon information of test execution script and its corresponding mobile phone dial feature of its testing mobile phone dial feature that in step S1, obtains; In test execution script storehouse, insert one and comprise this testing requirement beacon information, and the data recording of test execution content for script.Those skilled in the art will be understood that the mode in above-mentioned foundation and refresh test execution script storehouse is merely for example; The mode that the script storehouse is carried out in other foundation existing or that possibly occur from now on or refresh test is as applicable to the present invention; Also should be included in the protection domain of the present invention, and be contained in this with way of reference at this.
In another preferred embodiment (with reference to Fig. 3), this process also comprises step S7 (not shown), and in step S7, testing apparatus 1 is obtained the running log of said portable terminal; Then, in step S5, testing apparatus 1 compares analysis with said practical operation result images and said expected result image, in conjunction with said running log, to obtain said test result.Followingly with reference to Fig. 3 the preferred embodiment is described in detail, wherein, in step S1, testing apparatus 1 is obtained the test execution script; In step S2, testing apparatus 1 is carried out test operation according to said test execution script to said portable terminal; In step S3, testing apparatus 1 obtain show on the said portable terminal with the corresponding practical operation result images of this test operation; In step S4, testing apparatus 1 generates the test execution script through the operating process of recording mechanism to portable terminal; Its detailed process for for simplicity, is contained in this with way of reference with aforementioned identical with reference to the performed process in step S1, step S2, step S3 and step S4 of testing apparatus 1 among the described embodiment of Fig. 3, does not give unnecessary details and do not do.
Particularly; In step S7; Testing apparatus 1 is for example extracted the running log that in step S3, obtains the corresponding testing procedure of practical operation result images with testing apparatus 1 through real-time monitoring from the test run daily record of this portable terminal, in step S5, corresponding preset expected result image compares analysis to this practical operation result images that testing apparatus 1 will obtain with it; In conjunction with this running log, to obtain test result; Perhaps in step S2; Testing apparatus 1 is finished behind the test execution script; In step S7, testing apparatus 1 is for example extracted the corresponding whole running logs of this time test of this portable terminal from the test run daily record of portable terminal, and is sent to the testing apparatus 1 of result in step S5 in the lump with the whole practical operation result images that among step S3, obtain from testing apparatus 1; In step S5; Testing apparatus 1 compares those practical operation result images and its corresponding separately expected result image that presets one by one, and combines running log, to obtain test result; Whether wherein, said test result includes but not limited to: 1) consistent with the corresponding practical operation result images of each testing procedure expected result image corresponding with it; 2) if when inconsistent, indicate running log with the corresponding operation steps of this practical operation result images.
For example; When testing apparatus 1 is obtained a practical operation result images in step S3; In step S7; Testing apparatus 1 is extracted the running log with the corresponding testing procedure of this practical operation result images from the test run daily record of this portable terminal, and this practical operation result images and the encapsulation of this running log are packaged as packet, is sent to the testing apparatus 1 in step S5 through calling predetermined API (API); In step S5; Testing apparatus 1 is resolved this packet, and corresponding preset expected result image compares analysis with it will to resolve this practical operation result images that obtains, in conjunction with this running log; Whether judge to obtain the practical operation result images consistent with its corresponding preset expected result image, and with the running log of the corresponding operation steps of this practical operation result images.Those skilled in the art will be understood that the above-mentioned mode of obtaining running log or obtaining test result is merely for example; Other existing or possibly occur from now on obtain running log and the mode of obtaining test result as applicable to the present invention; Also should be included in the protection domain of the present invention, and be contained in this with way of reference at this.
To those skilled in the art, obviously the invention is not restricted to the details of above-mentioned example embodiment, and under the situation that does not deviate from spirit of the present invention or essential characteristic, can realize the present invention with other concrete form.Therefore; No matter from which point; All should regard embodiment as exemplary; And be nonrestrictive, scope of the present invention is limited accompanying claims rather than above-mentioned explanation, therefore is intended to the implication of the equivalents that drops on claim and all changes in the scope are included in the present invention.Should any Reference numeral in the claim be regarded as limit related claim.In addition, obviously other unit or step do not got rid of in " comprising " speech, and odd number is not got rid of plural number.A plurality of unit of stating in the device claim or device also can be realized through software or hardware by a unit or device.The first, the second word such as grade is used for representing title, and does not represent any specific order.

Claims (18)

1. method that is used for testing mobile terminal, wherein, this method may further comprise the steps:
A obtains the test execution script;
B carries out test operation according to said test execution script to said portable terminal;
C obtain show on the said portable terminal with the corresponding practical operation result images of this test operation;
Wherein, this method also comprises:
-through the operating process of recording mechanism, generate the test execution script to portable terminal;
Wherein, this method also comprises:
X compares analysis with said practical operation result images expected result image pairing with it, to obtain test result.
2. method according to claim 1, wherein, said step b also comprises:
-according to said test execution script, drive said mechanical hook-up said portable terminal is carried out test operation.
3. method according to claim 2, wherein, said step b also comprises:
-according to said test execution script, obtain the operand in the operating area of said portable terminal;
-operating area of said portable terminal is carried out image recognition, to obtain the positional information of said operand in said operating area;
-according to said test execution script and positional information, drive said mechanical hook-up said operand is carried out test operation.
4. method according to claim 3, wherein, said operand comprise following at least each:
The physical button of-said portable terminal;
The touch-screen button of-said portable terminal.
5. according to each described method of claim 1 to 4, wherein, the step of obtaining the practical operation result images of said test operation comprise following at least each:
-screen of said portable terminal is taken pictures;
-screen of said portable terminal is made a video recording;
-from the video memory of said portable terminal, extract.
6. according to each described method of claim 1 to 5, wherein, said step a also comprises:
-according to the testing requirement of said portable terminal, in test execution script storehouse, carry out matching inquiry, to obtain and the corresponding test execution script of said testing requirement.
7. method according to claim 6, wherein, this method also comprises:
-according to said test execution script, set up or upgrade said test execution script storehouse.
8. according to each described method of claim 1 to 7, wherein, this method also comprises:
-obtain the running log of said portable terminal;
Wherein, said step X also comprises:
-said practical operation result images and said expected result image are compared analysis, and combine said running log, to obtain said test result.
9. according to each described method in the claim 1 to 8, wherein, said portable terminal comprise following at least each:
-smart mobile phone;
-personal digital assistant;
-portable game machine.
10. equipment that is used for testing mobile terminal, wherein, this equipment comprises:
The script deriving means is used to obtain the test execution script;
Proving installation is used for according to said test execution script said portable terminal being carried out test operation;
Image acquiring device, be used to obtain show on the said portable terminal with the corresponding practical operation result images of this test operation;
Wherein, this equipment also comprises:
The script generating apparatus is used for through the operating process of recording mechanism to portable terminal, generates the test execution script;
Wherein, this equipment also comprises:
Deriving means is used for said practical operation result images expected result image pairing with it compared analysis, to obtain test result as a result.
11. equipment according to claim 10, wherein, said proving installation also is used for driving said mechanical hook-up said portable terminal being carried out test operation according to said test execution script.
12. equipment according to claim 11, wherein, said proving installation also comprises:
The operand acquiring unit is used for according to said test execution script, obtains the operand in the operating area of said portable terminal;
Location information acquiring unit is used for the operating area of said portable terminal is carried out image recognition, to obtain the positional information of said operand in said operating area;
Test cell is used for driving said mechanical hook-up said operand being carried out test operation according to said test execution script and positional information.
13. equipment according to claim 12, wherein, said operand comprise following at least each:
The physical button of-said portable terminal;
The touch-screen button of-said portable terminal.
14. according to each described equipment of claim 10 to 13, wherein, each obtains the practical operation result images to said image acquisition equipment at least through following:
-screen of said portable terminal is taken pictures;
-screen of said portable terminal is made a video recording;
-from the video memory of said portable terminal, extract.
15. according to each described equipment of claim 10 to 14; Wherein, Said script deriving means also is used for the testing requirement according to said portable terminal, in test execution script storehouse, carries out matching inquiry, to obtain and the corresponding test execution script of said testing requirement.
16. equipment according to claim 15, wherein, this equipment also comprises:
Updating device is used for according to said test execution script, sets up or upgrades said test execution script storehouse.
17. according to each described equipment of claim 10 to 16, wherein, this equipment also comprises:
The log acquisition device is used to obtain the running log of said portable terminal;
Wherein, said deriving means as a result also is used for said practical operation result images and said expected result image are compared analysis, and combines said running log, to obtain said test result.
18. according to each described equipment in the claim 10 to 17, wherein, said portable terminal comprise following at least each:
-smart mobile phone;
-personal digital assistant;
-portable game machine.
CN201110260755.1A 2011-09-05 2011-09-05 A kind of method and apparatus testing mobile terminal Active CN102314386B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110260755.1A CN102314386B (en) 2011-09-05 2011-09-05 A kind of method and apparatus testing mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110260755.1A CN102314386B (en) 2011-09-05 2011-09-05 A kind of method and apparatus testing mobile terminal

Publications (2)

Publication Number Publication Date
CN102314386A true CN102314386A (en) 2012-01-11
CN102314386B CN102314386B (en) 2016-06-29

Family

ID=45427573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110260755.1A Active CN102314386B (en) 2011-09-05 2011-09-05 A kind of method and apparatus testing mobile terminal

Country Status (1)

Country Link
CN (1) CN102314386B (en)

Cited By (48)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102841845A (en) * 2012-07-30 2012-12-26 广东欧珀移动通信有限公司 Automatic testing method of Android device software
CN102904996A (en) * 2012-10-16 2013-01-30 深圳创维数字技术股份有限公司 Method, device and system for testing performance of mobile phone touch screen
CN103076770A (en) * 2012-12-05 2013-05-01 瞬联软件科技(北京)有限公司 Remote test system for mobile equipment based on manipulator
CN103383658A (en) * 2012-05-04 2013-11-06 腾讯科技(深圳)有限公司 Method for memorizing operation to mobile terminal and server
CN103778053A (en) * 2012-10-18 2014-05-07 周玲玲 Remote real machine test system and method of mobile terminals
CN103838674A (en) * 2014-03-21 2014-06-04 徐禄勇 Intelligent testing robot based on digital image and use method thereof
CN103928038A (en) * 2014-04-29 2014-07-16 广东欧珀移动通信有限公司 Electronic equipment test recording and playing back method
WO2014117363A1 (en) * 2013-01-31 2014-08-07 Hewlett-Packard Development Company, L.P. Generating software test script from video
CN104284184A (en) * 2014-10-16 2015-01-14 厦门美图之家科技有限公司 Method for automatically checking image or video effect
CN104346276A (en) * 2013-08-08 2015-02-11 腾讯科技(深圳)有限公司 Method and device for software tests
CN104423822A (en) * 2013-08-30 2015-03-18 腾讯科技(深圳)有限公司 Automated test script recording method and device
WO2015059553A1 (en) 2013-10-24 2015-04-30 Teleplan Technology B.V. Method and apparatus for testing cell phones
CN104717337A (en) * 2015-04-03 2015-06-17 杭州昕云信息科技有限公司 Method for testing mobile application in batch and equipment used in method
CN104866384A (en) * 2014-02-20 2015-08-26 纬创资通股份有限公司 Method and system for rapidly testing and detecting mobile device
CN104866420A (en) * 2015-04-27 2015-08-26 深圳市祈锦通信技术有限公司 Precisely recorded mobile phone software testing method
CN104899140A (en) * 2015-06-03 2015-09-09 上海斐讯数据通信技术有限公司 Test method for mobile terminal assembly
CN104935639A (en) * 2015-05-06 2015-09-23 上海斐讯数据通信技术有限公司 Intelligent terminal, and applied distributed exploitation system and method
CN105025518A (en) * 2014-04-30 2015-11-04 中国电信股份有限公司 Method, server and system for carrying out auto-dial testing on application running quality
CN105095063A (en) * 2014-05-12 2015-11-25 腾讯科技(深圳)有限公司 Application program testing method, apparatus and system
CN105117340A (en) * 2015-08-31 2015-12-02 国家计算机网络与信息安全管理中心 URL (Uniform Resource Locator) detection method and device used for quality evaluation of iOS browser application
CN105183630A (en) * 2014-06-05 2015-12-23 腾讯科技(深圳)有限公司 Method and device for testing application program
CN105279077A (en) * 2014-06-24 2016-01-27 腾讯科技(深圳)有限公司 Method and device for automated testing
CN105675043A (en) * 2016-01-08 2016-06-15 上海轩田工业设备有限公司 Touch screen performance detection device
CN105866575A (en) * 2016-03-30 2016-08-17 中车株洲电力机车研究所有限公司 Vehicle-borne display device comprehensive testing device and testing method
CN106055446A (en) * 2016-06-24 2016-10-26 捷开通讯(深圳)有限公司 Mobile terminal test method and apparatus
CN106484614A (en) * 2016-09-29 2017-03-08 厦门美图之家科技有限公司 A kind of method of verification picture processing effect, device and mobile terminal
CN106685754A (en) * 2016-12-06 2017-05-17 捷开通讯(深圳)有限公司 Terminal file transmission test method, device and system
CN106817469A (en) * 2017-01-18 2017-06-09 深圳聖信科技有限公司 The terminal software method of testing and system of a kind of analog manual operation
CN106874208A (en) * 2017-02-27 2017-06-20 网易(杭州)网络有限公司 The processing method of test script, device and electronic equipment
CN106933738A (en) * 2017-02-09 2017-07-07 珠海格力电器股份有限公司 APP method of testings, APP test scripts generating means and APP test script performs devices
CN107203463A (en) * 2016-03-16 2017-09-26 阿里巴巴集团控股有限公司 Method, interface method for drafting and the device of interface detection
CN105183599B (en) * 2015-09-08 2018-07-13 上海斐讯数据通信技术有限公司 script recording system and method
CN109117067A (en) * 2017-06-26 2019-01-01 深圳回收宝科技有限公司 The detection method and its device of terminal touch-control performance
CN109117324A (en) * 2017-06-26 2019-01-01 深圳回收宝科技有限公司 Endpoint detection methods, device, terminal and storage medium
CN109117035A (en) * 2017-06-26 2019-01-01 深圳回收宝科技有限公司 Hidden method, terminal recovery system and the storage medium of suspension icon
CN109144379A (en) * 2017-06-26 2019-01-04 深圳回收宝科技有限公司 Method, terminal detection device, system and the storage medium that terminal is operated
CN109587663A (en) * 2018-10-25 2019-04-05 惠州市德赛西威汽车电子股份有限公司 A kind of automated testing method and its system of vehicle-mounted Wi-Fi switch
CN109686385A (en) * 2017-12-27 2019-04-26 苏州乐轩科技有限公司 Video and audio device test system
CN109816649A (en) * 2019-01-23 2019-05-28 晶晨半导体(上海)股份有限公司 A kind of method for testing software and software testing device
CN110390328A (en) * 2019-06-28 2019-10-29 联想(北京)有限公司 A kind of information processing method and equipment
CN110990238A (en) * 2019-11-13 2020-04-10 南京航空航天大学 Non-invasive visual test script automatic recording method based on video shooting
CN111652180A (en) * 2020-06-16 2020-09-11 北京梧桐车联科技有限责任公司 Defect positioning method, device, equipment and computer readable storage medium
CN112346425A (en) * 2020-11-20 2021-02-09 宜宾市极米光电有限公司 Factory automation test method, system, projection equipment and storage medium
CN112557001A (en) * 2019-09-06 2021-03-26 英业达科技有限公司 Automatic reliability and functionality testing method for electronic equipment
CN115294263A (en) * 2022-10-08 2022-11-04 武汉大学 Illumination estimation model, network, method and system
CN115408228A (en) * 2022-11-02 2022-11-29 长沙巨翊医疗科技有限公司 Automatic testing method, device and system for touch screen equipment
CN115480110A (en) * 2021-06-16 2022-12-16 北京沃华慧通测控技术有限公司 Electrostatic discharge testing device and testing method
CN115542033A (en) * 2021-06-30 2022-12-30 北京沃华慧通测控技术有限公司 Electrostatic discharge test system and test method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1976526A (en) * 2006-11-15 2007-06-06 华为技术有限公司 Mobile telephone automation testing system and testing method
CN101272422A (en) * 2007-03-21 2008-09-24 中兴通讯股份有限公司 Mobile phone automatized test method
CN101719096A (en) * 2009-12-29 2010-06-02 北京航空航天大学 Method for improving executing speed of test script of real-time embedded system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1976526A (en) * 2006-11-15 2007-06-06 华为技术有限公司 Mobile telephone automation testing system and testing method
CN101272422A (en) * 2007-03-21 2008-09-24 中兴通讯股份有限公司 Mobile phone automatized test method
CN101719096A (en) * 2009-12-29 2010-06-02 北京航空航天大学 Method for improving executing speed of test script of real-time embedded system

Cited By (77)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103383658A (en) * 2012-05-04 2013-11-06 腾讯科技(深圳)有限公司 Method for memorizing operation to mobile terminal and server
CN103383658B (en) * 2012-05-04 2017-09-29 腾讯科技(深圳)有限公司 Remember the method and server of mobile terminal operation
CN102841845B (en) * 2012-07-30 2015-02-11 广东欧珀移动通信有限公司 Automatic testing method of Android device software
CN102841845A (en) * 2012-07-30 2012-12-26 广东欧珀移动通信有限公司 Automatic testing method of Android device software
CN102904996A (en) * 2012-10-16 2013-01-30 深圳创维数字技术股份有限公司 Method, device and system for testing performance of mobile phone touch screen
CN102904996B (en) * 2012-10-16 2016-08-03 深圳创维数字技术有限公司 The method and device of a kind of handset touch panel performance test, system
CN103778053A (en) * 2012-10-18 2014-05-07 周玲玲 Remote real machine test system and method of mobile terminals
CN103076770A (en) * 2012-12-05 2013-05-01 瞬联软件科技(北京)有限公司 Remote test system for mobile equipment based on manipulator
CN103076770B (en) * 2012-12-05 2017-07-07 瞬联软件科技(北京)有限公司 Mobile device remote test system based on manipulator
WO2014117363A1 (en) * 2013-01-31 2014-08-07 Hewlett-Packard Development Company, L.P. Generating software test script from video
CN104956339A (en) * 2013-01-31 2015-09-30 惠普发展公司,有限责任合伙企业 Generating software test script from video
US10019346B2 (en) 2013-01-31 2018-07-10 Entit Software Llc Generating software test script from video
CN104346276A (en) * 2013-08-08 2015-02-11 腾讯科技(深圳)有限公司 Method and device for software tests
CN104423822A (en) * 2013-08-30 2015-03-18 腾讯科技(深圳)有限公司 Automated test script recording method and device
CN104423822B (en) * 2013-08-30 2019-04-02 腾讯科技(深圳)有限公司 Record the method and device of automatic test script
WO2015059553A1 (en) 2013-10-24 2015-04-30 Teleplan Technology B.V. Method and apparatus for testing cell phones
WO2015059508A1 (en) 2013-10-24 2015-04-30 Teleplan Technology B.V. Method and apparatus for testing cell phones
CN105706426B (en) * 2013-10-24 2020-06-16 泰潘科技有限责任公司 Method and apparatus for testing a handset
CN105706426A (en) * 2013-10-24 2016-06-22 泰潘科技有限责任公司 Method and apparatus for testing cell phones
CN104866384A (en) * 2014-02-20 2015-08-26 纬创资通股份有限公司 Method and system for rapidly testing and detecting mobile device
TWI510918B (en) * 2014-02-20 2015-12-01 Wistron Corp Method and system for quick testing and detectiing mobile devices
CN103838674A (en) * 2014-03-21 2014-06-04 徐禄勇 Intelligent testing robot based on digital image and use method thereof
CN103928038B (en) * 2014-04-29 2017-06-30 广东欧珀移动通信有限公司 The test recording of electronic equipment and back method
CN103928038A (en) * 2014-04-29 2014-07-16 广东欧珀移动通信有限公司 Electronic equipment test recording and playing back method
CN105025518A (en) * 2014-04-30 2015-11-04 中国电信股份有限公司 Method, server and system for carrying out auto-dial testing on application running quality
CN105025518B (en) * 2014-04-30 2018-09-25 中国电信股份有限公司 A kind of application operation quality auto-dial testing method, server and system
CN105095063A (en) * 2014-05-12 2015-11-25 腾讯科技(深圳)有限公司 Application program testing method, apparatus and system
CN105183630A (en) * 2014-06-05 2015-12-23 腾讯科技(深圳)有限公司 Method and device for testing application program
CN105183630B (en) * 2014-06-05 2019-06-14 腾讯科技(深圳)有限公司 Applied program testing method and device
CN105279077A (en) * 2014-06-24 2016-01-27 腾讯科技(深圳)有限公司 Method and device for automated testing
CN104284184A (en) * 2014-10-16 2015-01-14 厦门美图之家科技有限公司 Method for automatically checking image or video effect
CN104717337B (en) * 2015-04-03 2018-03-02 杭州昕云信息科技有限公司 A kind of method of batch testing mobile phone application and its equipment used
CN104717337A (en) * 2015-04-03 2015-06-17 杭州昕云信息科技有限公司 Method for testing mobile application in batch and equipment used in method
CN104866420A (en) * 2015-04-27 2015-08-26 深圳市祈锦通信技术有限公司 Precisely recorded mobile phone software testing method
CN104935639A (en) * 2015-05-06 2015-09-23 上海斐讯数据通信技术有限公司 Intelligent terminal, and applied distributed exploitation system and method
CN104899140B (en) * 2015-06-03 2017-08-25 上海斐讯数据通信技术有限公司 A kind of method of testing of mobile terminal component
CN104899140A (en) * 2015-06-03 2015-09-09 上海斐讯数据通信技术有限公司 Test method for mobile terminal assembly
CN105117340A (en) * 2015-08-31 2015-12-02 国家计算机网络与信息安全管理中心 URL (Uniform Resource Locator) detection method and device used for quality evaluation of iOS browser application
CN105183599B (en) * 2015-09-08 2018-07-13 上海斐讯数据通信技术有限公司 script recording system and method
CN105675043B (en) * 2016-01-08 2018-04-17 上海轩田工业设备有限公司 A kind of touch screen performance detection device
CN105675043A (en) * 2016-01-08 2016-06-15 上海轩田工业设备有限公司 Touch screen performance detection device
CN107203463B (en) * 2016-03-16 2021-10-08 斑马智行网络(香港)有限公司 Interface testing method, interface drawing method and device
CN107203463A (en) * 2016-03-16 2017-09-26 阿里巴巴集团控股有限公司 Method, interface method for drafting and the device of interface detection
CN105866575A (en) * 2016-03-30 2016-08-17 中车株洲电力机车研究所有限公司 Vehicle-borne display device comprehensive testing device and testing method
CN105866575B (en) * 2016-03-30 2020-04-10 中车株洲电力机车研究所有限公司 Vehicle-mounted display comprehensive testing device and testing method
CN106055446A (en) * 2016-06-24 2016-10-26 捷开通讯(深圳)有限公司 Mobile terminal test method and apparatus
CN106055446B (en) * 2016-06-24 2019-09-20 捷开通讯(深圳)有限公司 A kind of test method and device of mobile terminal
CN106484614B (en) * 2016-09-29 2019-01-22 厦门美图之家科技有限公司 A kind of method, device and mobile terminal for checking picture treatment effect
CN106484614A (en) * 2016-09-29 2017-03-08 厦门美图之家科技有限公司 A kind of method of verification picture processing effect, device and mobile terminal
CN106685754A (en) * 2016-12-06 2017-05-17 捷开通讯(深圳)有限公司 Terminal file transmission test method, device and system
CN106685754B (en) * 2016-12-06 2020-06-02 捷开通讯(深圳)有限公司 Test method, test equipment and test system for terminal file transmission
CN106817469B (en) * 2017-01-18 2020-01-03 深圳聖信科技有限公司 Terminal software testing method and system for simulating manual operation
CN106817469A (en) * 2017-01-18 2017-06-09 深圳聖信科技有限公司 The terminal software method of testing and system of a kind of analog manual operation
CN106933738A (en) * 2017-02-09 2017-07-07 珠海格力电器股份有限公司 APP method of testings, APP test scripts generating means and APP test script performs devices
CN106874208A (en) * 2017-02-27 2017-06-20 网易(杭州)网络有限公司 The processing method of test script, device and electronic equipment
CN109117067A (en) * 2017-06-26 2019-01-01 深圳回收宝科技有限公司 The detection method and its device of terminal touch-control performance
CN109117324A (en) * 2017-06-26 2019-01-01 深圳回收宝科技有限公司 Endpoint detection methods, device, terminal and storage medium
CN109144379A (en) * 2017-06-26 2019-01-04 深圳回收宝科技有限公司 Method, terminal detection device, system and the storage medium that terminal is operated
CN109117035A (en) * 2017-06-26 2019-01-01 深圳回收宝科技有限公司 Hidden method, terminal recovery system and the storage medium of suspension icon
CN109686385B (en) * 2017-12-27 2020-12-04 苏州乐轩科技有限公司 Video and audio device test system
CN109686385A (en) * 2017-12-27 2019-04-26 苏州乐轩科技有限公司 Video and audio device test system
CN109587663A (en) * 2018-10-25 2019-04-05 惠州市德赛西威汽车电子股份有限公司 A kind of automated testing method and its system of vehicle-mounted Wi-Fi switch
CN109816649A (en) * 2019-01-23 2019-05-28 晶晨半导体(上海)股份有限公司 A kind of method for testing software and software testing device
CN110390328A (en) * 2019-06-28 2019-10-29 联想(北京)有限公司 A kind of information processing method and equipment
CN112557001A (en) * 2019-09-06 2021-03-26 英业达科技有限公司 Automatic reliability and functionality testing method for electronic equipment
CN110990238A (en) * 2019-11-13 2020-04-10 南京航空航天大学 Non-invasive visual test script automatic recording method based on video shooting
CN111652180A (en) * 2020-06-16 2020-09-11 北京梧桐车联科技有限责任公司 Defect positioning method, device, equipment and computer readable storage medium
CN111652180B (en) * 2020-06-16 2023-11-17 北京梧桐车联科技有限责任公司 Defect positioning method, device, equipment and computer readable storage medium
CN112346425A (en) * 2020-11-20 2021-02-09 宜宾市极米光电有限公司 Factory automation test method, system, projection equipment and storage medium
CN112346425B (en) * 2020-11-20 2024-01-16 宜宾市极米光电有限公司 Factory automation testing method, system, projection equipment and storage medium
CN115480110A (en) * 2021-06-16 2022-12-16 北京沃华慧通测控技术有限公司 Electrostatic discharge testing device and testing method
CN115542033A (en) * 2021-06-30 2022-12-30 北京沃华慧通测控技术有限公司 Electrostatic discharge test system and test method
CN115542033B (en) * 2021-06-30 2024-02-09 北京沃华慧通测控技术有限公司 Electrostatic discharge test system and test method
CN115294263A (en) * 2022-10-08 2022-11-04 武汉大学 Illumination estimation model, network, method and system
CN115294263B (en) * 2022-10-08 2023-02-03 武汉大学 Illumination estimation method and system
CN115408228A (en) * 2022-11-02 2022-11-29 长沙巨翊医疗科技有限公司 Automatic testing method, device and system for touch screen equipment
CN115408228B (en) * 2022-11-02 2023-01-17 长沙巨翊医疗科技有限公司 Automatic testing method, device and system for touch screen equipment

Also Published As

Publication number Publication date
CN102314386B (en) 2016-06-29

Similar Documents

Publication Publication Date Title
CN102314386A (en) Method and equipment for testing mobile terminal
US9161238B2 (en) Mobile device monitoring and testing
CN110297594A (en) Input equipment and user interface interaction
US9001819B1 (en) Systems and methods for visual presentation and selection of IVR menu
CN104081784A (en) Information processing device, information processing method, and program
US9524277B2 (en) Execution and display of events in a plurality of web browsers and devices systems and method
CN110830362B (en) Content generation method and mobile terminal
CN103164111A (en) Electronic apparatus and operation method thereof
CN113810732B (en) Live content display method, device, terminal, storage medium and program product
CN109308175A (en) The electronic device and method of Display on the same screen are carried out using mobile device and display equipment
JP2013118612A (en) Screen capture method for mobile communication terminal
CN208985138U (en) Electronic device, computer equipment and the data processing system of Display on the same screen
CN109947988B (en) Information processing method and device, terminal equipment and server
CN112653787B (en) Display method, display device, storage medium and electronic equipment
CN112667081A (en) Bullet screen display method and device, storage medium and terminal
CN112286617A (en) Operation guidance method and device and electronic equipment
US8180836B2 (en) Information processing apparatus
CN112637409B (en) Content output method and device and electronic equipment
CN114374761A (en) Information interaction method and device, electronic equipment and medium
CN106559564A (en) The quick method and system that alarm clock is set
CN103092495A (en) Synchronous operation system and method for touch device
CN113467661A (en) Task synchronization method, device, equipment and readable storage medium
CN102854995A (en) Input method and input system for mobile phone with camera device and mobile phone
CN112446366A (en) Image translation evaluating method and device for image translation evaluating
CN112202958B (en) Screenshot method and device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant