Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of cell-phone function automatic test device and method, low with the production efficiency overcoming manual operation testing mobile phone in prior art, test the defects such as inaccurate.
One aspect of the present invention is to disclose a kind of Mobile phone automated testing device, be connected with computer, comprise: controller, provide power supply and audio interface to test fixture, be connected by key-press matrix winding displacement, transducer cylinder winding displacement between controller with test fixture; Test fixture, for fixing tested mobile phone, press the test point of thimble to tested mobile phone, the test signal of connecting test point is to controller; Mobile phone, the data wire of its LCD screen, touch-screen, holding wire are connected to the 40Pin interface of collector; Collector, by being connected between USB interface with computer, is connected by RS232 Interface and Controler.
Described Mobile phone automated testing device, its controller is connected with the sound card of computer by audio frequency input-output line, for carrying out the audio-frequency test of mobile phone.
Described Mobile phone automated testing device, every platform computer is connected with the testing apparatus described in 4.
Described Mobile phone automated testing device, test fixture is connected with mobile phone PCBA board to test point by pressing test thimble, and provides USB to charge and earphone wiring.
Described Mobile phone automated testing device, the data wire of testing mobile phone LCD screen, holding wire are connected to the acquisition interface of collector, via the LCD screen being connected to mobile phone after collector; The data wire of testing mobile phone touch-screen, holding wire are connected to the acquisition interface of collector, via the touch-screen being connected to mobile phone after collector.
Described Mobile phone automated testing device, the data wire of collector by LCD screen, the display image of holding wire collection LCD screen, collection touch data, arrange touch-screen action.
Described Mobile phone automated testing device, controller also provides charge function, provides the switching of audio frequency input and output and key-press matrix to connect; And go by button for simulating staff, the test interface of vibration, photosensitive, cylinder, voltage and current is provided.
Another aspect of the present invention is to disclose a kind of mobile phone automatized test method, comprises the following steps: design mobile phone automatized test program on computers; Carry out user to this program to log in, for the operating right that different users is open different; Newly-built required test event, and open this test event; The engineering parameter of configuration testing project, selects the test item needing to carry out testing; Add or delete test item, the bound of configuration testing item, test time delay; To the recording needing the test item carrying out the recording of button step to carry out button step; Import button step; Generate cycle tests; The test event completed is started to carry out automatic test.
Described mobile phone automatized test method, for need to result carry out image ratio compared with test item, after button step is recorded, intercept and preserve reference picture, and after importing button step, importing need to carry out image ratio compared with reference picture.
Described mobile phone automatized test method, needs the test item carrying out testing to be selected from start, boot bell tone is tested, starup current is tested, charging measurement, wait for SIM card network registry, dialup test, audio-frequency current is tested, T card and bell sound size detection (sound detection), T card identifies (image detect), bluetooth is tested, inquiry bluetooth equipment, test (image detect) opened by camera, camera view is tested, TV picture test (black and white block), TV sound is tested, broadcast receiver is tested, usb data is tested, enter test pattern, software version is tested, calibration marker position is detected, (Text region) is detected in calibration marker position, key testing, RTC tests, BackLight tests, LED detects, flashlight is tested, LCD backlight is tested, audio frequency loopback test (microphone is to receiver), audio frequency loopback test (microphone is to loudspeaker), Mic bias voltage is tested, vibration-testing (high-low), vibration-testing (Gao-Gao), vibration-testing (loudspeaker), oscillating current is tested, loudspeaker are tested, bell sound is tested, receiver is tested, earphone bias voltage is tested, earphone loopback test, standby current is tested, normal shutdown, the test of shutdown leakage current, touch screen calibration, touch-screen slides (horizontal or vertical direction), (horizontal or vertical direction) is slided in touch-screen circulation, touch point (length is pressed), touch point Y-direction bias correcting, touch point X-direction bias correcting, conditional jump module (? :), condition is satisfied exits module.
Described mobile phone automatized test method, time before test time delay comprises test, interval time between button, button operation complete stand-by period, this is completed time of next test item.
This testing apparatus and method, by simulation people manual manipulation, adopt advanced signal transacting and image processing techniques, realize the veneer to mobile phone PCBA, multi-joint board test.This device and method coordinates the homemade Simple clamp of factory, realize the detection to fixture action, automatically start the asynchronous test of the automation of multi-joint plate, test macro is tested according to testing procedure, gather various signal, and the data after process and test specification are compared, judge whether test plate (panel) to be measured passes through, finally export detecting information, and by test data write into Databasce.
This testing apparatus and method have the following advantages:
1. cost control: the asynchronous test of many plates, a maximum PC can test 4 pieces of PCBA simultaneously, can effectively save equipment cost and human and material resources;
2. user authority management: testing software needs to carry out user's login, for the open corresponding operating right of different users;
3. item model is added: the subtype number that can add new project or existing project easily;
4. testing engineering planning: can select easily, add, edit test item;
5. engineering debug pattern: provide comprehensive operation, single stepping test, slave computer controls, and image and signal transacting etc., engineer can edit and generate testing procedure, test item in such a mode fast.
Embodiment
As shown in Figure 1, this device is connected with computer Mobile phone automated testing device of the present invention, comprising: controller, provides power supply and audio interface to test fixture, is connected between controller with test fixture by key-press matrix winding displacement, transducer cylinder winding displacement; Test fixture, for fixing tested mobile phone, lower thimble is to the test point of tested mobile phone, and connecting test signal is to controller; Mobile phone, the data wire of its LCD screen, touch-screen, holding wire are connected to the 40Pin interface of collector; Collector, by being connected between USB interface with computer, is connected by RS232 Interface and Controler.
Test fixture is connected with mobile phone PCBA board to test point (button, LCD screen, vibration, microphone, receiver, loudspeaker, power supply etc.) by pressing test thimble, and provides USB to charge and earphone wiring.Controller provides power supply, charge function, provides the switching of audio frequency input and output, and key-press matrix connects: go by button for simulating staff, provides the test interface of vibration, photosensitive, cylinder, voltage, electric current etc.Collector gathers the touch function of image, simulate, is communicated, communicated by RS232 with controller by USB port with PC.LCD screen is used for showing mobile phone screen.Sound card is used for the output of voice signal, the collection of input audio signal.Computer testing results program, is communicated by USB port with the collector of equipment, sound collection analysis, IMAQ analysis, signal processing and analysis.
The data wire of testing mobile phone LCD screen, holding wire are connected to the acquisition interface of collector, via the LCD screen being connected to mobile phone after collector; The data wire of testing mobile phone touch-screen, holding wire are connected to the acquisition interface of collector, via the touch-screen being connected to mobile phone after collector.
The data wire of collector by LCD screen, the display image of holding wire collection LCD screen, collection touch data, arrange touch-screen action.
The main interface schematic diagram of mobile phone automatized test program of the present invention as shown in Figure 2.Left field is function menu and key part, and right side area is used for state in test process of respectively corresponding PCBA1 ~ PCBA4 and information.
(1) left field:
1) work order information: display work order number;
2) p-wire is other: show the line alias that line is produced at current place;
3) project, model: for selecting the project of mobile phone to be tested, model name;
4) test is started: click and start test automatically;
5) test is stopped: stopping current test event;
6) quit a program: stop test, and exit test program;
5) counting resets: by three parameters (altogether test, test by, qualification rate) clear 0;
6) Fail Skip: after choosing, the test item running into Fail continues test, until all test items are completed; Do not choose, then the test item running into Fail in test process exits this test;
(2) right side area:
1) unit testing: test current test mode;
2) test analysis: the data analyzing parameter in some test processs;
3) #1 ~ #4 test result: the test result that fixture 1 ~ 4 can be checked;
4) statistical analysis: check statistics, analyze the test case of each fixture and equipment;
5) Query Result: the test record in Query Database;
The Making programme figure of mobile phone automatized test method of the present invention as shown in Figure 3.At the main interface of testing software, " user logs in " submenu in choice menus " user ", input username and password logs in, for the Permission Levels that different users is open different.After user logs in, a newly-built test event, arranges project name, opens this test event; The engineering parameter of configuration testing project, selects the test item needing to carry out testing; Add, delete, adjust testing procedure, the mountain lower limit of configuration testing item, test time delay; To the recording needing the test item carrying out the recording of button step to carry out button step, if this test item also needs to carry out image ratio comparatively to result, then, after actuation of keys, intercept and preserve reference picture; Import button step; Import need to carry out image ratio compared with reference picture; Generate cycle tests; The test event completed is started to carry out automatic test.
Testing engineering planning schematic diagram of the present invention as shown in Figure 4.
Testing procedure adds, configuration is as follows:
1, in " project ", " model ", need configuration project name and model name is selected;
2, " test event (template) " of on the left side chooses the project needing test, clicks " adding > > " and adds in the cycle tests on the right;
3, to needing the test item comparing specification bound, click this test item, then the bound of " upper specification limit ", " specification lower limit " middle input item to be tested of the direct cycle tests information editing in cycle tests form or in bottom, shown in two place's red areas of as above figure, then knock keyboard " enter key " and confirm;
4, for needing the test item adjusting testing sequence, selecting this test item, clicking " above moving " or " moving down " button and carrying out adjustment testing sequence;
5, time delay is arranged: form for " before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item ", separate with English character "-" between four delay parameters, unit is millisecond/ms.Be exemplified below: set the unlatching button step of bluetooth as " Menu-Down-Down-Down-Right-OK-4-OK-OK ", time delay is set to " 0-500-4000-100 " be expressed as test time be 0ms, button interval time is 500ms, button operation completes waits for that the time that bluetooth starts is 4000ms, and then this test item is completed rear time delay 100ms;
6, for needing to carry out image ratio compared with the test item arranged with button, in test item, the parameter of " reference result " and optimum configurations first need not configure, and this result of two needs to obtain under engineering mode;
7, note: for not needing the part arranging specification, reference result, parameter, coordinate, unification English symbol "-" is filled;
8, click " preservation " button to replace and test sequence file " Test.csv " under preserving default directory.
The test item carrying out testing is needed to be selected from start, boot bell tone is tested, starup current is tested, charging measurement, wait for SIM card network registry, dialup test, audio-frequency current is tested, T card and bell sound size detection (sound detection), T card identifies (image detect), bluetooth is tested, inquiry bluetooth equipment, test (image detect) opened by camera, camera view is tested, TV picture test (black and white block), TV sound is tested, broadcast receiver is tested, usb data is tested, enter test pattern, software version is tested, calibration marker position is detected, (Text region) is detected in calibration marker position, key testing, RTC tests, BackLight tests, LED detects, flashlight is tested, LCD backlight is tested, audio frequency loopback test (microphone is to receiver), audio frequency loopback test (microphone is to loudspeaker), Mic bias voltage is tested, vibration-testing (high-low), vibration-testing (Gao-Gao), vibration-testing (loudspeaker), oscillating current is tested, loudspeaker are tested, bell sound is tested, receiver is tested, earphone bias voltage is tested, earphone loopback test, standby current is tested, normal shutdown, the test of shutdown leakage current, touch screen calibration, touch-screen slides (horizontal or vertical direction), (horizontal or vertical direction) is slided in touch-screen circulation, touch point (length is pressed), touch point Y-direction bias correcting, touch point X-direction bias correcting, conditional jump module (? :), condition is satisfied exits module.
The engineering parameter of each test item is below specifically set respectively.
1, start shooting:
Function name: PowerOn_Seq; Function: open mobile phone and power, length is pressed key 3000ms and is started shooting, and starts shooting bond distance temporally " interval time between button " inner can amendment; Specification bound: nothing; Reference result: nothing; Optimum configurations: nothing; Coordinate: nothing; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
2, boot bell tone test
Function name: PowerOnRingTest_Seq; Function: the test of start the tinkle of bells, gathers sound from loudspeaker; Specification bound: " frequency | root-mean-square value | total harmonic distortion | peak-to-peak value ", bound correspondence position is all configured to "-1 " expression and does not test this index; Reference result: nothing; Optimum configurations: the button step opening bell sound; Coordinate: this parameter is used for arranging channel number: 1 is monophony, and 2 is dual track; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
3, starup current test
Function name: PowerOnCurrentTest_Seq; Function: the average starup current in test 2000ms, unit: milliampere; Specification bound: the acquiescence upper limit 500, lower limit 20, unit: milliampere/mA; Reference result: nothing; Optimum configurations: inside modules acquiescence sends Power and End key, as revised or cancel, configures other button step or be set to "--" at this place; Coordinate: nothing; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item;
4, charging measurement
Function name: ChargeTest_Seq; Function: open USB power source switch, inside modules can go to judge whether charging icon flashes, and then judges that whether charging current is up to specification, closes USB power source switch; Specification bound: charging current, unit: milliampere; Reference result: charging icon, if reference result and coordinate are all set to "-" represent accident charging icon; Optimum configurations: button step; Coordinate: separate with space character " " between coordinate, form is as follows: " 00 50 50 "; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
5, SIM card network registry is waited for
Function name: WaitForSimcardRegNetwork_Seq; Function: detect whether be registered to network within the time of time-out, time-out time can be arranged in last the inside of set of time, default value 20000ms; Specification bound: nothing; Reference result: several pictures can be supported; Optimum configurations: button step; Coordinate: separate with space character " " between coordinate, form is as follows: " 00 50 50 ", separates with " | " between many figure comparison diagram coordinate, such as: " 00 50 50 " | and " 00 60 60 "; Time delay: test before time-button between interval time-button operation complete stand-by period-time-out time; Testing process: do following circulation in time-out time: send button--stand-by period that > time delay button is complete--> image detect (if multiple figure, meet wherein one)--> satisfies condition and exits, otherwise till continuing to be recycled to time-out.
6, dialup test
Function name: CallTest_Seq; Function: mobile phone communication is tested, and redialing number of times is 3; Specification bound: " frequency | root-mean-square value | total harmonic distortion | peak-to-peak value ", bound correspondence position is all configured to "-1 " expression and does not test this index; Reference result: nothing; Optimum configurations: button step; Coordinate: this parameter is used for arranging channel number: 1 is monophony, and 2 is dual track; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
7, audio-frequency current test
Function name: CallCurrentTest_Seq; Function: within the sampling time arranged, test average audio-frequency current, unit: milliampere; Specification bound: the acquiescence upper limit 300, lower limit 50, unit: milliampere/mA; Reference result: nothing; Optimum configurations: nothing; Coordinate: nothing; Time delay: before test time-sampling interval-reserved (ignoring)-sampling total time.
8, T card and bell sound size detection (sound detection)
Function name: TCardTest_Seq; Function: mobile phone plays 1K standard audio signal from T, gathers sound from loudspeaker; Specification bound: " frequency | root-mean-square value | total harmonic distortion | peak-to-peak value ", bound correspondence position is all configured to "-1 " expression and does not test this index; Reference result: nothing; Optimum configurations: button step; Coordinate: this parameter is used for arranging channel number: 1 is monophony, and 2 is dual track; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
9, T card identifies (image detect)
Function name: TCardCheck_Seq; Function: judge that can mobile phone recognize T card, if enter from main interface, this module has the function of resurveying of three times; Specification bound: nothing; Reference result: support that several pictures compare; Optimum configurations: button step; Coordinate: separate with space character between screenshot area coordinate, such as: " 00 50 50 "; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
10, bluetooth test
Function name: OpenBTTest_Seq; Function: can test bluetooth be opened, and detects bluetooth icon; Specification bound: nothing; Reference result: bluetooth icon; The button step that optimum configurations: bluetooth is not opened out--> bluetooth is opened; Coordinate: separate with space character between screenshot area coordinate, such as: " 00 50 50 "; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item; Testing process: bluetooth is opened, test is passed through; Bluetooth is not opened, and can test open bluetooth.
11, bluetooth equipment is inquired about
Function name: InquireBTDevice_Seq; Function: detect whether search bluetooth equipment within the time of time-out, time-out time can be arranged in last the inside of set of time, default value 15000ms; Specification bound: nothing; Reference result: several pictures can be supported; Optimum configurations: button step; Coordinate: separate with space character " " between coordinate, form is as follows: " 00 50 50 ", separates with " | " between many figure comparison diagram coordinate, such as: " 00 50 50 " | and " 00 60 60 "; Time delay: test before time-button between interval time-button operation complete stand-by period-time-out time; Testing process: do following circulation in time-out time: send button--stand-by period that > time delay button is complete--> image detect (if multiple figure, meet wherein one)--> satisfies condition and exits, otherwise till continuing to be recycled to time-out.
12, test (image detect) opened by camera
Function name: OpenCameraTest_Seq; Function: judge to open camera, if enter from main interface, this module has the function of resurveying of three times; Specification bound: nothing; Reference result: support that several pictures compare; Optimum configurations: button step; Coordinate: separate with space character between screenshot area coordinate, such as: " 00 50 50 "; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
13, camera view test
Function name: CameraTest_Seq; Function: camera view is tested, and a chequered with black and white picture taken by camera, whether the display of test camera view is normal; Specification bound: the upper limit is the gray value of white piece, lower limit is the gray value of black patch; Reference result: the sectional drawing that horizontal direction is chequered with black and white or the chequered with black and white sectional drawing of vertical direction; Optimum configurations: button step; Coordinate: separate with space character between screenshot area coordinate, such as: " 00 50 50 " time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
14, TV picture test
Function name: MobileTVTest_Seq; Function: TV picture is tested, intercepts a chequered with black and white picture; Specification bound: the upper limit is the gray value of white piece, lower limit is the gray value of black patch; Reference result: the sectional drawing that horizontal direction is chequered with black and white or the chequered with black and white sectional drawing of vertical direction; Optimum configurations: button step; Coordinate: separate with space character between screenshot area coordinate, such as: " 00 50 50 "; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
15, TV sound test
Function name: MobileTVAudioTest_Seq; Function: with 1K standard audio signal in TV signal, gathers sound from loudspeaker; Specification bound: " frequency | root-mean-square value | total harmonic distortion | peak-to-peak value ", bound correspondence position is all configured to "-1 " expression and does not test this index; Reference result: nothing; Optimum configurations: button step; Coordinate: this parameter is used for arranging channel number: 1 is monophony, and 2 is dual track; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
16, broadcast receiver test
Function name: FMRadioAutoTest_Seq; Function: play 1K standard audio signal and launch from FM signal projector, controls mobile phone and enters FM broadcast receiver, gather sound from earphone; Specification bound: " frequency | root-mean-square value | total harmonic distortion | peak-to-peak value ", bound correspondence position is all configured to "-1 " expression and does not test this index; Reference result: nothing; Optimum configurations: button step; Coordinate: this parameter is used for arranging channel number: 1 is monophony, and 2 is dual track; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
17, usb data test
Function name: USBEnum_Seq; Function: usb data is tested, detects USB whether enumeration succeeds in the time-out time arranged, and time-out time can be arranged in last the inside of set of time, default value 5000ms; Specification bound: nothing; Reference result: nothing; Optimum configurations: button step; Coordinate: nothing; Time delay: test before time-button between interval time-button operation complete stand-by period-time-out time;
18, test pattern is entered
Function name: EnterCITTestMode_Seq; Function: judge whether to enter engineering mode, if the function of placing that picture this module has retry 5 times.If reference result and coordinate are all configured to "-" represent that not making picture compares; Specification bound: nothing; Reference result a: pictures can only be placed at most; Optimum configurations: button step; Coordinate: separate with space character between screenshot area coordinate, such as: " 00 50 50 "; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
19, software version test
Function name: SoftwareVersionTest_Seq; Function: the software version of detection of handset, also can use other place needing picture to compare, and this module supports that many figure compare; Specification bound: nothing; Reference result: support several pictures, separates with " | " between picture; Optimum configurations: button step; Coordinate: separate with space character " " between coordinate, form is as follows: " 00 50 50 ", separates with " | " between many figure comparison diagram coordinate, such as: " 00 50 50 " | and " 00 60 60 "; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
20, calibration marker position is detected
Function name: CalibrateTest_Seq; Function: the align mode of detection of handset, also can use other needs picture than the place of hinge, and this module supports that many figure compare; Specification bound: nothing; Reference result: support several pictures, separates with " | " between picture; Optimum configurations: button step; Coordinate: separate with space character " " between coordinate, form is as follows: " 00 50 50 ", separates with " | " between many figure comparison diagram coordinate, such as: " 00 50 50 " | and " 00 60 60 "; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
21, (Text region) is detected in calibration marker position
Function name: GetCalibrateFlag_OCR; Function: picture recognition module, need the word searched to be configured in inside reserved parameter, may be used for testing calibration mark 10, or other needs the place of doing picture character identification, sectional drawing requires: the picture intercepting at least two row font height; Specification bound: the upper limit: acquiescence 9 represents that the font identified is English and numeral 0 ~ 9, lower limit: represent that picture needs the angle rotated, be configured to 0,90,180,270 etc.; Reference result a: pictures can only be put; Optimum configurations: button step; Coordinate: separate with space character " " between coordinate, form is as follows: " 00 50 50 "; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item; Reserved parameter: configuration here needs the character string of searching, and such as need the existence of testing calibration flag bit 10, this place needs to be configured to 10.
22, key testing
Function name: KeyBoardTest_Seq; Function: key testing; Specification bound: nothing; Reference result a: pictures can only be placed; Optimum configurations: need the button eliminated; Coordinate: separate with space character between screenshot area coordinate, such as: " 00 50 50 "; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item
23, RTC test
Function name: RTCTest_Seq; Function: detect RTC clock and run second, inside modules can go to have judged whether running second, and race is interposed between the 3rd time parameter between second and arranges, acquiescence 1100ms; Specification bound: nothing; Reference result: the sectional drawing running region second; Optimum configurations: button step; Coordinate: separate with space character between screenshot area coordinate, such as: " 00 50 50 "; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
24, BackLight test
Function name: BackLightTest_Seq; Function: detect the light on and off of LCD backlight, this test item inside does not have integrated button step; Specification bound: nothing; Reference result: nothing; Optimum configurations: LCD backlight number, scope: 1 ~ 8.Such as, be set to 4 expression LCD screen and have 4 backlights; Coordinate: nothing; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
25, LED detects
Function name: LEDTest_Seq; Function: the light on and off detecting LED in PCBA board, this test item inside does not have integrated button step; Specification bound: the magnitude of voltage at photo resistance two ends, unit: volt/V; Reference result: nothing; Optimum configurations: LED number, scope: 1 ~ 16.Such as, 5 expressions detections the 1 to 5 totally 5 ports are set to; Coordinate: nothing; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
26, flashlight test
Function name: LightTest_Seq; Function: the light on and off detecting single torch lamp in PCBA board, this test item inside does not have integrated button step; Specification bound: the magnitude of voltage at photo resistance two ends, unit: volt/V; Reference result: nothing; Optimum configurations: torch lamp receives the position in photo resistance, scope: 1 ~ 16.Such as, be set to 5 expressions and detect the 5th port; Coordinate: nothing; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
27, LCD backlight test
Function name: LCDBackLightTest_Seq; Function: detect the light on and off of LCD backlight, this test item inside does not have integrated button step; Specification bound: nothing; Reference result: nothing; Optimum configurations: LCD backlight number, scope: 1 ~ 8.Such as, be set to 4 expression LCD screen and have 4 backlights; Coordinate: nothing; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
28, audio frequency loopback test (microphone is to receiver)
Function name: OpenAudioLoopBackTest_Seq; Function: audio frequency loopback test, computer sound card sends 1K standard voice to microphone, gathers sound from receiver; Specification bound: " frequency | root-mean-square value | total harmonic distortion | peak-to-peak value ", bound correspondence position is all configured to "-1 " expression and does not test this index; Reference result: nothing; Optimum configurations: button step; Coordinate: this parameter is used for arranging channel number: 1 is monophony, and 2 is dual track; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
29, audio frequency loopback test (microphone is to loudspeaker)
Function name: OpenAudioLoopBackTest_Mic2Spk_Seq; Function: audio frequency loopback test, computer sound card sends 1K standard voice to microphone, gathers sound from loudspeaker; Specification bound: " frequency | root-mean-square value | total harmonic distortion | peak-to-peak value ", bound correspondence position is all configured to " 1 " expression and does not test this index; Reference result: nothing; Optimum configurations: button step; Coordinate: this parameter is used for arranging channel number: 1 is monophony, and 2 is dual track; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
30, Mic bias voltage test
Function name: MicVoltageTest_Seq; Function: Mic bias voltage is tested, and this step is put into after audio frequency winding and tests; The bias voltage of specification bound: Mic, unit: V; Reference result: nothing; Optimum configurations: button step; Coordinate: nothing; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
31, vibration-testing (high-low)
Function name: OpenMotorTest_Seq; Function: intermittent control shaking is tested, vibration voltage height is alternately; Specification bound: separate with " | " between bound, the upper limit: the high voltage upper limit | the low-voltage upper limit, lower limit: high voltage lower limit | low-voltage lower limit, unit: volt/V; Reference result: nothing; Optimum configurations: the button step opening vibration; Coordinate: nothing; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
32, vibration-testing (Gao-Gao)
Function name: OpenMotorTestHigVolt_Seq; Function: vibration-testing always, vibration voltage is continuously height; Specification bound: the bound of vibration voltage, unit: volt/V; Reference result: nothing; Optimum configurations: button step; Coordinate: nothing; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
33, vibration-testing (loudspeaker)
Function name: OpenMotorTestSpk_Seq; Function: vibration-testing, vibration signal is from loudspeaker situation out; Specification bound: " frequency | root-mean-square value | total harmonic distortion | peak-to-peak value ", bound correspondence position is all configured to "-1 " expression and does not test this index; Reference result: nothing; Optimum configurations: the button step opening vibration; Coordinate: nothing; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
34, oscillating current test
Function name: MotorCurTestHigVolt_Seq; Function: motor has filled vibration-testing onboard, the vibration mode always vibrated, must allow mobile phone enter offline mode before this test item; Specification bound: the bound of oscillating current, unit: mA; Reference result: nothing; Optimum configurations: button step; Coordinate: nothing; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
35, loudspeaker test
Function name: OpenSpeakerTest_Seq; Function: loudspeaker are tested, gathers sound from loudspeaker; Specification bound: " frequency | root-mean-square value | total harmonic distortion | peak-to-peak value ", bound correspondence position is all configured to "-1 " expression and does not test this index; Reference result: nothing; Optimum configurations: the button step opening loudspeaker; Coordinate: this parameter is used for arranging channel number: 1 is monophony, and 2 is dual track; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
36, bell sound test
Function name: OpenRingTest_Seq; Function: the tinkle of bells is tested, gathers sound from loudspeaker; Specification bound: " frequency | root-mean-square value | total harmonic distortion | peak-to-peak value ", bound correspondence position is all configured to "-1 " expression and does not test this index; Reference result: nothing; Optimum configurations: the button step opening bell sound; Coordinate: this parameter is used for arranging channel number: 1 is monophony, and 2 is dual track; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
37, receiver test
Function name: OpenHeadPhoneTest_Seq; Function: receiver is tested, gathers sound from receiver; Specification bound: " frequency | root-mean-square value | total harmonic distortion | peak-to-peak value ", bound correspondence position is all configured to "-1 " expression and does not test this index; Reference result: nothing; Optimum configurations: the button step opening receiver; Coordinate: this parameter is used for arranging channel number: 1 is monophony, and 2 is dual track; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
38, earphone bias voltage test
Function name: PhoneVoltageTest_Seq; Function: earphone bias voltage is tested, and earphone inserts by this inside modules, is completed and does not extract earphone, needs this step to be put into before earphone winding to test; Specification bound: the bias voltage of earphone, unit: V; Reference result: nothing; Optimum configurations: button step; Coordinate: nothing; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
39, earphone loopback test
Function name: OpenHeadsetAutoTest_Seq; Function: earphone loopback test, computer sound card sends 1K standard voice to ear microphone, gathers sound from earphone; Specification bound: " frequency | root-mean-square value | total harmonic distortion | peak-to-peak value ", bound correspondence position is all configured to "-1 " expression and does not test this index; Reference result: nothing; Optimum configurations: the button step opening earphone winding; Coordinate: this parameter is used for arranging channel number: 1 is monophony, and 2 is dual track; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item;--> time--> button step--the complete time delay of > button--> sound collection--the > interpretation of result of testing process: plugged earphone.
40, standby current test
Function name: StayCurrentTest_Seq; Function: the standby current of testing mobile phone; Specification bound: the acquiescence upper limit 0.6, lower limit 0, unit: milliampere; Reference result: nothing; Optimum configurations: sampling time, acquiescence 2000ms; Coordinate: nothing; Time delay: test before time-sampling interval-button operation complete stand-by period-time-out time.
41, normal shutdown
Function name: NormalPowerOff_Seq; Function: be completed mobile phone shutdown, normal shutdown, shutdown bond distance temporally can be arranged in " interval time between button ", default value 5000ms; Specification bound: nothing; Reference result: nothing; Optimum configurations: the button step returning to main interface; Coordinate: nothing; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
42, the leakage current that shuts down is tested
Function name: DrainOffCurrentTest_Seq; Function: the leakage current under testing mobile phone off-mode; Specification bound: the acquiescence upper limit 0.6, lower limit 0, unit: milliampere; Reference result: nothing; Optimum configurations: sampling time, acquiescence 2000ms; Coordinate: nothing; Time delay: test before time-sampling interval-button operation complete stand-by period-time-out time.
43, touch screen calibration
Function name: CalibrateTouchScreen_Seq; Function: touch screen calibration, if reference result and coordinate are all configured to "-" represent that not making picture compares; Specification bound: nothing; Reference result: touch the successful sectional drawing of calibration (optional); Optimum configurations: touch screen calibration coordinate points; Coordinate: separate (optional) with space character between screenshot area coordinate, such as: " 00 50 50 "; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
44, touch-screen slides (horizontal or vertical direction)
Function name: TouchUnLock_Seq; Function: slide for touch-screen, slip starting point gets a coordinate points, and slip terminating point gets a coordinate points, is set to inside optimum configurations.If reference result and coordinate are all configured to "-" represent that not making picture compares; Specification bound: lower limit represents the step-length of slip, can be arranged to positive step-length or negative step-length according to the situation of change of coordinate; Reference result: can represent and touch the successful picture of unblock (optional); Optimum configurations: two coordinate points can only be placed, touch-screen slip starting point-touch-screen slip terminal, the forms such as such as 20 30-20 230 or 20 230-20 30; Coordinate: separate (optional) with space character between screenshot area coordinate, such as: " 00 50 50 "; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item.
45, (horizontal or vertical direction) is slided in touch-screen circulation
Function name: TouchUnLockLoop_Seq; Function: slide for touch-screen circulation, slip starting point gets a coordinate points, and slip terminating point gets a coordinate points, is set to inside optimum configurations; Specification bound: lower limit represents the step-length of slip, can be arranged to positive step-length or negative step-length according to the situation of change of coordinate; Reference result: can only put a pictures, can represent the sectional drawing unlocking and successfully or slided into specified page; Optimum configurations: touch screen unlocking starting point-touch screen unlocking terminal, the forms such as such as 20 30-20 230 or 20 230-20 30; Coordinate: separate (optional) with space character between screenshot area coordinate, such as: " 00 50 50 "; Time delay: test before time-button between interval time-button operation complete stand-by period-time-out time; Testing process: do following circulation in time-out time: slide and unlock--> satisfied condition and exited the stand-by period that > time delay button is complete--> image detect--, otherwise till continuing to be recycled to time-out.
46, touch point (length is pressed)
Function name: TouchPress_Seq; Function: long by a touch point, the time that button is pinned, in " interval time between button " inner setting, is defaulted as 2000ms; Specification bound: nothing; Reference result: nothing; Optimum configurations: the long coordinate by touch point; Coordinate: nothing; Time delay: before test time-touch point length by time m-button operation complete stand-by period-Ben item be completed time of next test item.
47, touch point Y-direction bias correcting
Function name: TouchYOffset_Seq; Function: the correction in touch-screen Y-direction, the step-length of correction is arranged on inside reserved parameter.A coordinate points can only be placed, such as 20 50 in optimum configurations; Specification bound: nothing; Reference result: click assigned address or enter the sectional drawing of assigned address; Optimum configurations a: coordinate points can only be placed, such as 20 50; Coordinate: separate (optional) with space character between screenshot area coordinate, such as: " 00 50 50 "; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item; Reserved parameter: for arranging the step-length of correction, such as: the step-length of adjustment is set to 5; Testing process: program can go the value adjusting reference axis y, such as first click 20 50 to judge whether to meet picture, do not meet continuation click 20 45 to judge whether to meet picture, do not meet continuation click 20 55 to judge whether to satisfy condition, this module can adjust in y-direction, to meeting sectional drawing position.Module attempts at most 9 adjustment, and adjustment step-length is arranged inside reserved parameter.
48, touch point X-direction bias correcting
Function name: TouchXOffset_Seq; Function: the correction in touch-screen X-direction, the step-length of correction is arranged on inside reserved parameter.A coordinate points can only be placed, such as 50 20 in optimum configurations; Specification bound: nothing; Reference result: click assigned address or enter the sectional drawing of assigned address; Optimum configurations a: coordinate points can only be placed, such as 50 20; Coordinate: separate (optional) with space character between screenshot area coordinate, such as: " 00 50 50 "; Time delay: before test time-button between interval time-button operation complete stand-by period-Ben item is completed the time of next test item; Reserved parameter: for arranging the step-length of correction, such as: the step-length of adjustment is set to 5; Testing process: program can go the value adjusting reference axis y, such as first click 50 20 to judge whether to meet picture, do not meet continuation click 45 20 to judge whether to meet picture, do not meet continuation click 55 20 to judge whether to satisfy condition, this module can adjust in the x direction, to meeting sectional drawing position.Module attempts at most 9 adjustment, and adjustment step-length is arranged inside reserved parameter.
49, conditional jump module (? :):
Function name: _ ConditionJump_Seq; Function: first send button and arrive assigned address, judge whether to meet designated pictures, meet: perform? arrive: between button step, do not meet: perform: later button step.Be applicable to resurvey and the different situation of first time part of detecting setting option, or other needs to make a decision initial condition so that the situation of decision button step; Specification bound: nothing; Reference result: intercept and need to judge local picture; Optimum configurations: to needing to judge local button step; Coordinate: separate with space character between screenshot area coordinate, such as: " 00 50 50 "; Time delay: form is Delay1-Delay2-Delay3-Delay4:Delay5, represents: before test time-button between interval time-button step 1 end of operation stand-by period-step 2 is finished time delay: step 3 end of operation time delay.
50, condition is satisfied exits module:
Function name: ConditionExit_Seq; Whether function: condition is satisfied exits module, detect to meet and specify sectional drawing within the time of time-out, and time-out time can be arranged in last the inside of set of time, default value 15000ms; Specification bound: nothing; Reference result: several pictures can be supported; Optimum configurations: button step; Coordinate: separate with space character " " between coordinate, form is as follows: " 00 50 50 ", separates with " | " between many figure comparison diagram coordinate, such as: " 00 50 50 " | and " 00 60 60 "; Time delay: test before time-button between interval time-button operation complete stand-by period-time-out time; Testing process: do following circulation in time-out time: send button--stand-by period that > time delay button is complete--> image detect (if multiple figure, meet wherein one)--> satisfies condition and exits, otherwise till continuing to be recycled to time-out.
The foregoing is only the preferred embodiments of the present invention; be not limited to the present invention; to those skilled in the art; the present invention can have multiple change; all any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.