Function testing method of portable electronic apparatus

A technology for electronic equipment and functional testing, which is applied in software testing/debugging, radio/inductive link selection and arrangement, and selection of devices, etc., to achieve the effects of wide-scale use, low cost, and correctness

Inactive Publication Date: 2008-05-07
LENOVO MOBILE COMM TECH
View PDF1 Cites 48 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the easy realization of script generation, modification, and maintenance is one of the key factors that can better use key commands to realize automated testing; and existing solutions have obvious defects in script generation, modification, and maintenance. Improve

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Function testing method of portable electronic apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] A function test method of a mobile phone, the electronic device of the present embodiment is a mobile phone, but not limited to the mobile phone, other such as PDA is also applicable to this method. The hardware adopted in the method includes a mobile phone, a computer, and a physical channel connecting the mobile phone and the computer.

[0041] Mobile phone: Receive the user's key input, record the key information, pack the key information into an information data stream with a certain format, and send it to the test program on the computer side; receive the command data stream containing the key command sent by the computer side, and parse out the key command , and automatically execute the corresponding key processing according to the key command; pack the execution result into a result data stream with a certain format, and send it to the test program on the computer side. The above-mentioned data packaging can adopt data compression and decompression methods.

[...

Embodiment 2

[0070] The difference between the present embodiment and the first embodiment is that: the first embodiment realizes the recording and playback functions of a single test script file, and completes the test; the present embodiment provides a mobile phone to complete the combined test of multiple test script files. Each test script file is saved by the test method of Embodiment 1.

[0071] A function combination test method of a portable mobile phone, comprising:

[0072] Confirmation steps: Import multiple test script files into the task table, and enter the number of times each test script is expected to be executed;

[0073] Sequence step: Select the sequential execution function, according to the sequence of the script files, execute the number of times specified in the previous script file first, and then continue to execute the number of times specified in the next script file until all script files are executed.

[0074] The above script file execution is also script pl...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a function testing method of a portable electronic device. The portable electronic device has a keyboard. The testing method includes: step A, a script recording step, performing key operations on the keyboard of the electronic device to generate key information, and generating the generated key information. The key information data is transmitted to the computer, and the computer receives the key information; step B, the script playback step, includes: step B1, the computer converts the key information data into corresponding key commands, these key command sequences form a test script file, and the computer plays back the test script file, and transmit the key command data to the electronic device; step B2, the electronic device receives the key command data and automatically executes the key command to test the function of the electronic device. The generation, modification and maintenance of the test script file of the present invention are simple and easy to use.

Description

technical field [0001] The invention relates to a function testing method of a portable electronic device. Background technique [0002] Portable electronic devices, such as mobile phones, belong to embedded systems, and the embedded system platform lacks a relatively unified and standard interface, which makes it difficult for the test tools developed for embedded systems to be universal. Therefore, it is necessary to analyze the commonality of electronic equipment, and use this as an entry point to realize the purpose that the test tool can be used on different embedded system platforms with a small cost. Because the input method of electronic equipment is mostly through keyboard, existing scheme is also mostly with the method of simulating keyboard input. The existing solution is to simulate the key input in the form of hardware, that is, connect the key simulation switch to the PCB board of the electronic equipment keyboard, and drive the key simulation switch through s...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04Q7/34G06F11/36
Inventor 杨雪莹林峰
Owner LENOVO MOBILE COMM TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products