TWI384362B - Method of viewing test log file and computer program product using the method - Google Patents

Method of viewing test log file and computer program product using the method Download PDF

Info

Publication number
TWI384362B
TWI384362B TW97137597A TW97137597A TWI384362B TW I384362 B TWI384362 B TW I384362B TW 97137597 A TW97137597 A TW 97137597A TW 97137597 A TW97137597 A TW 97137597A TW I384362 B TWI384362 B TW I384362B
Authority
TW
Taiwan
Prior art keywords
information
file
test
type
flag value
Prior art date
Application number
TW97137597A
Other languages
Chinese (zh)
Other versions
TW201013396A (en
Inventor
Hsu Tsung Hung
Original Assignee
Inventec Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inventec Corp filed Critical Inventec Corp
Priority to TW97137597A priority Critical patent/TWI384362B/en
Publication of TW201013396A publication Critical patent/TW201013396A/en
Application granted granted Critical
Publication of TWI384362B publication Critical patent/TWI384362B/en

Links

Description

測試記錄檔的檢視方法及與使用此方法之電腦程式產 品Test method for testing log files and computer program production using this method Product

本發明是有關於一種測試記錄檔的檢視方法,且特別是有關於一種測試記錄檔的檢視方法及使用此方法之電腦程式產品。The present invention relates to a method for viewing a test record file, and more particularly to a method for viewing a test record file and a computer program product using the same.

電腦系統開發業者為了確保出貨產品的穩定性,會對即將出貨的電腦系統進行測試,且藉由檢視測試記錄檔可以檢視即將出貨的電腦系統是否運作良好,以過濾運作不良的產品來確保出貨後電腦系統可以穩定運行,其中此測試包括是否通過WHQL (Windows Hardware Quality Labs)認證等。In order to ensure the stability of the shipped products, computer system developers will test the computer system that will be shipped, and by checking the test log file, you can check whether the computer system to be shipped is working well to filter the products that are not working properly. Ensure that the computer system can run stably after shipment, including whether to pass the WHQL (Windows Hardware Quality Labs) certification.

以惠普(HP)公司為例,在設計研發新的電腦系統後,會將其所開發的電腦系統交由下游的代工廠商來進行量產,並將此電腦系統所運行的作業系統及相關軟體製作為系統映像檔,一併交給代工廠商。而為了保有其品牌應有的品質,代工廠商在出貨前必須對產品進行測試,而此測試可利用其開發的HP report程式來進行。在執行此測試程式時,將讀取電腦系統的系統映像檔,並對此系統映像檔中的驅動程式進行測試,其測試的結果會記錄於符合視窗測試日誌(windows test log, wtl)檔案格式的檔案中。而代工廠商可藉由檢視此wtl檔案以檢測驅動程式是否出現錯誤,並將錯誤訊息回報至電腦系統開發業者以修正錯誤的 驅動程式。Taking HP as an example, after designing and developing a new computer system, the computer system developed by it will be handed over to the downstream foundry to mass-produce, and the operating system and related operating system of the computer system will be related. The soft system is distributed as a system image to the foundry. In order to maintain the quality of its brand, the OEM must test the product before shipment, and this test can be carried out using the HP report program developed by it. When executing this test program, the system image of the computer system will be read and the driver in the system image will be tested. The test results will be recorded in the window test log (wtl) file format. In the file. The foundry can check the wtl file to detect if the driver has an error and report the error message to the computer system developer to correct the error. Driver.

以現有的環境而言,若要觀看此wtl檔案則必須使用微軟所提供的驅動程式測試管理者日誌檢視器(Driver Test Manager Log Viewer,以下簡稱為DTM Log Viewer)才能進行。而DTM Log Viewer在使用前必須進行安裝,且利用其打開測試記錄檔的內容時,由於測試記錄檔的內容龐大,使其篇幅相對地十分冗長。而測試人員則必須自行一一比對查看其內容,才能檢查所有的驅動程式是否己通過測試,在檢視的工作上極度不便。在另一方面,上述的檢視動作非常的耗時,在長時的工作下,測試人員極可能會產生疲累狀態。若在測試人員疲累的狀態下,測試人員會一時不察,而忽略少數未通過測試的驅動程式。In the current environment, to view this wtl file, you must use the Driver Test Manager Log Viewer (hereinafter referred to as DTM Log Viewer) provided by Microsoft. The DTM Log Viewer must be installed before use, and when it is used to open the contents of the test log file, the length of the test log file is relatively lengthy. The testers must check their contents one by one to check whether all the drivers have passed the test, which is extremely inconvenient in the inspection work. On the other hand, the above-mentioned viewing operation is very time consuming, and in the long-term work, the tester is likely to be in a state of fatigue. If the tester is tired, the tester will ignore it for a while and ignore a few drivers that have not passed the test.

有鑑於此,本發明提供一種測試記錄檔的檢視方法,在分別對測試記錄檔中的資訊設定對應的旗標值後,透過掃描相對應旗標值的方式來顯示測試記錄檔的內容。In view of this, the present invention provides a method for checking a test record file. After setting a corresponding flag value for the information in the test record file, the content of the test record file is displayed by scanning the corresponding flag value.

本發明提供一種電腦程式產品,可藉由將電腦程式載入電腦系統執行,以快速且有系統的顯示測試記錄檔的內容。The invention provides a computer program product which can be executed by loading a computer program into a computer system to quickly and systematically display the contents of the test record file.

本發明提出一種測試記錄檔的檢視方法,適於檢視包括多組測試資訊的測試記錄檔,其中各組測試資訊包括驅動程式資訊、至少一個檔案資訊與測試結果資訊,此檢視方法包括下列步驟。首先,根據資訊種類與測試結果種類 定義數個旗標值。接著,依據所對應的資訊種類與測試結果種類,設定各驅動程式資訊、各檔案資訊,以及各測試結果資訊所屬之旗標值。然後,取得檢視條件,其中檢視條件對應至少一個旗標值。最後,顯示被設定為對應檢視條件之旗標值的驅動程式資訊、檔案資訊,或測試結果資訊。The present invention provides a method for inspecting a test record file, which is suitable for viewing a test record file including a plurality of sets of test information, wherein each set of test information includes driver information, at least one file information and test result information, and the view method includes the following steps. First, depending on the type of information and the type of test results Define several flag values. Then, according to the type of information and the type of test results, the driver information, each file information, and the flag value of each test result information are set. Then, the viewing condition is obtained, wherein the viewing condition corresponds to at least one flag value. Finally, the driver information, file information, or test result information set to the flag value corresponding to the viewing condition is displayed.

在本發明之一實施例中,測試記錄檔的檢視方法更包括下列步驟:a.在測試記錄檔中搜尋特定標籤。b.取得特定標籤所對應的字串。c.在字串不符合由多個特定符號所組成的特定字串時,依照特定標籤在測試記錄檔中的排列順序,定義字串的資訊種類為驅動程式資訊、檔案資訊或測試結果資訊。d.重複執行此些步驟a.至步驟c.直到測試記錄檔中的所有特定標籤皆搜尋完畢為止。In an embodiment of the present invention, the method for inspecting the log file further includes the following steps: a. Searching for a specific tag in the test log file. b. Get the string corresponding to the specific tag. c. When the string does not conform to a specific string composed of a plurality of specific symbols, the information type of the defined string is driver information, file information or test result information according to the order in which the specific labels are arranged in the test record file. d. Repeat steps a. through c. until all the specific tags in the test log are searched.

在本發明之一實施例中,上述之根據資訊種類與測試結果種類定義多個旗標值的步驟包括下列步驟。排列組合資訊種類以及測試結果種類,以決定旗標值的數量並定義各旗標值的內容。In an embodiment of the invention, the step of defining a plurality of flag values according to the type of information and the type of test result includes the following steps. The combination information type and the type of test result are arranged to determine the number of flag values and define the contents of each flag value.

在本發明之一實施例中,上述之設定各驅動程式資訊、各檔案資訊,以及各測試結果資訊所屬之旗標值的步驟包括下列步驟。若資訊種類為驅動程式資訊,且對應之測試結果種類為通過時,設定為第一旗標值。若資訊種類為檔案資訊,且對應之測試結果種類為通過時,設定為第二旗標值。若資訊種類為測試結果資訊,且對應之測試結果種類為通過時,設定為第三旗標值。若資訊訊種類為驅動 程式資訊,且對應之測試結果種類為未通過時,設定為第四旗標值。若資訊種類為檔案資訊,且對應之測試結果種類為未通過時,設定為第五旗標值。若資訊種類為測試結果資訊,且對應之測試結果種類為未通過時,設定為第六旗標值。In an embodiment of the present invention, the step of setting each driver information, each file information, and a flag value to which each test result information belongs includes the following steps. If the information type is driver information and the corresponding test result type is passed, it is set to the first flag value. If the type of information is file information, and the corresponding test result type is passed, the second flag value is set. If the type of information is test result information, and the corresponding test result type is passed, set to the third flag value. If the information type is driven Program information, and the corresponding test result type is not passed, set to the fourth flag value. If the type of information is file information and the corresponding test result type is not passed, set to the fifth flag value. If the type of information is test result information, and the corresponding test result type is not passed, set to the sixth flag value.

在本發明之一實施例中,上述之檢視條件包括過濾正確之驅動程式資訊、顯示所有的驅動程式資訊、顯示檔案資訊明細節,以及不顯示檔案資訊明細節。In an embodiment of the invention, the viewing conditions include filtering the correct driver information, displaying all driver information, displaying the file information details, and not displaying the file information details.

在本發明之一實施例中,上述之取得檢視條件的步驟包括下列步驟。顯示包括第一核取方塊以及第二核取方塊的使用者介面。判斷第一核取方塊是否被勾選以決定檢視條件包括過濾正確之驅動程式資訊或顯示所有的驅動程式資訊。判斷第二核取方塊是否被勾選以決定檢視條件包括顯示檔案資訊明細節或不顯示檔案資訊明細節。In an embodiment of the invention, the step of obtaining the viewing condition comprises the following steps. A user interface including a first checkbox and a second checkbox is displayed. Determining whether the first checkbox is checked to determine the viewing conditions includes filtering the correct driver information or displaying all driver information. It is judged whether the second check box is checked to determine the viewing condition, including displaying the file information details or not displaying the file information details.

在本發明之一實施例中,上述之顯示被設定為對應檢視條件之旗標值的驅動程式資訊、檔案資訊,或測試結果資訊的步驟包括下列步驟。若檢視條件為顯示所有的驅動程式資訊以及不顯示檔案資訊明細節時,搜尋並顯示在測試記錄檔中被設定為第一旗標值、第三旗標值、第四旗標值及第六旗標值的所有資訊。In an embodiment of the invention, the step of displaying the driver information, the file information, or the test result information set to the flag value corresponding to the viewing condition includes the following steps. If the viewing condition is to display all driver information and not to display the details of the file information, the search and display are set to the first flag value, the third flag value, the fourth flag value, and the sixth in the test record file. All information about the flag value.

在本發明之一實施例中,上述之顯示被設定為對應檢視條件之旗標值的驅動程式資訊、檔案資訊,或測試結果資訊的步驟包括下列步驟。若檢視條件為顯示所有的驅動程式資訊以及顯示檔案資訊明細節時,搜尋並顯示在測試 記錄檔中被設定為第一旗標值、第二旗標值、第三旗標值、第四旗標值、第五旗標值及第六旗標值的所有資訊。In an embodiment of the invention, the step of displaying the driver information, the file information, or the test result information set to the flag value corresponding to the viewing condition includes the following steps. Search and display in the test if the viewing condition is to display all driver information and display the details of the file information. All information in the log file set to the first flag value, the second flag value, the third flag value, the fourth flag value, the fifth flag value, and the sixth flag value.

在本發明之一實施例中,上述之顯示被設定為對應檢視條件之旗標值的驅動程式資訊、檔案資訊,或測試結果資訊的步驟包括下列步驟。若檢視條件為過濾正確之驅動程式資訊以及不顯示檔案資訊明細節時,搜尋並顯示在測試記錄檔中被設定為第四旗標值及第六旗標值的所有資訊。.In an embodiment of the invention, the step of displaying the driver information, the file information, or the test result information set to the flag value corresponding to the viewing condition includes the following steps. If the viewing condition is to filter the correct driver information and not display the file information details, search and display all the information set in the test log file as the fourth flag value and the sixth flag value. .

在本發明之一實施例中,上述之顯示被設定為對應檢視條件之旗標值的驅動程式資訊、檔案資訊,或測試結果資訊的步驟包括下列步驟。若檢視條件為過濾正確之驅動程式資訊以及顯示檔案資訊明細節時,搜尋並顯示在測試記錄檔中被設定為第四旗標值及第五旗標值的所有資訊。In an embodiment of the invention, the step of displaying the driver information, the file information, or the test result information set to the flag value corresponding to the viewing condition includes the following steps. If the viewing condition is to filter the correct driver information and display the file information details, search and display all the information set in the test log file as the fourth flag value and the fifth flag value.

在本發明之一實施例中,上述之測試記錄檔符合視窗測試日誌(windows testloog, wtl)檔案格式。In an embodiment of the invention, the test record file described above conforms to a window test log (wtl) file format.

在本發明之一實施例中,上述之根據資訊種類與測試結果種類定義數個旗標值的步驟之前更包括對測試記錄檔進行標準的格式化。In an embodiment of the present invention, the step of defining a plurality of flag values according to the type of information and the type of test result includes standard formatting of the test record file.

本發明提出一種電腦程式產品,可經由電腦系統載入程式以執行下列步驟。首先,提供包括多組測試資訊的測試記錄檔,其中各組測試資訊包括驅動程式資訊、至少一個檔案資訊與測試結果資訊。接著,根據資訊種類與測試結果種類定義多個旗標值。並且,依據所對應的資訊種類與測試結果種類,設定各驅動程式資訊、各檔案資訊,以 及各測試結果資訊所屬之旗標值。然後,取得檢視條件,其中檢視條件對應至少一個旗標值。最後,顯示被設定為對應檢視條件之旗標值的驅動程式資訊、檔案資訊,或測試結果資訊。The present invention provides a computer program product that can be loaded via a computer system to perform the following steps. First, a test record file including a plurality of sets of test information is provided, wherein each set of test information includes driver information, at least one file information and test result information. Next, multiple flag values are defined according to the type of information and the type of test result. And, according to the type of information and the type of test results, each driver information and each file information are set to And the flag value of each test result information. Then, the viewing condition is obtained, wherein the viewing condition corresponds to at least one flag value. Finally, the driver information, file information, or test result information set to the flag value corresponding to the viewing condition is displayed.

本發明根據資訊種類與測試結果種類定義多個旗標值,再依據所對應的資訊種類與測試結果種類,設定測試記錄檔中各驅動程式資訊、檔案資訊及測試結果資訊所屬之旗標值。在透過使用者介面取得檢視條件之後,以搜尋檢視條件所對應之旗標值的方式,自測試記錄檔中取出適當的資訊。如此一來不但可以快速地完成搜尋動作,更能有系統地顯示使用者需要的資訊,進而提升檢視測試記錄檔的便利性。According to the invention, a plurality of flag values are defined according to the type of the information and the type of the test result, and according to the type of the information and the type of the test result, the flag values of the driver information, the file information and the test result information in the test record file are set. After obtaining the viewing condition through the user interface, the appropriate information is extracted from the test record file by searching for the flag value corresponding to the viewing condition. In this way, not only can the search action be completed quickly, but also the information required by the user can be displayed systematically, thereby improving the convenience of viewing the test record file.

為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式,作詳細說明如下。The above described features and advantages of the present invention will be more apparent from the following description.

有鑑於此,為了讓測試人員更簡便及快捷的檢視測試記錄檔,本發明提出一種檢視方法,而此方法可以透過電腦程式產品的形式來執行。為了使本發明之內容更為明瞭,以下特舉實施例作為本發明確實能夠據以實施的範例。In view of this, in order to enable the tester to view the test record file more easily and quickly, the present invention proposes a view method, which can be executed in the form of a computer program product. In order to clarify the content of the present invention, the following specific examples are given as examples in which the present invention can be implemented.

電腦系統業者為了確保產品的品質,在出貨前皆會對其產品進行測試,所產生的測試記錄檔則可用以提供測試人員檢視此電腦系統的功能正確與否。一般來說,測試軟體的種類繁多,所產生的測試記錄檔格式也不盡相同,然而以下 是以符合視窗測試日誌(windows test log, wtl)檔案格式的測試記錄檔來進行說明。圖1A為測試記錄檔片段的示意圖。請參照圖1A,測試記錄檔100具有相對應於各個驅動程式的多組測試資訊(例如測試資訊110),而在每組測試資訊中包括驅動程式資訊、至少一個檔案資訊,以及測試結果資訊。In order to ensure the quality of the products, computer system operators will test their products before shipment, and the generated test files can be used to provide testers with the correct function of the computer system. In general, there are many types of test software, and the format of the test record file generated is not the same, but the following It is described in the test log file conforming to the window test log (wtl) file format. Figure 1A is a schematic diagram of a test log file segment. Referring to FIG. 1A, the test log file 100 has a plurality of sets of test information (for example, test information 110) corresponding to each driver, and each set of test information includes driver information, at least one file information, and test result information.

圖2為依照本發明之一實施例所繪示之測試記錄檔之檢視方法的流程圖。請參照圖1A及圖3,如圖1A所示,每一組測試資訊皆為一個段落,以致無法清楚分辨測試資訊中的驅動程式資訊、檔案資訊,以及測試結果資訊。因此,首先在步驟S201中,會對測試記錄檔100進行標準的格式化,以依序對測試結果中的驅動程式資訊、檔案資訊、測試結果,以及其他的資訊進行換行的處理,其處理後會如圖1B所示。2 is a flow chart of a method for viewing a test record file according to an embodiment of the invention. Referring to FIG. 1A and FIG. 3, as shown in FIG. 1A, each group of test information is a paragraph, so that the driver information, the file information, and the test result information in the test information cannot be clearly distinguished. Therefore, first, in step S201, the test record file 100 is formatted in a standard manner, and the driver information, the file information, the test result, and other information in the test result are sequentially processed, and the process is processed. It will be as shown in Figure 1B.

圖1B為測試記錄檔片段的示意圖。請參照圖1B,在作換行處理過後,測試結果中的驅動程式資訊、檔案資訊,以及測試結果就會被明顯的區隔出來,以利後續的處理。以測試資訊110為例,測試資訊110包括段落101、段落102,以及段落103這三個部份。在段落101中,包含以多個「=」字元所組成的分隔線。在接下來的段落102中,主要記錄了驅動程式資訊以及其他與驅動程式測試結果無關的資訊。而在段落103中,包含檔案資訊及對應的測試結果資訊。由於驅動程式包括一個以上的檔案,故段落103會包含數個檔案資訊及對應的測試結果資訊。而接續在段 落103之後的便是另一組測試資訊。Figure 1B is a schematic diagram of a test log file segment. Referring to FIG. 1B, after the line feed processing, the driver information, file information, and test results in the test results are clearly separated to facilitate subsequent processing. Taking test information 110 as an example, test information 110 includes three parts, paragraph 101, paragraph 102, and paragraph 103. In paragraph 101, a dividing line consisting of a plurality of "=" characters is included. In the next paragraph 102, the driver information and other information not related to the driver test results are mainly recorded. In paragraph 103, the file information and the corresponding test result information are included. Since the driver includes more than one file, paragraph 103 will contain several file information and corresponding test result information. And continue in the segment After falling 103 is another set of test information.

如上所述可以發現,測試記錄檔中的驅動程式資訊、檔案資訊以及測試結果資訊會依照特定的排列順序來顯示。進一步來說,排列在分隔線後的是驅動程式資訊,而直到下一個分隔線之前的都是上述驅動程式資訊所對應的檔案資訊以及測試結果資訊。據此,爾後在需要檢視測試記錄檔而從中擷取需要的資訊時,便能夠依據特定的排列順序來判斷所取得的字串為驅動程式資訊、檔案資訊或測試結果資訊。As described above, it can be found that the driver information, the file information, and the test result information in the test log file are displayed in a specific arrangement order. Further, after the dividing line is the driver information, and until the next dividing line is the file information and test result information corresponding to the driver information. According to this, when the required information is extracted from the test record file, the obtained string can be judged as driver information, file information or test result information according to a specific arrangement order.

而以下實施例的說明將以檢視圖1B的測試記錄檔100為例來進行。請參照圖1B及圖2,由於在測試記錄檔100中亦會記錄許多與驅動程式測試結果無關的資訊(例如段落102中的「<rti id="489564857"/>」、「<ctx id="230571217"/>」),因此在進行檢視之前,將自測試記錄檔100中擷取出必要的資訊。所以在步驟S202中,會在測試記錄檔100中搜尋一特定標籤,此特定標籤例如為圖1B中的「UserText」。接著,步驟S203會取得特定標籤所對應的字串,亦即在「UserText」後位於引號「"」之間的字串。舉例來說,當搜尋到段落101中的「UserText」,會對應取得由「=」字元所組成的字串,而在搜尋到段落102中「UserText」時,則會對應取得「Checking Mobile Intel(R)45 Express Chipset Family」這個字串。The description of the following embodiment will be made by taking the test log file 100 of the inspection view 1B as an example. Referring to FIG. 1B and FIG. 2, a lot of information not related to the driver test result is also recorded in the test log file 100 (for example, "<rti id="489564857"/>" in paragraph 102, "<ctx id= "230571217"/>"), so the necessary information will be retrieved from the test log file 100 before being reviewed. Therefore, in step S202, a specific tag is searched for in the test log file 100, and the specific tag is, for example, "UserText" in FIG. 1B. Next, in step S203, the string corresponding to the specific tag is obtained, that is, the string between the quotation marks "" after "UserText". For example, when "UserText" in paragraph 101 is searched, a string consisting of "=" characters will be obtained, and when "UserText" in paragraph 102 is found, "Checking Mobile Intel" will be obtained. (R)45 Express Chipset Family" string.

接下來在執行步驟S204時,在所取得之字串不符合由數個特定符號所組成的特定字串時,依照特定標籤在測 試記錄檔中的排列順序,定義字串的資訊種類為驅動程式資訊、檔案資訊或測試結果資訊。在本實施例中,由於以「=」字元所組成的字串是用以區隔各組測試資訊的分隔線,並非檢視驅動程式的必要資訊,因此在此定義特定符號為字元「=」。而當取出的字串不是由字元「=」所組成的特定字串時,便會依照所對應之特定標籤在測試記錄檔100中的排列順序,定義字串的資訊種類。Next, when step S204 is performed, when the obtained string does not conform to a specific string composed of a plurality of specific symbols, the specific label is measured. The order of the records in the test record, and the information type of the defined string is driver information, file information or test result information. In this embodiment, since the string consisting of "=" characters is a separation line for separating the test information of each group, and is not necessary information for viewing the driver, the specific symbol is defined here as a character "= "." When the extracted string is not a specific string consisting of the character "=", the information type of the string is defined according to the order in which the corresponding specific label is arranged in the test record file 100.

依據圖1B所說明的排列順序,在取得由字元「=」所組成的字串之後,緊接著取得的下一個字串其資訊種類會被定義為驅動程式資訊。接著繼續搜尋特定標籤並取得數個字串,則可定義字串是屬於與驅動程式資訊相關的檔案資訊或測試結果資訊。一直到再度取得由字元「=」所組成的字串之前,便完成了在一組測試資訊中定義所取得之字串的資訊種類的動作。According to the arrangement sequence illustrated in FIG. 1B, after the string consisting of the character "=" is obtained, the information type of the next string obtained immediately is defined as the driver information. Then continue to search for a specific tag and obtain a number of strings, then the definition string is the file information or test result information related to the driver information. The action of defining the type of information of the obtained string in a set of test information is completed until the string consisting of the character "=" is obtained again.

舉例來說,在搜尋到段落101中的「UserText」並取得以「=」字元所組成的字串後,由於取得的字串與特定字串相符,因此在步驟S204中將不對此字串進行定義。然而,假設目前搜尋到的是段落102中的「UserText」,並對應取得字串「Checking Mobile Intel(R)45 Express Chipset Family」。首先,判斷此字串並非由字元「=」所組成的字串。接著,由於已確定段落101中的「UserText」係對應於特定字串,且段落102之「UserText」係排列在段落101之「UserText」之後的第一個特定標籤,因此字串「Checking Mobile Intel(R)45 Express Chipset Family」會被定義為驅動程 式資訊。同樣地,假設取得的是段落103之各「UserText」所對應的字串,也可以依照其排列順序來定義資訊種類(例如檔案資訊或測試結果資訊)。For example, after searching for the "UserText" in the paragraph 101 and obtaining the string consisting of the "=" character, since the obtained string matches the specific string, the string will not be used in step S204. Make a definition. However, it is assumed that the currently searched for "UserText" in paragraph 102 corresponds to the string "Checking Mobile Intel(R) 45 Express Chipset Family". First, it is judged that the string is not a string consisting of the character "=". Then, since it has been determined that the "UserText" in the paragraph 101 corresponds to a specific string, and the "UserText" of the paragraph 102 is arranged in the first specific label after the "UserText" of the paragraph 101, the string "Checking Mobile Intel" (R)45 Express Chipset Family" will be defined as the driver Information. Similarly, it is assumed that the string corresponding to each "UserText" of paragraph 103 is obtained, and the type of information (for example, file information or test result information) may be defined according to the order in which they are arranged.

在每次取得一字串並判斷是否要定義其資訊種類之後,接著都必須如步驟S205所示,判斷此測試記錄檔100中的所有特定標籤是否皆搜尋完畢。若判斷結果為「否」,則回到步驟S202,並重複執行步驟S202~S205直到所有的特定標籤均搜尋完畢為止。After each time a string is obtained and it is judged whether or not the information type is to be defined, it is necessary to determine whether all the specific tags in the test record file 100 have been searched as shown in step S205. If the result of the determination is "NO", the process returns to step S202, and steps S202 to S205 are repeatedly executed until all the specific tags are searched for.

反覆執行步驟S202~S205的作用在於過濾與檢查驅動程式結果無關的資訊。換言之,當測試記錄檔100中的所有特定標籤皆搜尋完畢時(亦即步驟S205的判斷結果為「是」時),在測試記錄檔100中所有和驅動程式有關的資訊將被擷取出來。在本實施例中,擷取出來的結果將暫存至記憶體中。而圖3為自測試記錄檔100中取得與檢視驅動程式測試結果相關之資訊的示意圖。The function of repeatedly performing steps S202 to S205 is to filter information that is not related to checking the driver result. In other words, when all the specific tags in the test log file 100 are searched for (that is, when the decision result in the step S205 is "YES"), all the information related to the driver in the test log file 100 will be extracted. In this embodiment, the result of the extraction is temporarily stored in the memory. FIG. 3 is a schematic diagram of obtaining information related to the test driver test result from the test record file 100.

請參照圖3,首先必須說明的是,圖3係簡潔的以對應的資訊種類來表示從測試記錄檔100中所取得的各個資訊。也就是說,圖3僅為了方便說明的簡化圖示,並非解析測試記錄檔100所產生的實際結果。如圖3所示,顯示在圖3中的所有資訊會依照其在測試記錄檔100中的特定順序來排列。亦即,在每一驅動程式資訊之後,會出現所對應的檔案資訊及其測試結果資訊。圖3中的各項資訊係由測試記錄檔100所擷取出來的字串(包括驅動程式名稱與類別、檔案名稱與位置等訊息),可以讓測試人員判讀 此驅動程式或所屬檔案是否產生錯誤。Referring to FIG. 3, it must first be noted that FIG. 3 is a simple representation of each piece of information obtained from the test record file 100 in a corresponding type of information. That is, FIG. 3 is merely a simplified illustration for convenience of explanation, and is not an actual result produced by analyzing the test log file 100. As shown in FIG. 3, all of the information shown in FIG. 3 will be arranged in a particular order in the test log file 100. That is, after each driver information, the corresponding file information and test result information will appear. The information in Figure 3 is the string taken from the test log file 100 (including the driver name and category, file name and location, etc.), which can be read by the tester. Whether this driver or its own file has an error.

接下來請回到圖2之步驟S205,在其判斷結果為「是」時,接著如步驟S206所示,對暫存在記憶體中的必要資訊設定對應的旗標值,以方便搜索及顯示所需的資訊。在本實施例中,已事先根據資訊種類與測試結果種類定義數種旗標值。舉例來說,對資訊種類以及測試結果種類進行排列組合,便能定旗標值的數量並定義各旗標值的內容。一般而言,測試結果種類可分為通過與未通過,在與測試紀錄檔100中的三種資訊種類(即驅動程式資訊、檔案資訊,以及測試結果資訊)進行排列組合之後,會產生六種不同的旗標值(第一旗標值、第二旗標值、第三旗標值、第四旗標值、第五旗標值及第六旗標值)。Next, please return to step S205 of FIG. 2, and when the determination result is "Yes", then, as shown in step S206, the corresponding flag value is set for the necessary information temporarily stored in the memory, so as to facilitate searching and displaying. Information needed. In the present embodiment, several kinds of flag values have been defined in advance based on the type of information and the type of test result. For example, by arranging and combining the types of information and the types of test results, the number of flag values can be determined and the contents of each flag value can be defined. In general, the types of test results can be divided into three types of information types (ie, driver information, file information, and test result information) in the test record file 100. Flag value (first flag value, second flag value, third flag value, fourth flag value, fifth flag value, and sixth flag value).

其中一種排列組合結果匯整如表1所示: The results of one of the permutations and combinations are shown in Table 1:

因此在本實施例中,步驟S206將根據表1的內容來替暫存在記憶體中的各驅動程式資訊、各檔案資訊,以及各測試結果資訊設定所屬之旗標值。請參照表1及圖3,以資訊310與330為例,其資訊種類屬於驅動程式資訊,且對應之測試結果種類為通過,因此將被設定為第一旗標 值(例如為旗標值「11」)。Therefore, in this embodiment, step S206 will set the flag value of each driver information, each file information, and each test result information temporarily stored in the memory according to the content of Table 1. Please refer to Table 1 and Figure 3, taking the information 310 and 330 as an example. The information type belongs to the driver information, and the corresponding test result type is passed, so it will be set as the first flag. Value (for example, the flag value "11").

若以資訊311、313、315、321、331及333為例,其資訊種類屬於檔案資訊,且對應之測試結果種類為通過,因此將被設定為第二旗標值(例如為旗標值「21」)。若以資訊312、314、316、322、332及334為例,其資訊種類屬於測試結果資訊,且對應之測試結果種類為通過,因此將被設定為第三旗標值(例如為旗標值「31」)。For example, if information 311, 313, 315, 321, 331 and 333 are used as the example, the information type belongs to the file information, and the corresponding test result type is passed, so it will be set as the second flag value (for example, the flag value " twenty one"). If the information 312, 314, 316, 322, 332 and 334 are taken as an example, the information type belongs to the test result information, and the corresponding test result type is passed, so it will be set as the third flag value (for example, the flag value) "31").

接著,以資訊320為例,其資訊種類屬於驅動程式資訊,且對應之測試結果種類為未通過(包括了對應不通過之測試結果資訊324、326的檔案資訊323、325),因此將被設定為第四旗標值(例如為旗標值「12」)。以資訊323及325為例,其資訊種類屬於檔案資訊,且對應之測試結果種類為未通過,因此將定義為第五旗標值(例如為旗標值「22」)。若以資訊324及326為例,其資訊種類為測試結果資訊,且對應之測試結果種類為未通過,因此將定義為第六旗標值(例如為旗標值「32」)。藉此可利用不同旗標值來區隔屬於不同測試結果的各種資訊。Then, taking the information 320 as an example, the information type belongs to the driver information, and the corresponding test result type is unpassed (including the file information 323, 325 corresponding to the test result information 324, 326 that does not pass), and thus will be set. It is the fourth flag value (for example, the flag value "12"). Taking information 323 and 325 as an example, the type of information belongs to the file information, and the corresponding test result type is unsuccessful, so it will be defined as the fifth flag value (for example, the flag value "22"). If information 324 and 326 are taken as an example, the information type is test result information, and the corresponding test result type is not passed, so it will be defined as the sixth flag value (for example, the flag value "32"). This allows different flag values to be used to separate various information belonging to different test results.

必需說明的是,上述所用之旗標值的內容是為了方便進行解說而定義的數值,而了解本技術之通常知識者,自然可據以加以更動。然只要能達到對不同測試結果種類且不同的資訊種類加以區隔的話,亦屬本發明實施例的範圍。It should be noted that the content of the flag value used above is a numerical value defined for convenience of explanation, and those who know the ordinary knowledge of the technology can naturally be modified accordingly. However, it is also within the scope of the embodiments of the present invention as long as the types of different test results and different types of information can be distinguished.

在設定完各個資訊的旗標值後,接著執行步驟S207來取得檢視條件。其中,檢視條件包括過濾正確之驅動程式資訊、顯示所有的驅動程式資訊、顯示檔案資訊明細及 不顯示檔案資訊明細這四種情況的組合。而不同的檢視條件會對應至少一個旗標值(此於稍後說明)。在本實施例中,係透過顯示一個包括第一核取方塊以及第二核取方塊的使用者介面來取得檢視條件。圖4為本實施例之使用者介面示意圖。請參照圖4,在本實施例中,使用者介面400包括顯示區401、第一核取方塊402及第二核取方塊403,其中顯示區401用以對應檢視條件來顯示上述驅動程式資訊、檔案資訊或測試結果資訊。其中,核取方塊402係對應過濾正確之驅動程式資訊與顯示所有的驅動程式資訊這兩種情況;核取方塊403則是對應顯示檔案資訊訊明細及不顯示檔案資訊明細這兩種情況。在核取方塊402與403旁顯示有提示文字以供測試人員選擇。然而,使用者介面400是作為解說之便,並不用以限制本發明的範圍。After the flag value of each piece of information is set, step S207 is next performed to obtain the viewing condition. Among them, the viewing conditions include filtering the correct driver information, displaying all driver information, displaying the file information details and The combination of the four cases of file information details is not displayed. Different viewing conditions correspond to at least one flag value (this will be explained later). In this embodiment, the viewing condition is obtained by displaying a user interface including the first core block and the second core block. 4 is a schematic diagram of a user interface of the embodiment. Referring to FIG. 4, in the embodiment, the user interface 400 includes a display area 401, a first check box 402, and a second check box 403. The display area 401 is configured to display the driver information corresponding to the viewing condition. File information or test result information. Among them, the check box 402 corresponds to the filtering of the correct driver information and the display of all the driver information; the check box 403 is corresponding to the display of the file information details and the display of the file information details. A prompt text is displayed next to the check boxes 402 and 403 for the tester to select. However, the user interface 400 is intended to be illustrative and is not intended to limit the scope of the invention.

在本實施例中,當核取方塊402被勾選,則檢視條件會包括過濾正確之驅動程式資訊;反之,若核取方塊402未被勾選,則檢視條件會包括顯示所有的驅動程式資訊。此外,若核取方塊403被勾選,則檢視條件會包括顯示檔案資訊明細;反之,若核取方塊403未被勾選,則檢視條件會包括不顯示檔案資訊明細。In this embodiment, when the check box 402 is checked, the viewing condition may include filtering the correct driver information; otherwise, if the check box 402 is not checked, the viewing condition may include displaying all driver information. . In addition, if the check box 403 is checked, the viewing condition may include displaying the file information details; otherwise, if the check box 403 is not checked, the viewing condition may include not displaying the file information details.

測試人員可以根據需求來勾選核取方塊402與403。而核取方塊402、403的勾選與否會對應至不同的檢視條件,因此顯示在顯示區401的結果也不相同。The tester can check the checkboxes 402 and 403 as needed. The check box of the check boxes 402, 403 will correspond to different viewing conditions, so the results displayed in the display area 401 are also different.

在透過使用者對使用者介面400的操作以取得檢視條件後,接著執行步驟S208以顯示被設定為對應檢視條件 之旗標值的驅動程式資訊、檔案資訊或測試結果資訊。在此一併解說上述各檢視條件所分別別對應的旗標值,以及搜尋檢視條件所對應之旗標值,並顯示相關資訊的結果:After the user accesses the user interface 400 to obtain the viewing condition, step S208 is next performed to display the setting as the corresponding viewing condition. Driver information, file information, or test result information. Here, the flag values corresponding to the respective viewing conditions and the flag values corresponding to the search viewing conditions are displayed together, and the results of the related information are displayed:

其一,若第一核取方塊202及第二核取方塊203皆未被勾選,表示檢視條件為顯示所有的驅動程式資訊以及不顯示檔案資訊明細。在本實施例中,這樣的檢視條件係對應於旗標值「11」、旗標值「31」、旗標值「12」及旗標值「32」,因此在步驟S208中,將在記憶體中搜尋被設定為旗標值「11」、旗標值「31」、旗標值「12」及旗標值「32」的所有資訊(即圖3之資訊310、312、314、316、320、322、324、326、330、332及334),並將上述資訊顯示於顯示區401。First, if the first checkbox 202 and the second checkbox 203 are not checked, the view condition is to display all driver information and not to display the file information details. In the present embodiment, such viewing conditions correspond to the flag value "11", the flag value "31", the flag value "12", and the flag value "32", so in step S208, it will be in memory. The body searches for all the information set to the flag value "11", the flag value "31", the flag value "12", and the flag value "32" (ie, the information 310, 312, 314, 316 of FIG. 3, 320, 322, 324, 326, 330, 332, and 334), and the above information is displayed on the display area 401.

其二,若第一核取方塊202未被勾選而第二核取方塊203被勾選,表示檢視條件為顯示所有的驅動程式資訊以及顯示檔案資訊訊明細,也就是顯示記憶體中的所有資訊。在本實施例中,這樣的檢視條件係對應於旗標值「11」、旗標值「21」、旗標值「31」、旗標值「12」、旗標值「22」及旗標值「32」。因此在步驟S208中,將搜尋被設定為旗標值「11」、旗標值「21」、旗標值「31」、旗標值「12」、旗標值「23」及旗標值「32」的所有資訊(即圖3之資訊310、311、312、313、314、315、316、320、321、322、323、324、325、326、330、331、332、333及334),並將上述資訊顯示於顯示區401。Second, if the first checkbox 202 is unchecked and the second checkbox 203 is checked, the view condition is to display all driver information and display the file information detail, that is, display all the contents in the memory. News. In this embodiment, such viewing conditions correspond to the flag value "11", the flag value "21", the flag value "31", the flag value "12", the flag value "22", and the flag. The value is "32". Therefore, in step S208, the search is set to the flag value "11", the flag value "21", the flag value "31", the flag value "12", the flag value "23", and the flag value " All the information of 32" (ie, information 310, 311, 312, 313, 314, 315, 316, 320, 321, 322, 323, 324, 325, 326, 330, 331, 332, 333 and 334 of Figure 3), The above information is displayed on the display area 401.

其三,若第一核取方塊202被勾選而第二核取方塊203 未被勾選,表示檢視條件為過濾正確之驅動程式資訊以及不顯示檔案資訊明細。在本實施例中,這樣的檢視條件係對應於旗標值「12」及旗標值「32」,因此在步驟S208中,將搜尋被設定為旗標值「12」及旗標值「32」的所有資訊(即圖3之資訊320、324及326),並將上述資訊顯示於顯示區401。據此,測試人員可以在顯示區401中檢視所有錯誤的驅動程式。Third, if the first core block 202 is checked and the second core block 203 Not checked, indicating that the viewing condition is to filter the correct driver information and not to display the file information details. In the present embodiment, such a viewing condition corresponds to the flag value "12" and the flag value "32", so in step S208, the search is set to the flag value "12" and the flag value "32". All the information (ie, information 320, 324, and 326 of FIG. 3) is displayed in the display area 401. Accordingly, the tester can view all the wrong drivers in the display area 401.

其四,若第一核取方塊202及第二核取方塊203皆被勾選,表示檢視條件為過濾正確之驅動程式資訊以及顯示檔案資訊明細。在本實施例中,這樣的檢視條件係對應於「12」及旗標值「22」,因此在步驟S208中,將搜尋被設定為「12」及旗標值「22」的所有資訊(即圖3之資訊320、323及325),並將上述資訊顯示於顯示區401。Fourth, if both the first core block 202 and the second core block 203 are checked, the viewing condition is to filter the correct driver information and display the file information details. In this embodiment, such viewing conditions correspond to "12" and the flag value "22", so in step S208, all information that is set to "12" and the flag value "22" is searched (ie, The information 320, 323 and 325) of FIG. 3, and the above information is displayed on the display area 401.

至此,測試人員可透過使用者介面400設定檢視條件,而在顯示區401中也僅會顯示符合檢視條件的資訊。藉此,測試人員可以輕鬆地從顯示區401中撿視需要的資訊,因而減少檢視測試記錄檔所需要的時間,同時提高檢視測試記錄檔的便利性,進而降低發生人為疏失的機率。At this point, the tester can set the viewing condition through the user interface 400, and only the information meeting the viewing condition is displayed in the display area 401. Thereby, the tester can easily despise the required information from the display area 401, thereby reducing the time required to view the test record file, and improving the convenience of viewing the test record file, thereby reducing the probability of human error.

除此之外,本發明亦提供一種電腦程式產品,其係用以執行上述的測試記錄檔的檢視方法,此電腦程式產品基本上是由多數個程式碼片段所組成的(例如建立組織圖程式碼片段、簽核表單程式碼片段、設定程式碼片段、以及部署程式碼片段),並且這些程式碼片段在載入電腦系統中並執行之後,即可完成上述測試記錄檔的檢視方法的 步驟。本發明實施例所提供之電腦程式產品不須進行安裝即可直接執行,並且可依據測試人員的設定來檢視測試記錄檔中的相應資訊,以讓測試人員快速且便利地檢視所需的資料,同時也可以避免安裝程式所造成的不便。In addition, the present invention also provides a computer program product for performing the above-mentioned test record file review method. The computer program product is basically composed of a plurality of code segments (for example, establishing an organization chart program). Code segment, signing form code segment, setting code segment, and deploying code segment), and after the code segment is loaded into the computer system and executed, the inspection method of the test record file can be completed. step. The computer program product provided by the embodiment of the present invention can be directly executed without installation, and the corresponding information in the test record file can be viewed according to the tester's setting, so that the tester can quickly and conveniently view the required data. It also avoids the inconvenience caused by the installation program.

綜上所述,本發明實施例之測試記錄檔的檢視方法及與使用此方法之電腦程式產品,會根據資訊種類與測試結果種類來定義多個旗標值,並依據所對應的資訊種類與測試結果種類,設定各驅動程式資訊、各檔案資訊及各測試結果資訊所屬之旗標值,而測試人員可透過使用者介面設定檢視條件,此檢視條件會對應至少一個旗標值,以顯示對應檢視條件之旗標值的驅動程式資訊、檔案資訊或測試結果資訊。藉此,測試人員可藉由設定檢視條件來查閱符合檢視條件的資訊,進而提升檢視測試記錄檔的便利性及減少人為疏失的發生。In summary, the method for inspecting the test record file of the embodiment of the present invention and the computer program product using the method define a plurality of flag values according to the type of the information and the type of the test result, and according to the type of information corresponding to The type of test results, setting the flag information of each driver information, each file information and each test result information, and the tester can set the viewing condition through the user interface, and the viewing condition corresponds to at least one flag value to display the corresponding View driver information, file information, or test result information for the flag value of the condition. In this way, the tester can check the information that meets the viewing conditions by setting the viewing conditions, thereby improving the convenience of viewing the test record file and reducing the occurrence of human error.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the invention, and any one of ordinary skill in the art can make some modifications and refinements without departing from the spirit and scope of the invention. The scope of the invention is defined by the scope of the appended claims.

100‧‧‧測試記錄檔100‧‧‧ test record file

110‧‧‧測試資訊110‧‧‧Test Information

101~103‧‧‧段落Paragraph 101~103‧‧‧

S201-S208‧‧‧本發明之一實施例所述之測試記錄檔之檢視方法的各步驟S201-S208‧‧‧ steps of a method for inspecting a test record file according to an embodiment of the present invention

310~316、320~326、330~334‧‧‧資訊310~316, 320~326, 330~334‧‧‧Information

400‧‧‧使用者介面400‧‧‧User interface

401‧‧‧顯示區401‧‧‧ display area

402、403‧‧‧核取方塊402, 403‧‧‧Checkbox

圖1A為依照本發明之一實施例所繪示之測試記錄檔片段的示意圖。FIG. 1A is a schematic diagram of a test record file segment according to an embodiment of the invention.

圖1B為依照本發明之一實施例所繪示之測試記錄檔 片段的示意圖。FIG. 1B is a test record file according to an embodiment of the invention. Schematic diagram of the fragment.

圖2為依照本發明之一實施例所繪示之測試記錄檔之檢視方法的流程圖。2 is a flow chart of a method for viewing a test record file according to an embodiment of the invention.

圖3為自測試記錄檔中取得與檢視驅動程式測試結果相關之資訊的示意圖。FIG. 3 is a schematic diagram of obtaining information related to the test driver test result from the test record file.

圖4為依照本發明之一實施例所繪示之使用者介面的示意圖。4 is a schematic diagram of a user interface according to an embodiment of the invention.

S201~S208‧‧‧本發明之一實施例所述之測試記錄檔之檢視方法的各步驟S201~S208‧‧‧ steps of the inspection method for the test record file according to an embodiment of the present invention

Claims (24)

一種測試記錄檔的檢視方法,適於檢視包括多組測試資訊的一測試記錄檔,其中各組測試資訊包括一驅動程式資訊、至少一檔案資訊與一測試結果資訊,該方法包括:根據一資訊種類與一測試結果種類定義多個旗標值;依據所對應的該資訊種類與該測試結果種類,設定各該些驅動程式資訊、各該些檔案資訊,以及各該些測試結果資訊所屬之該旗標值;取得一檢視條件,其中該檢視條件對應該些旗標值的至少其中之一;以及顯示被設定為對應該檢視條件之該些旗標值的該驅動程式資訊、該檔案資訊,或該測試結果資訊。 A test record file is adapted to view a test record file including a plurality of sets of test information, wherein each set of test information includes a driver program information, at least one file information and a test result information, and the method includes: Defining a plurality of flag values for the type of the test result and the type of the test result; setting the driver information, each of the file information, and the respective test result information according to the type of the information and the type of the test result a flag value; obtaining a viewing condition, wherein the viewing condition corresponds to at least one of the flag values; and displaying the driver information and the file information set to the flag values corresponding to the viewing condition, Or information about the test results. 如申請專利範圍第1項所述之測試記錄檔的檢視方法,更包括:a.在該測試記錄檔中搜尋一特定標籤;b.取得該特定標籤所對應的一字串;c.在該字串不符合由多個特定符號所組成的一特定字串時,依照該特定標籤在該測試記錄檔中的排列順序,定義該字串的該資訊種類為該驅動程式資訊、該檔案資訊或該測試結果資訊;以及d.重複執行該些步驟a.至步驟c.直到該測試記錄檔中的所有特定標籤皆搜尋完畢為止。 The method for inspecting the test record file described in claim 1 further includes: a. searching for a specific tag in the test record file; b. obtaining a string corresponding to the specific tag; c. When the string does not match a specific string composed of a plurality of specific symbols, the information type of the string is defined as the driver information, the file information, or the order of the specific label in the test record file. The test result information; and d. repeating the steps a. to c. until all the specific tags in the test record file are searched. 如申請專利範圍第1項所述之測試記錄檔的檢視方法,其中根據該資訊種類與該測試結果種類定義多個旗標 值的步驟包括:排列組合該資訊種類以及該測試結果種類,以決定該些旗標值的數量並定義各該些旗標值的內容。 The method for inspecting a test record file as described in claim 1, wherein a plurality of flags are defined according to the type of the information and the type of the test result The step of value includes: arranging the combination of the information category and the type of the test result to determine the number of the flag values and defining the content of each of the flag values. 如申請專利範圍第1項所述之測試記錄檔的檢視方法,其中設定各該些驅動程式資訊、各該些檔案資訊,以及各該些測試結果資訊所屬之該旗標值的步驟包括:若該資訊種類為該驅動程式資訊,且對應之該測試結果種類為通過時,設定為一第一旗標值;若該資訊種類為該檔案資訊,且對應之該測試結果種類為通過時,設定為一第二旗標值;若該資訊種類為該測試結果資訊,且對應之該測試結果種類為通過時,設定為一第三旗標值;若該資訊種類為該驅動程式資訊,且對應之該測試結果種類為未通過時,設定為一第四旗標值;若該資訊種類為該檔案資訊,且對應之該測試結果種類為未通過時,設定為一第五旗標值;以及若該資訊種類為該測試結果資訊,且對應之該測試結果種類為未通過時,設定為一第六旗標值。 For the inspection method of the test record file described in claim 1, wherein the steps of setting the driver information, each of the file information, and the flag value of each of the test result information include: The information type is the driver information, and when the type of the test result is passed, the first flag value is set; if the information type is the file information, and the corresponding test result type is passed, the setting is set. a second flag value; if the information type is the test result information, and the corresponding test result type is passed, set to a third flag value; if the information type is the driver information, and corresponding When the type of the test result is not passed, the value is set to a fourth flag value; if the information type is the file information, and the type of the test result is not passed, the value is set to a fifth flag value; If the information type is the test result information, and the corresponding test result type is not passed, it is set to a sixth flag value. 如申請專利範圍第4項所述之測試記錄檔的檢視方法,其中該檢視條件包括過濾正確之驅動程式資訊、顯示所有的驅動程式資訊、顯示檔案資訊明細,以及不顯示檔案資訊明細。 For the inspection method of the test record file described in claim 4, the inspection condition includes filtering the correct driver information, displaying all driver information, displaying the file information details, and not displaying the file information details. 如申請專利範圍第5項所述之測試記錄檔的檢視方法,其中取得該檢視條件的步驟包括: 顯示包括一第一核取方塊以及一第二核取方塊的一使用者介面;判斷該第一核取方塊是否被勾選以決定該檢視條件包括過濾正確之驅動程式資訊或顯示所有的驅動程式資訊;以及判斷該第二核取方塊是否被勾選以決定該檢視條件包括顯示檔案資訊明細或不顯示檔案資訊明細。 The method for inspecting a test record file as described in claim 5, wherein the step of obtaining the inspection condition comprises: Displaying a user interface including a first check box and a second check box; determining whether the first check box is checked to determine the view condition includes filtering the correct driver information or displaying all drivers Information; and determining whether the second checkbox is checked to determine whether the view condition includes displaying the file information detail or not displaying the file information detail. 如申請專利範圍第6項所述之測試記錄檔的檢視方法,其中顯示被設定為對應該檢視條件之該些旗標值的該驅動程式資訊、該檔案資訊,或該測試結果資訊的步驟包括:若該檢視條件為顯示所有的驅動程式資訊以及不顯示檔案資訊明細時,搜尋並顯示在該測試記錄檔中被設定為該第一旗標值、該第三旗標值、該第四旗標值及該第六旗標值的所有資訊。 The method for inspecting a test record file as described in claim 6 wherein the step of displaying the driver information, the file information, or the test result information set to the flag values corresponding to the viewing condition includes If the viewing condition is to display all driver information and not displaying the file information detail, the search and display is set in the test log file as the first flag value, the third flag value, and the fourth flag. All information about the value and the sixth flag value. 如申請專利範圍第6項所述之測試記錄檔的檢視方法,其中顯示被設定為對應該檢視條件之該些旗標值的該驅動程式資訊、該檔案資訊,或該測試結果資訊的步驟包括:若該檢視條件為顯示所有的驅動程式資訊以及顯示檔案資訊明細時,搜尋並顯示在該測試記錄檔中被設定為該第一旗標值、該第二旗標值、該第三旗標值、該第四旗標值、該第五旗標值及該第六旗標值的所有資訊。 The method for inspecting a test record file as described in claim 6 wherein the step of displaying the driver information, the file information, or the test result information set to the flag values corresponding to the viewing condition includes If the viewing condition is to display all the driver information and display the file information detail, the search and display is set in the test record file as the first flag value, the second flag value, and the third flag. All information of the value, the fourth flag value, the fifth flag value, and the sixth flag value. 如申請專利範圍第6項所述之測試記錄檔的檢視方 法,其中顯示被設定為對應該檢視條件之該些旗標值的該驅動程式資訊、該檔案資訊,或該測試結果資訊的步驟包括:若該檢視條件為過濾正確之驅動程式資訊以及不顯示檔案資訊明細時,搜尋並顯示在該測試記錄檔中被設定為該第四旗標值及該第六旗標值的所有資訊。 For example, the inspection record file of the test record mentioned in item 6 of the patent application scope The method for displaying the driver information, the file information, or the test result information set to the flag values corresponding to the viewing condition includes: if the viewing condition is filtering the correct driver information and not displaying When the file information is detailed, all information that is set to the fourth flag value and the sixth flag value in the test record file is searched for and displayed. 如申請專利範圍第6項所述之測試記錄檔的檢視方法,其中顯示被設定為對應該檢視條件之該些旗標值的該驅動程式資訊、該檔案資訊,或該測試結果資訊的步驟包括:若該檢視條件為過濾正確之驅動程式資訊以及顯示檔案資訊明細時,搜尋並顯示在該測試記錄檔中被設定為該第四旗標值及該第五旗標值的所有資訊。 The method for inspecting a test record file as described in claim 6 wherein the step of displaying the driver information, the file information, or the test result information set to the flag values corresponding to the viewing condition includes : If the viewing condition is to filter the correct driver information and display the file information detail, search and display all the information set in the test record file as the fourth flag value and the fifth flag value. 如申請專利範圍第1項所述之測試記錄檔的檢視方法,其中該測試記錄檔符合一視窗測試日誌(Windows Test Log,WTL)檔案格式。 The method for inspecting a test record file as described in claim 1, wherein the test record file conforms to a Windows Test Log (WTL) file format. 如申請專利範圍第1項所述之測試記錄檔的檢視方法,其中根據該資訊種類與該測試結果種類定義該些旗標值之前更包括:對該測試記錄檔進行標準的格式化。 The method for checking a test record file according to the first aspect of the patent application, wherein before the defining the flag values according to the type of the information and the type of the test result, the method further comprises: standard formatting the test record file. 一種電腦程式產品,經由一電腦系統載入,以執行下列步驟:提供包括多組測試資訊的一測試記錄檔,其中各組測試資訊包括一驅動程式資訊、至少一檔案資訊與一測試結 果資訊;根據一資訊種類與一測試結果種類定義多個旗標值;依據所對應的該資訊種類與該測試結果種類,設定各該些驅動程式資訊、各該些檔案資訊,以及各該些測試結果資訊所屬之該旗標值;取得一檢視條件,其中該檢視條件對應該些旗標值的至少其中之一;以及顯示被設定為對應該檢視條件之該些旗標值的該驅動程式資訊、該檔案資訊,或該測試結果資訊。 A computer program product loaded by a computer system to perform the following steps: providing a test record file including a plurality of sets of test information, wherein each set of test information includes a driver information, at least one file information, and a test knot Information; defining a plurality of flag values according to a type of information and a test result type; setting each of the driver information, each of the file information, and each of the information types according to the type of the information and the type of the test result The flag value to which the test result information belongs; obtaining a view condition, wherein the view condition corresponds to at least one of the flag values; and displaying the driver set to the flag values corresponding to the view condition Information, the file information, or information about the test results. 如申請專利範圍第13項所述之電腦程式產品,其中該程式更包括執行:a.在該測試記錄檔中搜尋一特定標籤;b.取得該特定標籤所對應的一字串;c.在該字串不符合由多個特定符號所組成的一特定字串時,依照該特定標籤在該測試記錄檔中的排列順序,定義該字串的該資訊種類為該驅動程式資訊、該檔案資訊或該測試結果資訊;以及d.重複執行該些步驟a.至步驟c.直到該測試記錄檔中的所有特定標籤皆搜尋完畢為止。 The computer program product of claim 13, wherein the program further comprises: a. searching for a specific tag in the test record file; b. obtaining a string corresponding to the specific tag; c. When the string does not match a specific string composed of a plurality of specific symbols, the information type of the string is defined as the driver information and the file information according to the order in which the specific label is arranged in the test record file. Or the test result information; and d. Repeat the steps a. to c. until all the specific tags in the test record are searched. 如申請專利範圍第13項所述之電腦程式產品,其中該程式在根據該資訊種類與該測試結果種類定義多個旗標值時,包括排列組合該資訊種類以及該測試結果種類,以決定該些旗標值的數量並定義各該些旗標值的內容。 The computer program product of claim 13, wherein the program defines a plurality of flag values according to the type of the information and the type of the test result, including arranging and combining the information type and the type of the test result to determine the The number of flag values and defines the content of each of these flag values. 如申請專利範圍第13項所述之電腦程式產品,其 中該程式在設定各該些驅動程式資訊、各該些檔案資訊,以及各該些測試結果資訊所屬之該旗標值時,包括若該資訊種類為該驅動程式資訊,且對應之該測試結果種類為通過時,設定為一第一旗標值,若該資訊種類為該檔案資訊,且對應之該測試結果種類為通過時,設定為一第二旗標值,若該資訊種類為該測試結果資訊,且對應之該測試結果種類為通過時,設定為一第三旗標值,若該資訊種類為該驅動程式資訊,且對應之該測試結果種類為未通過時,設定為一第四旗標值,若該資訊種類為該檔案資訊,且對應之該測試結果種類為未通過時,設定為一第五旗標值,以及若該資訊種類為該測試結果資訊,且對應之該測試結果種類為未通過時,設定為一第六旗標值。 A computer program product as described in claim 13 of the patent application, The program includes the information of the driver, each of the file information, and the flag value of each of the test result information, including if the information type is the driver information, and the test result is corresponding to the test result. When the type is passed, it is set to a first flag value. If the information type is the file information, and the corresponding test result type is passed, the second flag value is set, if the information type is the test The result information is set to a third flag value when the type of the test result is passed, and is set to a fourth if the information type is the driver information and the type of the test result is not passed. The flag value, if the information type is the file information, and the corresponding test result type is not passed, set to a fifth flag value, and if the information type is the test result information, and the corresponding test When the result type is not passed, it is set to a sixth flag value. 如申請專利範圍第16項所述之電腦程式產品,其中該檢視條件包括過濾正確之驅動程式資訊、顯示所有的驅動程式資訊、顯示檔案資訊明細節,以及不顯示檔案資訊明細節。 For example, the computer program product described in claim 16 includes the following conditions: filtering the correct driver information, displaying all driver information, displaying the details of the file information, and not displaying the details of the file information. 如申請專利範圍第17項所述之電腦程式產品,其中該程式在取得該檢視條件時,包括顯示包括一第一核取方塊以及一第二核取方塊的一使用者介面,判斷該第一核取方塊是否被勾選以決定該檢視條件包括過濾正確之驅動程式資訊或顯示所有的驅動程式資訊,以及判斷該第二核取方塊是否被勾選以決定該檢視條件包括顯示檔案資訊明細節或不顯示檔案資訊明細節。 The computer program product of claim 17, wherein the program, when the viewing condition is obtained, includes displaying a user interface including a first verification block and a second verification block, and determining the first Check whether the check box is checked to determine whether the view condition includes filtering the correct driver information or displaying all driver information, and determining whether the second check box is checked to determine the view condition including displaying the file information details. Or do not display the details of the file information. 如申請專利範圍第18項所述之電腦程式產品,其 中該程式在顯示被設定為對應該檢視條件之該些旗標值的該驅動程式資訊、該檔案資訊,或該測試結果資訊時,包括若該檢視條件為顯示所有的驅動程式資訊以及不顯示檔案資訊明細節時,搜尋並顯示在該測試記錄檔中被設定為為該第一旗標值、該第三旗標值、該第四旗標值及該第六旗標值的所有資訊。 A computer program product as described in claim 18, The program includes displaying the driver information, the file information, or the test result information corresponding to the flag values corresponding to the viewing condition, including if the viewing condition is to display all driver information and not displaying When the file information is detailed, all information that is set to be the first flag value, the third flag value, the fourth flag value, and the sixth flag value in the test record file is searched for and displayed. 如申請專利範圍第18項所述之電腦程式產品,其中該程式在顯示被設定為對應該檢視條件之該些旗標值的該驅動程式資訊、該檔案資訊,或該測試結果資訊時,包括若該檢視條件為顯示所有的驅動程式資訊以及顯示檔案資訊明細節時,搜尋並顯示在該測試記錄檔中被設定為該第一旗標值、該第二旗標值、該第三旗標值、該第四旗標值、該第五旗標值及該第六旗標值的所有資訊。 The computer program product of claim 18, wherein the program includes the driver information, the file information, or the test result information that is set to the flag values corresponding to the viewing condition, including If the viewing condition is to display all the driver information and display the file information details, the search and display is set in the test record file as the first flag value, the second flag value, and the third flag. All information of the value, the fourth flag value, the fifth flag value, and the sixth flag value. 如申請專利範圍第18項所述之電腦程式產品,其中該程式在顯示被設定為對應該檢視條件之該些旗標值的該驅動程式資訊、該檔案資訊,或該測試結果資訊時,包括若該檢視條件為過濾正確之驅動程式資訊以及不顯示檔案資訊明細節時,搜尋並顯示在該測試記錄檔中被設定為該第四旗標值及該第六旗標值的所有資訊。 The computer program product of claim 18, wherein the program includes the driver information, the file information, or the test result information that is set to the flag values corresponding to the viewing condition, including If the viewing condition is to filter the correct driver information and not display the file information details, search and display all the information set in the test log file as the fourth flag value and the sixth flag value. 如申請專利範圍第18項所述之電腦程式產品,其中該程式在顯示被設定為對應該檢視條件之該些旗標值的該驅動程式資訊、該檔案資訊,或該測試結果資訊時,包括若該檢視條件為過濾正確之驅動程式資訊以及顯示檔案資訊明細節時,搜尋並顯示在該測試記錄檔中被設定為該 第四旗標值及該第五旗標值的所有資訊。 The computer program product of claim 18, wherein the program includes the driver information, the file information, or the test result information that is set to the flag values corresponding to the viewing condition, including If the viewing condition is to filter the correct driver information and display the file information details, the search and display is set to be in the test log file. All information of the fourth flag value and the fifth flag value. 如申請專利範圍第13項所述之測試記錄檔的檢視方法,其中該測試記錄檔符合一視窗測試日誌檔案格式。 The method for inspecting a test record file as described in claim 13 wherein the test record file conforms to a window test log file format. 如申請專利範圍第13項所述之測試記錄檔的檢視方法,其中根據該資訊種類與該測試結果種類定義該些旗標值之前更包括:對該測試記錄檔進行標準的格式化。The method for checking a test record file according to claim 13 , wherein before the defining the flag values according to the type of the information and the type of the test result, the method further comprises: standard formatting the test record file.
TW97137597A 2008-09-30 2008-09-30 Method of viewing test log file and computer program product using the method TWI384362B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97137597A TWI384362B (en) 2008-09-30 2008-09-30 Method of viewing test log file and computer program product using the method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97137597A TWI384362B (en) 2008-09-30 2008-09-30 Method of viewing test log file and computer program product using the method

Publications (2)

Publication Number Publication Date
TW201013396A TW201013396A (en) 2010-04-01
TWI384362B true TWI384362B (en) 2013-02-01

Family

ID=44829320

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97137597A TWI384362B (en) 2008-09-30 2008-09-30 Method of viewing test log file and computer program product using the method

Country Status (1)

Country Link
TW (1) TWI384362B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201222301A (en) 2010-11-19 2012-06-01 Inventec Corp Methods for layout error detection

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW569232B (en) * 2001-05-16 2004-01-01 Motorola Inc Recording of result information in a built-in self-test circuit and method therefor
TWI228219B (en) * 2002-11-28 2005-02-21 Inventec Corp Method for recording test procedure
TWI229996B (en) * 2003-12-16 2005-03-21 Mitac Int Corp Operation system for accessing test function log file
US7116759B2 (en) * 2003-06-30 2006-10-03 Bellsouth Intellectual Property Corporation Method, system and computer program product for facilitating the analysis of automatic line insulation testing data
US7159157B2 (en) * 2001-06-20 2007-01-02 Infineon Technologies Ag Apparatus and method for testing a device for storing data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW569232B (en) * 2001-05-16 2004-01-01 Motorola Inc Recording of result information in a built-in self-test circuit and method therefor
US7159157B2 (en) * 2001-06-20 2007-01-02 Infineon Technologies Ag Apparatus and method for testing a device for storing data
TWI228219B (en) * 2002-11-28 2005-02-21 Inventec Corp Method for recording test procedure
US7116759B2 (en) * 2003-06-30 2006-10-03 Bellsouth Intellectual Property Corporation Method, system and computer program product for facilitating the analysis of automatic line insulation testing data
TWI229996B (en) * 2003-12-16 2005-03-21 Mitac Int Corp Operation system for accessing test function log file

Also Published As

Publication number Publication date
TW201013396A (en) 2010-04-01

Similar Documents

Publication Publication Date Title
US10169337B2 (en) Converting data into natural language form
US20140157239A1 (en) System and method for peer-based code quality analysis reporting
US9292410B2 (en) Using traceability links strength for software development integrity monitoring
JP5564448B2 (en) Software similarity evaluation method
JP2011503681A (en) Method and system for analysis of systems for matching data records
US20050229045A1 (en) Method and device for managing software error
TW200821875A (en) Device for producing database and device for supporting utilization of database
US20120185669A1 (en) Program inspection method and non-transitory, computer readable storage medium storing inspection program
JP2005222108A (en) Bug analysis method and device
US20080022263A1 (en) Identifying The Origin Of Application Resources
US7885985B2 (en) System and method for building a datastore for storing and retrieving regression testing data for a complex application
CN113342692A (en) Test case automatic generation method and device, electronic equipment and storage medium
TWI384362B (en) Method of viewing test log file and computer program product using the method
US6681347B1 (en) Method for testing keyboard complied with language code
US8645815B2 (en) GUI evaluation system, GUI evaluation method, and GUI evaluation program
Dautovic et al. Automated quality defect detection in software development documents
CN109543160B (en) Checking method, checking device, storage medium and processor for numerical value table
US20050235266A1 (en) System and method for business rule identification and classification
US10803366B2 (en) Method for extracting an output data set
JP6334803B1 (en) Laboratory test result editing device
KR20100115048A (en) System for distinguishing copy document and method therefor
JP2009199172A (en) Information processing system, method for specifying similar parts inside program, and program
JP2016212633A (en) Program test priority determination system
TWI819239B (en) Product substance inspection system and product substance inspection method
TWI598754B (en) Method,computer program and computer-readable recording medium for essay and reference analysis

Legal Events

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