TW201022686A - Apparatus and method for testing electronic apparatus - Google Patents

Apparatus and method for testing electronic apparatus Download PDF

Info

Publication number
TW201022686A
TW201022686A TW97147319A TW97147319A TW201022686A TW 201022686 A TW201022686 A TW 201022686A TW 97147319 A TW97147319 A TW 97147319A TW 97147319 A TW97147319 A TW 97147319A TW 201022686 A TW201022686 A TW 201022686A
Authority
TW
Taiwan
Prior art keywords
button
script file
testing
analog
test
Prior art date
Application number
TW97147319A
Other languages
Chinese (zh)
Other versions
TWI381176B (en
Inventor
Hua-Dong Cheng
Feng Zhou
Bin-Gang Duan
zhi-xin Xu
Rufy-Shyang You
Han-Che Wan
Original Assignee
Hon Hai Prec Ind 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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW97147319A priority Critical patent/TWI381176B/en
Publication of TW201022686A publication Critical patent/TW201022686A/en
Application granted granted Critical
Publication of TWI381176B publication Critical patent/TWI381176B/en

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

This invention provides a method for testing electronic apparatus. The method includes: reading an ID of an analogue key board; determining a script code corresponding to the ID in a parameter table; running a corresponding script of the script code stored in the parameter table to send a button command; and recognizing the button command to conduct a corresponding electrical conductive path of the analogue key board, such that a button of the electronic apparatus connected to said electrical conductive path generates a button signal to control the electronic apparatus to execute corresponding function. An apparatus for testing electronic apparatus is also provided.

Description

201022686 九、發明說明: 【發明所屬之技術領域】 本發明涉及一種電子裝置測試裝置及測試方法。 【先前技術】 在電子裝置生產完後,需對其相應的功能進行測試, 以判斷電子裝置是否能正常執行相應的功能,從而保證出 產的電子裝置能夠正常使用。而現有的測試方法是電腦執 ❹行記錄按鍵命令的腳本檔案,發送按鍵命令至待測電子裝 置。待測電子裝置根據所接收的按鍵命令確定導通與按鍵 命令相對應的按鍵,執行相應的功能。這種測試方法需要 待測電子裝置内置根據按鍵命令選擇導通相應的按鍵的程 式。而通常在電子裝置測試正常待出貨時,必須卸載上述 内置的程式。如此,當生產的電子裝置數量比較大時,操 作十分麻煩,嚴重影響測試效率。 【發明内容】 Ο 本發明的目的在於提供一種電子裝置測試裝置及測試 方法’以解決上述技術存在的問題。 該電子裝置測試裝置包括一測試控制單元、一記憶體 及一顯示螢幕’該測試裝置還包括:一類比按鍵板驅動模 組’具有一插槽,用於插入不同類型的類比按鍵板,其中, 每一類比按鍵板具有一識別碼,每一類型的類比按鍵板對 應一類型的待測裝置,以及每一類比按鍵板上具有與對應 的待測裝置上按鍵數量相同的電氣通路,每一電氣通路與 待測裝置上一對應的按鍵相連通;該記憶體用於存儲一測 201022686 試項目對應表及對各待測裝置進行測試用的腳本檔案,該 測試項目對應表記錄了每一類型的類比按鍵板的識別碼與 對各待測裝置進行測試用的腳本檔案代碼的對應關係,該 腳本檔案為多個按鍵命令的集合;該測試控制單元包括: 一識別碼讀取模組,用於讀取該類比按鍵板驅動模組上插 入的類比按鍵板的識別碼;一測試腳本檔案確定模組,用 於根據所讀取的識別碼從該記憶體存儲的測試項目對應表 中確定對待測裝置進行測試用的腳本檔案的代碼;以及一 測試腳本檔案執行模組,用於調用並執行所獲取的腳本檔 案代碼對應的腳本檔案,按照腳本檔案上記錄按鍵命令的 順序發送按鍵命令至該類比按鍵驅動模組;該類比按鍵驅 動模組還用於識別所發送的按鍵命令,確定導通該類比按 鍵板上與按鍵命令對應的所述電氣通路,使得與該電氣通 路連通的該待測裝置的按鍵產生該按鍵命令對應的按鍵訊 號。 該電子裝置測試方法,提供一記憶體,用於存儲一測 試項目對應表及對各待測裝置進行測試用的腳本檔案,該 測試項目對應表記錄了每一類型的類比按鍵板的識別碼與 對各待測裝置進行測試用的腳本檔案代碼的對應關係,該 腳本檔案為多個按鍵命令的集合,該測試方法包括步驟: 讀取一類比按鍵板的識別碼;根據所讀取的識別碼在該測 試項目對應表中確定對待測裝置進行測試用的腳本檔案的 代碼;調用並執行所述腳本檔案代碼對應的腳本檔案,按 照腳本檔案記錄按鍵命令的順序發送按鍵命令;以及識別 201022686 所發送的按鍵命人 命令對應的-電:通:確=該類比按鍵板上與該按鍵 裝置的按鍵產生心使侍與該電氣通路連通的該待測 的電子裝置測試^鍵命令對應的按鍵訊號。本發明提供 型,並從存儲的測試夠自動識別待侧裝置的類 置對應_本_2 ==案中調用並執行與待測裝 ❹ 鲁 與按鍵命切㈣職㈣鍵板上 能。 電氣通路使待測裝置執行相應的功 子裝試裝置及測試方法,每台待測試的電 的按鍵的㈣1不需要内置根據按鍵命令確料通相應 内置的程式:能夠:大^正常後,也不需要卸載上述 ^能夠大大提高測試致率。 【實施方式】 的架=考圖卜為本發明—實施方式下電子襄置測試系統 該測試系統包括一測試裝置10、一連接器20及一待測 f 3〇。該測試裝置1〇包括一類比按鍵板驅動模組1〇1及一 測試控制單元102。該測試控制單元1〇2包括一個或多個處 理單元。該類比按鍵板驅動模組1〇1與該測試控制單元1〇2 通過通用輸入/輸出(General Purpose Input Output,GPIO) 埠連接。該類比按鍵板驅動模組101上有一插槽,用於插入 不同類型的類比按鍵板1〇1(^不同類型的待測裝置30需要 不同類型的類比按鍵板1010,每一類型的類比按鍵板1010 上有與對應的待測裝置30上按鍵的數量相同的電氣通路。 201022686 •每一類型的類比按鍵板1010還有一識別碼。該連接器20用 於將該類比按鍵板驅動模組101上的類比按鍵板1010與該 待測裝置30上的按鍵板進行連接,該類比按鍵板1010的每 一電氣通路與該待測裝置30的每一對應的按鍵相連通。該 連接器20可根據待測裝置30的類型進行更換。該待測裝置 30為一可檇式電子裝置,如電子相框、電子書等。 該測試裝置10還包括一記憶體103及一顯示螢幕104。 該記憶體103用於存儲一測試項目對應表及對待測裝置30 ® 進行測試用的腳本檔案。如表一所示,該測試項目對應表 包括一識別碼欄及一腳本檔案代碼欄。該識別碼攔記錄每 一類型的類比按鍵板1010的識別碼。該腳本檔案代碼欄記 錄不同腳本檔案的代碼。該腳本檔案為多個按鍵命令的集 合。其中,該按鍵命令至少包括以下内容··按鍵代碼、按 鍵間的間隔與按鍵按壓持續的時長。在本實施方式中,執 行每一腳本檔案可對待測裝置30的多個測試項目進行測 _ 試,如對電子相框的播放圖片、播放音樂等項目進行測試。 表一測試項目對應表 識別碼 腳本檔案代碼 ID1 A1 ID2 A2 ID3 A3 番.擊 •»· · · · 請參考圖2,為本發明一實施方式下電子裝置測試裝置 201022686 的測試_單元所執行功能的模組圖。 L r制單元1G 2包括—識別碼讀取模組皿1、-腳 本播案定模組1G22、一腳本構案執行模組1023、-顯示 模組1024及一操作介面處理模組1025。 該識別瑪讀取模組願用於讀取該類比按鍵板驅動模 組1〇1上插人的類比按鍵板1G_識別碼。該腳本槽案確定 ❹ ❹ 模組觀詩減所讀取的朗碼麵試項目對應表中確 定該待測裝置3。職時所需要的腳切㈣代媽。 樓案執::_用於根據所確定的腳本檔案的 並執行相㈣腳本_,將簡本㈣上記料按鍵命令 γ〇 r 埠傳輸至該類比按鍵板驅動模組 1〇1。該類比按鍵板驅動模組1()1識別所發送的按 發送一訊號,例如高電平,使該類比按鍵板咖上與按鍵 命令對應的-電氣通路導通,即該待測裝㈣上與該電^ 通路連:的-按鍵導通以產生該按鍵命令相應的按鍵訊 號,該待測裝置30根據該按鍵訊號執行相應的功能。該顯 不模組腦用於將該操作介面處理模組1G25提供的一操作 介面顯示在該顯示螢幕1〇4上,以;臉4 , '、 上乂及將該腳本檔案執行模組 1023執灯腳本槽案的過程顯示在該操作介面提供的 顯示區内’以供測試人員及時知曉當前在測試待測裝= 的何種功能’以及判斷待測裝置3G是否正常執行了與 的按鍵命令對應的起。⑽作介自賴供暫停執行腳本 檔案、標識按鍵命令、繼續執行腳本檔案及停止執行腳本 檔案等功能。該操作介面處理模組1〇25能夠回應測試人員 11 201022686 •在該操作介面上執行的操作。當待測裝置30不能正常執行 相應的功能時,測試人員可通過該操作介面提供的暫停功 能,暫停腳本檔案的執行。測試人員還可通過該操作介面 提供的標識功能,對待測裝置30不能正常執行的按鍵命令 進行標識,例如對該按鍵命令加以文字注解,這樣在測試 結束後,測試人員可及時追蹤待測裝置30不能正常執行的 按鍵命令。在對待測裝置30不能正常執行的按鍵命令進行 標識後,測試人員可通過該操作介面提供的繼續執行腳本 ®檔案的功能,以繼續執行腳本檔案,或者是通過該操作介 面提供的停止腳本檔案的功能,以停止腳本檔案的執行。 請參考圖3,為本發明一實施方式下電子裝置測試方法 流程圖。 步驟S301中,該識別碼讀取模組1021讀取該類比按鍵 板驅動模組101上插入的類比按鍵板1010的識別碼。 步驟S302中,該腳本檔案確定模組1022根據所讀取的 @ 識別碼在測試項目對應表中確定該待測裝置30測試時所需 要的腳本檔案的代碼。 步驟S303中,該腳本檔案執行模組1023根據所確定的 腳本檔案的代碼調用並執行相應的腳本檔案,將該腳本檔 案上記錄的按鍵命令按記錄的順序通過GPIO埠傳輸至該 類比按鍵板驅動模組101。在本實施方式下,在該腳本檔案 執行模組1023執行腳本檔案時,該顯示模組1024調用該操 作介面模組1025提供的操作介面,並將該操作介面顯示在 該顯示螢幕104上,以及將該腳本檔案執行模組1023執行腳 12 201022686 本檔案的過程顯示在該操作介面的文本顯示區内。 步驟S304中,該類比按鍵板驅動模組101識別所發送 的按鍵命令,發送一訊號,例如高電平,使該類比按鍵板 1010上與按鍵命令對應的一電氣通路導通,即使該待測裝 置30上與該電氣通路連通的一按鍵導通產生該按鍵命令相 應的按鍵訊號,該待測裝置30根據該該按鍵訊號執行相應 的功能。 步驟S305中,判斷該待測裝置30是否正常執行了相應 V 的功能,如果是,則執行步驟S306,否則,測試人員可在 該顯示螢幕104顯示的操作介面上執行相關的功能。 步驟S306中,該腳本檔案執行模組1023判斷是否還有 下一條按鍵命令需要發送,如果是,則重複執行步驟 S303,否則,整個測試過程結束。 【圖式簡單說明】 圖1為本發明一實施方式下電子裝置測試系統的架構201022686 IX. Description of the Invention: [Technical Field] The present invention relates to an electronic device testing device and a testing method. [Prior Art] After the electronic device is produced, its corresponding function needs to be tested to determine whether the electronic device can perform the corresponding function normally, thereby ensuring that the produced electronic device can be used normally. The existing test method is that the computer executes a script file for recording a button command and sends a button command to the electronic device to be tested. The electronic device to be tested determines to turn on the button corresponding to the button command according to the received button command, and performs a corresponding function. This test method requires the built-in electronic device to be selected to turn on the corresponding button according to the button command. Usually, when the electronic device test is normally shipped, the built-in program must be uninstalled. Thus, when the number of electronic devices produced is relatively large, the operation is very troublesome and seriously affects the test efficiency. SUMMARY OF THE INVENTION An object of the present invention is to provide an electronic device testing device and a testing method' to solve the problems of the above technology. The electronic device testing device includes a test control unit, a memory and a display screen. The test device further includes: an analog keyboard driver module having a slot for inserting different types of analog keyboards, wherein Each type of keypad has an identification code, each type of analog keypad corresponds to a type of device to be tested, and each type of keypad has the same electrical path as the number of buttons on the corresponding device under test, each electrical The path is connected with a corresponding button on the device to be tested; the memory is used for storing a test table corresponding to the 201022686 test item and a script file for testing each device to be tested, and the test item correspondence table records each type of the file. Corresponding relationship between the identification code of the analog keyboard and the script file code for testing each device to be tested, the script file is a set of a plurality of key commands; the test control unit comprises: an identification code reading module, Reading an identification code of the analog keyboard inserted in the analog keyboard driver module; a test script file determining module, used for And determining, by the read identification code, a code of a script file for testing the device to be tested from the test item correspondence table stored in the memory; and a test script file execution module for calling and executing the acquired script file The script file corresponding to the code sends a button command to the analog button driver module in the order of recording the button command on the script file; the analog button driver module is further configured to identify the sent button command, and determine to turn on the analog button panel. The electrical path corresponding to the button command causes a button of the device to be tested that communicates with the electrical path to generate a button signal corresponding to the button command. The electronic device testing method provides a memory for storing a test item correspondence table and a script file for testing each device to be tested, and the test item correspondence table records the identification code of each type of analog keyboard Corresponding relationship between script file codes for testing each device to be tested, the script file being a set of a plurality of key commands, the test method comprising the steps of: reading an identification code of an analog keyboard; according to the read identification code Determining, in the test item correspondence table, a code of a script file for testing the device to be tested; calling and executing a script file corresponding to the script file code, sending a button command in the order of the script file record button command; and identifying the file sent by 201022686 Corresponding to the button-to-human command: -======================================================================================== The present invention provides a type, and from the stored test, it is sufficient to automatically identify the type of the device to be side-received. _ this_2 == the case is called and executed with the device to be tested and the button (4) key (4). The electrical path enables the device to be tested to execute the corresponding function test device and test method. Each of the buttons to be tested (4) 1 does not need to be built-in according to the button command to confirm the corresponding built-in program: can: large ^ normal, also There is no need to uninstall the above ^ to greatly improve the test yield. [Embodiment] The frame = Cotub is the invention - the electronic device test system under the embodiment. The test system includes a test device 10, a connector 20 and a test device. The test device 1 includes an analog keyboard drive module 101 and a test control unit 102. The test control unit 102 includes one or more processing units. The analog keypad drive module 101 and the test control unit 1〇2 are connected by a General Purpose Input Output (GPIO). The analog keyboard drive module 101 has a slot for inserting different types of analog keypads 1〇1 (^ different types of devices to be tested 30 need different types of analog keypads 1010, each type of analog keypad There is an electrical path on the 1010 that is the same as the number of buttons on the corresponding device under test 30. 201022686 • Each type of analog keyboard 1010 also has an identification code. The connector 20 is used to drive the analog button on the module 101. The analog keypad 1010 is connected to the keypad on the device under test 30. Each electrical path of the analog keypad 1010 is in communication with each corresponding button of the device under test 30. The connector 20 can be configured according to The type of the measuring device 30 is replaced. The device to be tested 30 is a portable electronic device, such as an electronic photo frame, an electronic book, etc. The testing device 10 further includes a memory 103 and a display screen 104. The script file for testing a test item correspondence table and the device to be tested 30 ® is stored. As shown in Table 1, the test item correspondence table includes an identification code column and a script file code column. The identification code records the identification code of each type of analog keyboard 1010. The script file code column records the code of different script files. The script file is a collection of a plurality of key commands, wherein the key command includes at least the following content: The button code, the interval between the buttons, and the duration of the button press. In this embodiment, each script file can be tested by a plurality of test items of the device to be tested 30, such as playing a picture and playing the electronic photo frame. The items such as the music are tested. Table 1 test item correspondence table identifier code file code ID1 A1 ID2 A2 ID3 A3 . » » » » » » » » » » » » » » » » » » » » » » » » » » » » » » 电子 电子 电子 电子 电子 电子 电子Test module diagram of the function performed by the unit. L r unit 1G 2 includes - identification code reading module 1, scripting module 1G22, script configuration module 1023, display module 1024 and an operation interface processing module 1025. The recognition horse reading module is intended to read the analog keyboard 1G_identification code of the analog keyboard driver module 1〇1 The script slot determines that the 待 ❹ module view poem subtraction reads the Lang code interview item correspondence table to determine the device to be tested 3. The foot cut (four) generation mother required for the job. The determined script file and the execution phase (4) script _, the short message (4) on the key command γ〇r 埠 is transmitted to the analog keyboard driver module 1〇1. The analog keyboard driver module 1 () 1 identification The sent signal is transmitted, for example, a high level, so that the electrical path corresponding to the button command on the button board is turned on, that is, the button connected to the circuit is turned on to generate (4) The button commands a corresponding button signal, and the device under test 30 performs a corresponding function according to the button signal. The display module brain is configured to display an operation interface provided by the operation interface processing module 1G25 on the display screen 1〇4, and the face 4, ', the upper layer and the script file execution module 1023 The process of the light script slot is displayed in the display area provided by the operation interface to allow the tester to know in time which function is currently being tested and to determine whether the device under test 3G is normally executed. From the beginning. (10) The function of suspending execution of script files, identifying key commands, continuing execution of script files, and stopping execution of script files. The operational interface processing module 1 25 is responsive to the tester 11 201022686 • operations performed on the operational interface. When the device under test 30 cannot perform the corresponding function normally, the tester can suspend the execution of the script file through the pause function provided by the operation interface. The tester can also identify the key command that the device to be tested 30 cannot perform normally by using the identification function provided by the operation interface, for example, text-commenting the button command, so that after the test is finished, the tester can track the device to be tested 30 in time. Key commands that cannot be executed normally. After the button command that the device to be tested 30 cannot perform is identified, the tester can continue to execute the script file by using the function provided by the operation interface to continue executing the script file, or the stop script file provided through the operation interface. Function to stop the execution of the script file. Please refer to FIG. 3, which is a flowchart of a method for testing an electronic device according to an embodiment of the present invention. In step S301, the identification code reading module 1021 reads the identification code of the analog keyboard 1010 inserted in the analog keyboard driving module 101. In step S302, the script file determining module 1022 determines the code of the script file required for testing the device under test 30 in the test item correspondence table according to the read @ID code. In step S303, the script file execution module 1023 calls and executes the corresponding script file according to the determined code of the script file, and the key command recorded on the script file is transmitted to the analog keyboard driver through the GPIO埠 in the order of recording. Module 101. In the embodiment, when the script file execution module 1023 executes the script file, the display module 1024 calls the operation interface provided by the operation interface module 1025, and displays the operation interface on the display screen 104, and The script file execution module 1023 executes the process of executing the file 12 201022686. The file is displayed in the text display area of the operation interface. In step S304, the analog keypad driving module 101 recognizes the sent key command, and sends a signal, such as a high level, to make an electrical path corresponding to the key command on the analog keyboard 1010, even if the device to be tested A button connected to the electrical path on the 30 is turned on to generate a corresponding button signal of the button command, and the device under test 30 performs a corresponding function according to the button signal. In step S305, it is determined whether the device under test 30 normally performs the function of the corresponding V. If yes, step S306 is performed. Otherwise, the tester can perform related functions on the operation interface displayed by the display screen 104. In step S306, the script file execution module 1023 determines whether there is still a next key command to be sent, and if so, repeats step S303; otherwise, the entire test process ends. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is an architecture of an electronic device test system according to an embodiment of the present invention.

圖2為本發明一實施方式下電子裝置測試裝置的測試 控制單元所執行功能的模組圖。 圖3為本發明一實施方式下電子裝置測試方法流程 圖。 【主要元件符號說明】 測試裝置 10 類比按鍵板驅動模組 101 類比按鍵板 1010 13 201022686 測試控制單元 102 記憶體 103 顯示螢幕 104 連接器 20 待測裝置 30 ❿ 142 is a block diagram showing functions performed by a test control unit of an electronic device test device according to an embodiment of the present invention. 3 is a flow chart of a test method of an electronic device according to an embodiment of the present invention. [Main component symbol description] Test device 10 Analog keypad driver module 101 Analog keypad 1010 13 201022686 Test control unit 102 Memory 103 Display screen 104 Connector 20 Device under test 30 ❿ 14

Claims (1)

201022686 十、申請專利範圍 1.一種電子裝置測試裝置,該測試裝置包括一測試控制單 元、一記憶體及一顯示螢幕,其中,該測試裝置還包括: 一類比按鍵板驅動模組,具有一插槽,用於插入不同類型 的類比按鍵板,其中,每一類比按鍵板具有一識別碼,每 一類型的類比按鍵板對應一類型的待測裝置,以及每一類 比按鍵板上具有與對應的待測裝置上按鍵數量相同的電 氣通路,每一電氣通路與待測裝置上一對應的按鍵相連 ® 通; 該記憶體用於存儲一測試項目對應表及對各待測裝置進 行測試用的腳本檔案,該測試項目對應表記錄了每一類型 的類比按鍵板的識別碼與對各待測裝置進行測試用的腳 本檔案代碼的對應關係,該腳本檔案為多個按鍵命令的集 合; 該測試控制單元包括: Φ 一識別碼讀取模組,用於讀取該類比按鍵板驅動模組上插 入的類比按鍵板的識別碼; 一測試腳本檔案確定模組,用於根據所讀取的識別碼從該 記憶體存儲的測試項目對應表中確定對待測裝置進行測 試用的腳本檔案的代碼;以及 一測試腳本檔案執行模組,用於調用並執行所獲取的腳本 檔案代碼對應的腳本檔案,按照腳本檔案上記錄按鍵命令 的順序發送按鍵命令至該類比按鍵驅動模組; 該類比按鍵驅動模組還用於識別所發送的按鍵命令,確定 15 201022686 * 導通該類比按鍵板上與按鍵命令對應的所述電氣通路,使 得與該電氣通路連通的該待測裝置的按鍵產生該按鍵命 令對應的按鍵訊號。 2. 如申請專利範圍第1項所述的電子裝置測試裝置,其中, 該類比按鍵板驅動模組與該測試控制單元通過通用輸入/ 輸出埠進行連接。 3. 如申請專利範圍第1項所述的電子裝置測試裝置,其中, 該類比按鍵板驅動模組上的類比按鍵板的每一電氣通路 ® 通過一外置連接器與該待測裝置上的每一對應的按鍵相 連通。 4. 如申請專利範圍第1項所述的電子裝置測試裝置,其中, 該按鍵命令至少包括以下内容:按鍵代碼、按鍵間的間隔 與按鍵按壓持續的時長。 5. 如申請專利範圍第1項所述的電子裝置測試裝置,其中, 該測試控制單元還包括一操作介面處理模組,用於提供一 ❿ 操作介面,以及回應在該操作介面上執行的操作。 6. 如申請專利範圍第5項所述的電子裝置測試裝置,其中, 該操作介面提供一文本顯示區、一暫停執行腳本檔案功 能、一標識按鍵命令功能、一繼續執行腳本檔案功能及停 止執行腳本檔案功能。 7. 如申請專利範圍第6項所述的電子裝置測試裝置,其中, 該測試控制單元還包括一顯示模組,用於調用該操作介面 處理模組提供的操作介面,將該操作介面顯示在該顯示螢 幕上,以及將該腳本檔案執行模組執行腳本檔案的過程顯 16 201022686 • 示在該操作介面的文本顯示區内。 8.—種電子裝置測試方法,提供一記憶體,用於存儲一測試 項目對應表及對各待測裝置進行測試用的腳本檔案,該測 試項目對應表記錄了每一類型的類比按鍵板的識別碼與 對各待測裝置進行測試用的腳本檔案代碼的對應關係,該 腳本檔案為多個按鍵命令的集合,其中,該測試方法包括 步驟: 讀取一類比按鍵板的識別碼; ® 根據所讀取的識別碼在該測試項目對應表中確定對待測 裝置進行測試用的腳本檔案的代碼; 調用並執行所述腳本檔案代碼對應的腳本檔案,按照腳本 檔案記錄按鍵命令的順序發送按鍵命令;以及 識別所發送的按鍵命令,以確定導通該類比按鍵板上與該 按鍵命令對應的一電氣通路,使得與該電氣通路連通的該 待測裝置的按鍵產生該按鍵命令對應的按鍵訊號。 φ 9.如申請專利範圍第8項所述的電子裝置測試方法,其中, 還包括步驟: 判斷是否還有按鍵命令需要發送,如果是,則繼續發送按 鍵命令,否則測試結束。 10.如申請專利範圍第8項所述的電子裝置測試方法,其中, 該按鍵命令至少包括以下内容:按鍵代碼、按鍵間的間隔 與按鍵按壓持續的時長。 17201022686 X. Patent Application Area 1. An electronic device testing device, the testing device comprising a test control unit, a memory and a display screen, wherein the testing device further comprises: an analog keyboard driver module having a plug a slot for inserting different types of analog keypads, wherein each type of keypad has an identification code, each type of analog keypad corresponds to a type of device to be tested, and each type of keypad has a corresponding The electrical path of the same number of buttons on the device to be tested, each electrical path is connected to a corresponding button on the device to be tested; the memory is used for storing a test item correspondence table and a script for testing each device to be tested Archive, the test item correspondence table records the correspondence between the identification code of each type of analog keyboard and the script file code for testing each device to be tested, and the script file is a set of multiple key commands; The unit includes: Φ an identification code reading module for reading the class inserted on the analog keyboard driver module a test script file determining module, configured to determine, according to the read identification code, a code of a script file for testing the device to be tested from the test item correspondence table stored in the memory; The test script file execution module is configured to invoke and execute the script file corresponding to the acquired script file code, and send a button command to the analog button driver module in the order of recording the button command on the script file; the analog button driver module further For identifying the sent key command, determining 15 201022686 * turning on the electrical path corresponding to the key command on the analog button, so that the button of the device under test communicating with the electrical path generates a button signal corresponding to the button command . 2. The electronic device testing device according to claim 1, wherein the analog keypad driving module and the testing control unit are connected by a universal input/output port. 3. The electronic device testing device of claim 1, wherein each of the electrical passages of the analog keypad on the analog keypad drive module passes through an external connector and the device to be tested Each corresponding button is connected. 4. The electronic device testing device of claim 1, wherein the button command comprises at least the following: a button code, an interval between the buttons, and a duration of the button press. 5. The electronic device testing device of claim 1, wherein the test control unit further comprises an operation interface processing module for providing an operation interface and responding to operations performed on the operation interface. . 6. The electronic device testing device according to claim 5, wherein the operation interface provides a text display area, a pause execution script file function, an identification button command function, a script file execution function, and execution stop. Script file function. 7. The electronic device testing device of claim 6, wherein the test control unit further comprises a display module for calling an operation interface provided by the operation interface processing module, and displaying the operation interface on the The process of displaying the script file on the display screen and executing the script file execution module is shown in the text display area of the operation interface. 8. A method for testing an electronic device, providing a memory for storing a test item correspondence table and a script file for testing each device to be tested, the test item correspondence table recording each type of analog keyboard Correspondence between the identification code and a script file code for testing each device to be tested, the script file being a set of a plurality of key commands, wherein the test method comprises the steps of: reading an identification code of an analog keyboard; The read identification code determines the code of the script file for testing the device to be tested in the test item correspondence table; invokes and executes the script file corresponding to the script file code, and sends the key command according to the sequence of the script file record button command And identifying the sent key command to determine to turn on an electrical path corresponding to the key command on the analog button, such that the button of the device under test communicating with the electrical path generates a button signal corresponding to the button command. φ 9. The electronic device testing method according to claim 8, wherein the method further comprises the steps of: determining whether there is a key command to be sent, and if so, continuing to send the key command, otherwise the test ends. 10. The electronic device testing method of claim 8, wherein the button command comprises at least the following: a button code, an interval between the buttons, and a duration of the button press. 17
TW97147319A 2008-12-05 2008-12-05 Apparatus and method for testing electronic apparatus TWI381176B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97147319A TWI381176B (en) 2008-12-05 2008-12-05 Apparatus and method for testing electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97147319A TWI381176B (en) 2008-12-05 2008-12-05 Apparatus and method for testing electronic apparatus

Publications (2)

Publication Number Publication Date
TW201022686A true TW201022686A (en) 2010-06-16
TWI381176B TWI381176B (en) 2013-01-01

Family

ID=44833076

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97147319A TWI381176B (en) 2008-12-05 2008-12-05 Apparatus and method for testing electronic apparatus

Country Status (1)

Country Link
TW (1) TWI381176B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI447407B (en) * 2012-07-18 2014-08-01 Au Optronics Suzhou Corp Ltd Cable detection device and cable detection method
TWI507696B (en) * 2012-09-05 2015-11-11 Wistron Corp Method of inputting data for testing system and testing system thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4439046B2 (en) * 1999-10-22 2010-03-24 クラリオン株式会社 Audio equipment automatic measurement device, network system, audio equipment automatic measurement data processing / control device, recording medium for automatic measurement processing / control program
US7184917B2 (en) * 2003-02-14 2007-02-27 Advantest America R&D Center, Inc. Method and system for controlling interchangeable components in a modular test system
US8645149B2 (en) * 2006-01-23 2014-02-04 Balboa Water Group, Inc. Testing method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI447407B (en) * 2012-07-18 2014-08-01 Au Optronics Suzhou Corp Ltd Cable detection device and cable detection method
TWI507696B (en) * 2012-09-05 2015-11-11 Wistron Corp Method of inputting data for testing system and testing system thereof

Also Published As

Publication number Publication date
TWI381176B (en) 2013-01-01

Similar Documents

Publication Publication Date Title
CN101738550B (en) Electronic device test device and test method
US10956291B2 (en) Method, computer apparatus, and user interface for performing automatic test upon storage devices
TWI510913B (en) Testing device and testing method thereof
CN101493790B (en) Record playback system and record back method
CN105204969B (en) Abnormal log processing method and abnormal log processing unit
US6336149B1 (en) Macro recording and playback device independent of operating system or application software and method of using same
CN101368991A (en) Electronic device test device and method thereof
CN109669831B (en) Test method and electronic equipment
CN106126424A (en) A kind of visual automated testing method of script, device and mobile terminal
CN112115038A (en) Application testing method and device and storage medium
US20080016385A1 (en) Plain Language Announcement of Diagnostic and Troubleshooting Information for Users
CN108874441B (en) Board card configuration method, device, server and storage medium
US7814275B2 (en) Apparatus and method for performing a plurality of storage devices
CN114578790B (en) Unmanned aerial vehicle flight control automatic test method, system, equipment and medium
TW201022686A (en) Apparatus and method for testing electronic apparatus
CN101470647A (en) Computer mainboard fault diagnosis apparatus
JP2007218598A (en) Circuit board testing system
CN102305906B (en) Chip testing method and device
CN109581188B (en) Function detection method for terminal on mainboard, intelligent device and storage medium
TW201222240A (en) Testing method for automatically rebooting a motherboard and recording related debug information and rebooting device thereof
US8463754B2 (en) Electronic equipment and log output method
CN212782723U (en) PCIe and SATA compatible copying device
JP5367551B2 (en) Command logger device
TWI291614B (en) System and method of creating virtual testing environment
JP2010170459A (en) Test system, test method, and test program

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees