JP2006268666A - Automatic test system with correction function, automatic test method, and program - Google Patents

Automatic test system with correction function, automatic test method, and program Download PDF

Info

Publication number
JP2006268666A
JP2006268666A JP2005088604A JP2005088604A JP2006268666A JP 2006268666 A JP2006268666 A JP 2006268666A JP 2005088604 A JP2005088604 A JP 2005088604A JP 2005088604 A JP2005088604 A JP 2005088604A JP 2006268666 A JP2006268666 A JP 2006268666A
Authority
JP
Japan
Prior art keywords
script
log
image
correction
test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2005088604A
Other languages
Japanese (ja)
Inventor
Atsushi Nishimura
敦 西村
Hidenori Sotozaki
秀教 外崎
Akira Shinosawa
明 篠澤
Yasuhiro Noma
康弘 野間
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2005088604A priority Critical patent/JP2006268666A/en
Publication of JP2006268666A publication Critical patent/JP2006268666A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To automatically correct a script by analyzing the action of an application in a test environment employing the script to be applied in the test process of software development for operating the application. <P>SOLUTION: The automatic test system includes a correction function. In an automatic test for a system including a GUI, the automatic test system for performing the automatic test preserves a result (log information) obtained by comparing timing to control the GUI with image information, and a correction tool analyzes the log information and corrects the script of the automatic test system to exclude errors during the test. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、アプリケーションを動作させるためのスクリプトを有する試験環境において、アプリケーションの挙動を分析してスクリプトを自動的に補正する技術に関する。   The present invention relates to a technique for analyzing a behavior of an application and automatically correcting the script in a test environment having a script for operating the application.

近年、ソフトウェア開発における試験作業は次第に自動化される傾向にある。試験の自動化は、試験工数を削減するだけではなく、試験操作や結果判断の正確性を向上させ、ソフトウエアの開発には欠かせない有効なツールとなっている。   In recent years, test work in software development has been increasingly automated. Test automation not only reduces test man-hours, but also improves the accuracy of test operations and results judgment, making it an effective tool indispensable for software development.

また、アプリケーションにおいては可視化が進み、GUI(Graphical User Interface)を用いたスタイルが多用されるようになってきている。   In addition, visualization has progressed in applications, and styles using a GUI (Graphical User Interface) have been frequently used.

こうした試験の自動化やGUIアプリケーションの多用に対して、GUIアプリケーションに関する試験を自動化する試みがなされている。例えば、予め用意しておいた画像情報と、実際に試験対象のアプリケーションを動作させたときの画像情報とを比較し、GUIアプリケーションの挙動の良否を判断するといった技術などが提案されている(特許文献1参照)。   Attempts to automate tests related to GUI applications have been made in response to such automation of tests and heavy use of GUI applications. For example, a technique has been proposed in which image information prepared in advance is compared with image information obtained when an application to be tested is actually operated to determine whether the behavior of the GUI application is good or not (patent) Reference 1).

しかしながら、従来の試験システムは、スクリプト内に設定してある画像比較タイミングが、GUIの実際の挙動と一致していないとき、試験を継続することができなくなり試験作業に支障が生じていた。その中断した試験システムを期待通りに動作させるため、スクリプトは人手で修正せざるを得ず、多くの工数を必要としていた。
特開平8−241191号公報
However, in the conventional test system, when the image comparison timing set in the script does not coincide with the actual behavior of the GUI, the test cannot be continued and the test work is hindered. In order to make the interrupted test system work as expected, the script had to be modified manually and required a lot of man-hours.
JP-A-8-241191

そこで、上記問題を解決するため、本発明の試験システムでは、GUIの様々な画像パターンを用意しておき、試験スクリプトを実行したときのGUIの挙動と画像パターンを比較し、結果をログ情報として記録しておき、そのログ情報を解析することによって、エラーログに対し試験スクリプトを自動補正する技術を提供する。   Therefore, in order to solve the above problem, in the test system of the present invention, various image patterns of the GUI are prepared, the behavior of the GUI when the test script is executed and the image pattern are compared, and the result is used as log information. A technique is provided for automatically correcting a test script for an error log by recording and analyzing the log information.

第一の発明は、グラフィカルユーザインタフェースシステムを試験するスクリプトの補正機能を持つ自動試験システムであって、前記システムの試験スクリプトを実行させることによって表示される実行画面と予め画像情報ファイルに登録された画像とを比較する結果・画像比較手段と、前記結果・画像比較手段における比較結果をログ情報ファイルとして出力するログ出力手段と、前記ログ情報ファイルを参照し、該ログ情報の中から画面不一致となったエラーログの実行タイミングを解析するログ解析手段と、前記ログ解析手段によって解析されたエラーログに対する補正値を特定し、該補正値にしたがって前記試験スクリプトを自動的に補正するスクリプト補正手段と、を有することを特徴とする自動試験システムに関する。   The first invention is an automatic test system having a function of correcting a script for testing a graphical user interface system, and is registered in advance in an image screen and an execution screen displayed by executing the test script of the system. Result / image comparison means for comparing images, log output means for outputting the result / comparison result in the image comparison means as a log information file, referring to the log information file, and screen mismatch from the log information Log analysis means for analyzing the execution timing of the error log, and script correction means for specifying a correction value for the error log analyzed by the log analysis means and automatically correcting the test script according to the correction value; The present invention relates to an automatic test system.

すなわち、第一の発明によれば、結果・画像比較手段が、GUIの試験スクリプトを実行させて得られたGUIシステムの実画面と予め登録された画像を比較し、ログ出力手段が、その比較結果をログ情報ファイルとして出力し、ログ解析手段が、ログ情報ファイルからエラーログを検出して、どのタイミングで画面不一致が発生していたのかを解析し、スクリプト補正手段が、解析結果に基づいてエラーログに対する試験スクリプトの補正を行うことで、エラーが自動的に排除され、ソフトウェア開発の試験者がエラー内容を意識することなく、試験スクリプトに期待通りの動作を実現させることが可能となる。   That is, according to the first invention, the result / image comparison unit compares the actual screen of the GUI system obtained by executing the GUI test script with the pre-registered image, and the log output unit compares the comparison result. The result is output as a log information file, and the log analysis means detects the error log from the log information file, analyzes when the screen mismatch occurred, and the script correction means based on the analysis result By correcting the test script with respect to the error log, the error is automatically eliminated, and the test operation can be realized as expected without the software development tester being aware of the error content.

これによって、従来煩雑となっていたソフトの試験作業を円滑に進めることが可能となり、また、試験スクリプトの保守が容易となる。   This makes it possible to smoothly carry out software testing work that has been complicated in the past, and facilitates maintenance of test scripts.

第二の発明は、前記スクリプト補正手段の補正値は、前記システムの実行画面と前記画像ファイルに登録された画像とを比較する際の画面切替の比較周期、あるいは比較回数として設定されることを特徴とする上記第一の発明に記載の自動試験システムに関する。   According to a second aspect of the present invention, the correction value of the script correction means is set as a comparison period of screen switching when comparing the execution screen of the system and an image registered in the image file, or the number of comparisons. The present invention relates to the automatic test system according to the first invention.

すなわち、第二の発明によれば、スクリプト補正部は、切替画面の比較補正値として、100ms、50ms、10msといった比較周期情報、あるいは、10回、20回、30回などの比較回数情報を定義しておくことによって、試験者が意図する情報で試験スクリプトを実行させることができ、無駄な試験をすることがなくなり、試験の作業効率を向上させるものとなる。   That is, according to the second invention, the script correction unit defines comparison period information such as 100 ms, 50 ms, and 10 ms, or comparison number information such as 10, 20, and 30 times as the comparison correction value of the switching screen. By doing so, the test script can be executed with the information intended by the tester, and a useless test is not performed, and the work efficiency of the test is improved.

第三の発明は、前記スクリプト補正手段は、予めユーザが定義した補正値をユーザ定義ファイル、あるいは過去の補正値による判定結果を蓄積した統計データファイルを参照してエラーを修正する補正値を決定することを特徴とする上記第一または第三の発明に記載の自動試験システムに関する。   According to a third aspect of the present invention, the script correction means determines a correction value for correcting an error with reference to a user-defined file or a statistical data file in which determination results based on past correction values are stored. The present invention relates to an automatic test system according to the first or third invention.

すなわち、第三の発明によれば、スクリプト補正手段は、ユーザが予め定義した補正値、あるいは過去に補正値を適用した場合の成否の結果を基にした統計データによる補正値を採用するかの選択肢が広がり、より適正な試験の実行を可能とする。   That is, according to the third aspect, the script correction means adopts a correction value defined in advance by the user or a correction value based on statistical data based on the result of success or failure when the correction value is applied in the past. A wide range of options will enable more appropriate test execution.

本発明によれば、ログ解析手段が、ログ情報ファイルからエラーログを検出して、どのタイミングで画面不一致が発生していたのかを解析し、スクリプト補正手段が、解析結果に基づいてエラーログに対する試験スクリプトの補正を行うことによって、エラーが自動的に排除され、ソフトウェア開発の試験者がエラー内容を意識することなく、試験スクリプトに期待通りの動作を実現させることが可能となる。これによって、従来煩雑となっていたソフトの試験作業を円滑に進めることが可能となり、試験スクリプトの保守が容易となる。   According to the present invention, the log analysis unit detects the error log from the log information file, analyzes the timing at which the screen mismatch occurred, and the script correction unit applies the error log to the error log based on the analysis result. By correcting the test script, errors are automatically eliminated, and it becomes possible for the software development tester to realize the expected operation of the test script without being aware of the error content. This makes it possible to smoothly proceed with the software testing work that has been complicated in the past, and facilitates maintenance of the test script.

また、試験者が、GUI試験スクリプトの予め比較周期、および比較回数を定義しておくことによって、試験者が意図する情報で試験スクリプトを実行させることができ、無駄な試験をすることがなくなり、試験の作業効率を向上させるものとなる。   In addition, by defining the comparison cycle and the number of comparisons in advance for the GUI test script by the tester, the test script can be executed with the information intended by the tester, and there is no need to perform a useless test. The work efficiency of the test will be improved.

さらに、過去に補正値を適用した場合の成否の結果を基にした統計データによる補正値を選択肢として加えることによって、より適正な試験の実行を可能とする。   Furthermore, by adding a correction value based on statistical data based on the result of success or failure when a correction value has been applied in the past as an option, a more appropriate test can be executed.

以下、図面にもとづいて本発明の実施形態を説明する。
図1は、本発明の実施の形態になる補正機能を備えたGUI自動試験システムの基本構成を示す。本発明のシステムは、自動試験システム1と、その試験評価の対象となる各種イベントによって画面が切り替わるGUIシステム2とで構成される。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 shows a basic configuration of a GUI automatic test system having a correction function according to an embodiment of the present invention. The system of the present invention includes an automatic test system 1 and a GUI system 2 in which the screen is switched depending on various events to be subjected to the test evaluation.

自動試験システム1は、自動試験システム全体を制御する自動試験制御部11、GUIシステム2を動作させるための試験スクリプトファイル100(サンプルデータ1−図2)と、GUI実行部12がGUIシステム2を試験スクリプトによって動作させた結果、表示される画面13と予め用意された画面情報ファイル200の画像情報とを比較する結果・画像比較部14、その比較結果をログ情報ファイル300(サンプルデータ2−図3)として出力するログ出力部15、ログ情報ファイル200のログ内容を解析し、どの手順で画像比較タイミングの不一致が発生していたかを解析するログ解析部16、および的確な補正値をスクリプトへ反映する(サンプルデータ3−図4)スクリプト補正部17で構成される。   The automatic test system 1 includes an automatic test control unit 11 that controls the entire automatic test system, a test script file 100 (sample data 1-FIG. 2) for operating the GUI system 2, and a GUI execution unit 12 that controls the GUI system 2. As a result of the operation by the test script, a result / image comparison unit 14 for comparing the displayed screen 13 with the image information of the screen information file 200 prepared in advance, and the comparison result are shown in the log information file 300 (sample data 2-diagram 3), the log output unit 15 that outputs the log information file 200, the log analysis unit 16 that analyzes the log contents of the log information file 200 and analyzes which procedure caused the image comparison timing mismatch, and the correct correction value to the script Reflected (sample data 3-FIG. 4) is composed of a script correction unit 17.

上記したサンプルデータ1、サンプルデータ2、およびサンプルデータ3は、それぞれ図2、図3、および図4に示す。   Sample data 1, sample data 2, and sample data 3 described above are shown in FIGS. 2, 3, and 4, respectively.

図2は、本発明の実施の形態になるGUIアプリケーションの試験スクリプト例( サンプルデータ1: 補正前) を示す。試験スクリプトは、GUIを動作させるためのシナリオが書かれたスクリプトファイルで、補正機能を持つ自動試験装置1によって実行され、その実行の結果、表示される実画像が予めの登録画面と不一致となったときに、スクリプトの比較周期あるいは比較回数の値が補正される。   FIG. 2 shows a test script example (sample data 1: before correction) of the GUI application according to the embodiment of the present invention. The test script is a script file in which a scenario for operating the GUI is written, and is executed by the automatic test apparatus 1 having a correction function. As a result of the execution, the displayed actual image does not match the pre-registered screen. When this occurs, the value of the script comparison period or the number of comparisons is corrected.

なお、試験スクリプトを実行させた結果、表示される実画面と比較する画像情報は、GUIシステムに表示される画像と同一の画像をイメージファイルとして格納したもので、試験者によって予め用意される。   The image information to be compared with the actual screen displayed as a result of executing the test script is the same image as the image displayed on the GUI system stored as an image file, and is prepared in advance by the tester.

実施例では、携帯電話に内蔵されたGUIアプリケーションがうまく動作しているかを試験するスクリプトを示しており、携帯電話の「モード設定」において、実画像の切替を確認する例を取り上げている。   In the embodiment, a script for testing whether the GUI application built in the mobile phone is operating well is shown, and an example of checking the switching of the actual image in the “mode setting” of the mobile phone is taken up.

スクリプトの各行のコマンドは、まず、携帯電話における各設定キーのテストを実行し、(a)行において、シナリオos−01の画像os−01−3.imgの繰り返し試験を500msの周期で20回実行することを意味している。   The command in each line of the script first executes a test of each setting key in the mobile phone, and in line (a), the image os-01-3. This means that the img repetition test is executed 20 times with a cycle of 500 ms.

図3は、本発明の実施の形態になるGUIアプリケーションの試験スクリプト実行結果のログ内容( サンプルデータ2)を示す。サンプルデータ2は、ログ情報ファイル300としてログ出力部15によって出力されたサンプルデータ1の試験スクリプトを実行した結果、表示された実画面の判定結果のログ内容が、日時、試験内容、試験対象、および判定結果の情報として記されている。例では、(b)行において、画像の繰り返し試験がエラーとなり、「受信失敗」の判定が記されている。   FIG. 3 shows log contents (sample data 2) of the test script execution result of the GUI application according to the embodiment of the present invention. The sample data 2 is obtained by executing the test script of the sample data 1 output by the log output unit 15 as the log information file 300. As a result, the log content of the determination result of the displayed real screen is the date, test content, test target, And information on determination results. In the example, in line (b), the image repeat test results in an error, and the determination of “reception failure” is written.

図4は、本発明の実施の形態になるGUIアプリケーションの試験スクリプト例( サンプルデータ3: 補正後) を示す。サンプルデータ3は、ログ解析部16でエラーが解析され、スクリプト補正部17において、補正値を特定した上で、その特定した補正値をスクリプトに反映させた例を示している。   FIG. 4 shows a test script example (sample data 3: after correction) of the GUI application according to the embodiment of the present invention. The sample data 3 shows an example in which an error is analyzed by the log analysis unit 16, the correction value is specified by the script correction unit 17, and the specified correction value is reflected in the script.

実施例では、(a)行において、比較周期が400ms、比較回数が25回に、スクリプトが補正された場合を示している。   In the embodiment, in the row (a), the script is corrected so that the comparison period is 400 ms and the number of comparisons is 25.

図5は、本発明の実施の形態になる自動試験システムの補正処理の構成を示す。
自動試験システム1の補正処理する本構成図は、比較周期を補正する場合を想定したスクリプト補正部17の処理構成を示したものである。
FIG. 5 shows the configuration of the correction processing of the automatic test system according to the embodiment of the present invention.
This block diagram of correction processing of the automatic test system 1 shows the processing configuration of the script correction unit 17 assuming that the comparison period is corrected.

補正処理の構成は、ユーザ定義または過去の統計データによる補正値を選択する補正手段特定部21、ユーザ定義による補正値を特定するユーザ定義補正値特定部22、補正値の上限を判断する補正値上限判定部23、ユーザ定義による上限値を特定するユーザ定義上限値特定部24、過去の補正による判断データを統計データDB(データベース)400に蓄積する統計データ蓄積部25、統計データファイル400を参照して統計データ補正値特定部26、および統計データファイル400を参照して上限値を特定する統計データ上限値特定部27とからなる。   The configuration of the correction process includes a correction means specifying unit 21 that selects a correction value based on user-defined or past statistical data, a user-defined correction value specifying unit 22 that specifies a correction value based on the user definition, and a correction value that determines the upper limit of the correction value See upper limit determination unit 23, user-defined upper limit value specifying unit 24 that specifies an upper limit value defined by the user, statistical data storage unit 25 that stores determination data based on past corrections in statistical data DB (database) 400, and statistical data file 400. The statistical data correction value specifying unit 26 and the statistical data upper limit specifying unit 27 for specifying the upper limit with reference to the statistical data file 400 are included.

図中の(ア)は、試験スクリプトに適用するユーザ定義補正値あり、例えば、10ms〜100msの比較周期の値と10回〜20回の比較回数が設定されていることを示す。   (A) in the figure is a user-defined correction value applied to the test script, and indicates that, for example, a comparison period value of 10 ms to 100 ms and a comparison count of 10 to 20 are set.

また、(イ)は、ユーザ定義補正値アの数値範囲から比較周期の上限値を10ms、比較回数の上限値を30回が設定された例を示している。   (A) shows an example in which the upper limit value of the comparison period is set to 10 ms and the upper limit value of the number of comparisons is set to 30 from the numerical range of the user-defined correction value a.

図6は、本発明の実施の形態になる自動試験システムにおけるエラー判定処理の構成を示す。本図は、ログの解析により試験項目やシステムのリトライを実施したり、エラー発生時の情報を通知したりするための手段について、具体的に実施する構成を示している。   FIG. 6 shows a configuration of error determination processing in the automatic test system according to the embodiment of the present invention. This figure shows a configuration for concretely implementing means for performing a retry of a test item or system by analyzing a log or notifying information when an error occurs.

ログの解析を行うログ解析部16は、エラーが発生した場合に補正限界内( 比較周期、比較回数の調整余地がある場合) か、補正限界超過( 比較周期、比較回数の上限値超過した場合)なのかを解析するエラー判定部20、補正限界超過時に情報を試験者へ通知する通信制御部30、その際にシステムやOS(Operating System)の再起動を実施する再起動制御部40、および再起動時に補正限界超過となった試験項目の次の項目から試験を実施するシナリオ起動制御部50とで構成される。   The log analysis unit 16 that performs log analysis is within the correction limit when there is an error (when there is room for adjustment of the comparison period and number of comparisons), or when the correction limit is exceeded (when the upper limit of the comparison period and number of comparisons is exceeded) An error determination unit 20 that analyzes whether or not the correction limit is exceeded, a communication control unit 30 that notifies the tester of information when the correction limit is exceeded, a restart control unit 40 that restarts the system and OS (Operating System) at that time, and The scenario activation control unit 50 performs a test from the next item of the test item that has exceeded the correction limit at the time of restart.

また、通信制御部30は、エラーメッセージをメール送信するメール送信部31、およびエラーメッセージを表示する表示部32とで構成される。   The communication control unit 30 includes a mail transmission unit 31 that transmits an error message by mail and a display unit 32 that displays the error message.

さらに、再起動制御部40は、試験スクリプト、GUIシステム2、およびパソコンの再起動を制御する試験スクリプト再実行制御部41、GUIシステム再起動制御部42、およびPC再起動制御部43で構成される。   Further, the restart control unit 40 includes a test script, a GUI system 2, a test script re-execution control unit 41 that controls restart of the personal computer, a GUI system restart control unit 42, and a PC restart control unit 43. The

ここで、本発明になる試験スクリプトの補正機能を持つ自動試験システム1の原理を説明する。GUI試験スクリプトで表示される実画像と登録画像の比較判定結果から以下の3つのケースにて以下の補正が想定される。
ケース1(確認OKの場合):自動試験システム1が正常に動作したときの例で、試験スクリプトに問題はないため試験スクリプトの補正は特に行わない。
ケース2(比較周期が長いことによる確認NGの場合):ログ情報ファイル300のログ内容をもとに比較周期が長いことによる失敗と判断した場合に相当し、スクリプト補正部17は、比較周期を段階的に短縮することによって、比較周期の適正値を求める。
ケース3(比較回数が少ないことによる確認NGの場合):ログ情報ファイル300のログ内容をもとに比較回数が少ないことによる失敗と判断した場合に相当し、スクリプト補正部17は、比較回数を段階的に増加させることによって、比較回数の適正値を求める。
Here, the principle of the automatic test system 1 having the test script correction function according to the present invention will be described. The following corrections are assumed in the following three cases based on the comparison determination result between the actual image and the registered image displayed in the GUI test script.
Case 1 (in the case of confirmation OK): This is an example when the automatic test system 1 operates normally. There is no problem with the test script, so no correction of the test script is performed.
Case 2 (in the case of confirmation NG due to a long comparison cycle): Corresponding to the case where it is determined that the comparison cycle is long based on the log contents of the log information file 300, and the script correction unit 17 sets the comparison cycle to The appropriate value of the comparison period is obtained by shortening in stages.
Case 3 (confirmation NG due to a small number of comparisons): Corresponding to a case where it is determined that a failure has occurred due to a small number of comparisons based on the log contents of the log information file 300, and the script correction unit 17 sets the number of comparisons By increasing in a stepwise manner, an appropriate value for the number of comparisons is obtained.

さらに、試験スクリプトおよびその補正手順について説明する。
<試験スクリプト>
GUIを動作させるためのシナリオが書かれたスクリプトファイルであり、試験の目的によって試験者が自由に作成、変更が可能である。自動試験装置1の自動試験制御部11によって実行され、ログ解析部16によって解析された結果にしたがって、スクリプト補正部17によって補正される。以下に、試験スクリプトの例を説明する。
Furthermore, a test script and its correction procedure will be described.
<Test script>
A script file in which a scenario for operating a GUI is written, and can be freely created and changed by a tester depending on the purpose of the test. It is executed by the automatic test control unit 11 of the automatic test apparatus 1 and corrected by the script correction unit 17 in accordance with the result analyzed by the log analysis unit 16. An example of a test script will be described below.

//モード設定時の動作を確認
//スクリプトの操作によって画像a が画像b、画像cと遷移することを確認
replywait wait 100 retry 10 b.img
//画像bと実際のGUI画像を100ms 周期、10回で比較
key # press 4000 count 1
//「#」キーを4000ms間、1回押下
loop end
//画像比較処理終了
replywait wait 100 retry 10 c.img
//画像cと実際のGUI画像を100ms周期にて10回比較
key # press 4000 count 1 wait 1000
//1000ms間待つ。
loop end
//画像比較処理終了
上記に適用される画像情報は、試験スクリプトを実行したときにGUIシステムに表示される画像をイメージファイルで、試験者によってが予め用意されるものである。
// Check the operation when setting the mode
// Confirm that image a transitions to image b and image c by script operation
replywait wait 100 retry 10 b.img
// Compare image b and actual GUI image in 100ms cycle, 10 times
key # press 4000 count 1
// Press “#” key once for 4000ms
loop end
// End image comparison process
replywait wait 100 retry 10 c.img
// Compare image c and actual GUI image 10 times in 100ms cycle
key # press 4000 count 1 wait 1000
// Wait for 1000ms.
loop end
// End of image comparison processing The image information applied above is an image file that is displayed in the GUI system when the test script is executed, and is prepared in advance by the tester.

<スクリプト補正手順(周期補正のケース)>
□補正前の試験スクリプト
replywait wait 100 retry 10 b.img (→比較周期をXとする)
key # press 4000 count 1
loop end
replywait wait 100 retry 10 c.img
key # press 4000 count 1 wait 1000
loop end
□ユーザ定義補正値
補正手段 一定時間
比較周期情報(一定時間) 10(ms)(→定義値をYとする)
比較周期情報(一定割合) 10%

上記の条件における補正手順を以下に示す。
(1)試験スクリプトから画像比較周期Xを取得
X=100(ms)
(2)ユーザ定義補正値に「一定時間」と定義されているためユーザ定義補正値から比較 周期情報(一定時間)の値Yを取得
Y=10(ms)
(3)次式により補正値Zを算出
一定時間:X−Y=Z
一定割合:X*Y/100=Z
(4)ユーザ定義補正値に「一定時間」と定義されているため(3)の一定時間の算出式 を使用
Z=100(ms)−10(ms)=90(ms)
(5)Zを試験スクリプトへ反映
replywait wait 90 retry 10 b.img
<スクリプト補正手順(回数補正のケース)>
□補正前の試験スクリプト
replywait wait 100 retry 10 b.img (→比較回数をXとする)
key # press 4000 count 1
loop end
replywait wait 100 retry 10 c.img
key # press 4000 count 1 wait 1000
loop end
□ユーザ定義補正値
補正手段: 一定割合
比較回数情報(一定時間): 20回
比較回数情報(一定割合) 200% (→定義値をYとする)

上記の条件における補正手順を以下に示す。
(1)試験スクリプトから画像比較回数Xを取得
X=10(回)
(2)ユーザ定義補正値に「一定割合」と定義されているためユーザ定義補正値から比 較回数情報(一定割合)の値Yを取得
Y=200(%)
(3)次式により補正値Zを算出
一定時間:X+Y=C
一定割合:X*Y/100=Z
(4)ユーザ定義補正値に「一定割合」と定義されているため一定割合の算出式を使用
Z=10(回)*200(%)/100=20(回)
(5)Zを試験スクリプトへ反映
replywait wait 100 retry 20 b.img

つぎに、図7〜図20を用いて、補正機能を持つ自動試験装置1の動作フローについて説明する。
<Script correction procedure (period correction case)>
□ Test script before correction
replywait wait 100 retry 10 b.img (→ Let X be the comparison cycle)
key # press 4000 count 1
loop end
replywait wait 100 retry 10 c.img
key # press 4000 count 1 wait 1000
loop end
□ User-defined correction value Correction means Fixed time Comparison period information (fixed time) 10 (ms) (→ Define value as Y)
Comparison period information (fixed rate) 10%

The correction procedure under the above conditions is shown below.
(1) Obtain image comparison period X from test script X = 100 (ms)
(2) Since the user-defined correction value is defined as “fixed time”, the value Y of the comparison cycle information (fixed time) is acquired from the user-defined correction value. Y = 10 (ms)
(3) Calculate the correction value Z by the following formula
Fixed time: XY = Z
Constant ratio: X * Y / 100 = Z
(4) Since the user-defined correction value is defined as “fixed time”, the calculation formula for fixed time in (3) is used. Z = 100 (ms) −10 (ms) = 90 (ms)
(5) Reflect Z in the test script
replywait wait 90 retry 10 b.img
<Script correction procedure (number correction case)>
□ Test script before correction
replywait wait 100 retry 10 b.img (→ X is the number of comparisons)
key # press 4000 count 1
loop end
replywait wait 100 retry 10 c.img
key # press 4000 count 1 wait 1000
loop end
□ User-defined correction value correction means: constant ratio comparison number information (constant time): 20 times comparison number information (constant ratio) 200% (→ define value as Y)

The correction procedure under the above conditions is shown below.
(1) Obtain image comparison count X from test script
X = 10 (times)
(2) Since the user-defined correction value is defined as “fixed rate”, the value Y of the comparison count information (fixed rate) is obtained from the user-defined correction value.
Y = 200 (%)
(3) The correction value Z is calculated by the following formula: Fixed time: X + Y = C
Constant ratio: X * Y / 100 = Z
(4) Since the user-defined correction value is defined as “constant ratio”, a constant ratio calculation formula is used. Z = 10 (times) * 200 (%) / 100 = 20 (times)
(5) Reflect Z in the test script
replywait wait 100 retry 20 b.img

Next, an operation flow of the automatic test apparatus 1 having a correction function will be described with reference to FIGS.

図7は、本発明の実施の形態になる自動試験システムにおけるGUI試験スクリプトを補正する全体の処理フローを示す。   FIG. 7 shows an overall processing flow for correcting the GUI test script in the automatic test system according to the embodiment of the present invention.

まず、ステップS11において、自動試験制御部11は、試験スクリプトにそって、GUI実行部12を経由してGUIシステム2のGUIアプリケーションを実行する。ステップS12において、GUIを実行した結果、結果・画像比較部14によって、画面13に表示される実画像と予め用意された画像情報ファイル200の画像とが比較され、ステップS13で、ログ出力部によってログ情報ファイル300に実行結果が出力される。   First, in step S11, the automatic test control unit 11 executes the GUI application of the GUI system 2 via the GUI execution unit 12 according to the test script. In step S12, as a result of executing the GUI, the result / image comparison unit 14 compares the actual image displayed on the screen 13 with the image of the image information file 200 prepared in advance. In step S13, the log output unit The execution result is output to the log information file 300.

さらに、ステップS14において、ログ解析手段16によって、上記出力されたログ情報ファイル300を参照しログ内容の解析が行われる。そして、ステップS15において、ログ情報にエラーが存在するか否かを判定する。その結果、エラー情報が存在しなければ処理は終了し、エラー情報が存在する場合は、ステップS16において、スクリプト補正部17が補正値を特定し、ステップS17において、その補正値にしたがって試験スクリプトを補正する。その後、自動試験制御部11によって、再度、補正した試験スクリプトにてGUIが実行される。   In step S14, the log analysis unit 16 analyzes the log content with reference to the output log information file 300. In step S15, it is determined whether there is an error in the log information. As a result, if the error information does not exist, the process ends. If the error information exists, the script correction unit 17 specifies the correction value in step S16, and the test script is determined according to the correction value in step S17. to correct. Thereafter, the automatic test control unit 11 executes the GUI again with the corrected test script.

つぎに、本発明の主となる機能であるログ解析部およびスクリプト補正部の処理動作について図8および図9を用いて説明する。   Next, processing operations of the log analysis unit and the script correction unit, which are main functions of the present invention, will be described with reference to FIGS.

図8は、本発明の実施の形態になるログ解析処理フローを示す。本フローは、図7の全体フローの中のステップS14のログ解析処理の詳細を述べたものである。   FIG. 8 shows a log analysis processing flow according to the embodiment of the present invention. This flow describes details of the log analysis processing in step S14 in the overall flow of FIG.

ステップS21において、ログ情報ファイル300を参照してログ解析処理を行い、ステップS22で、ログ情報にエラーがあるか否かを判定する。その結果、ログ情報内にエラーがあることを検出した場合、ステップS23において、どの画像を比較したときにエラーが発生したのかが特定できる画像比較処理識別番号と、画像比較時間内にアプリケーションの画像に変化があったかどうかが特定できる画像変化有無情報をスクリプト補正部17へ通知する。   In step S21, log analysis processing is performed with reference to the log information file 300. In step S22, it is determined whether there is an error in the log information. As a result, when it is detected that there is an error in the log information, in step S23, an image comparison process identification number that can identify which image is generated when the image is compared, and the image of the application within the image comparison time. The script correction unit 17 is notified of image change presence / absence information that can specify whether or not there has been a change.

ここで、画像変化有無情報は、変化前画像、変化後画像、および処理完了(初期画面)画像を用意しておき、試験スクリプトにおいて3パターンの画像とGUIの実際の画像を比較することによって求められる。   Here, the image change presence / absence information is obtained by preparing a pre-change image, a post-change image, and a processing completion (initial screen) image, and comparing the three patterns of images with the actual GUI image in the test script. It is done.

図9は、本発明の実施の形態になるスクリプト補正部の処理フローを示す。本フローは、図7のステップS16の補正値の特定を詳細にしたものである。   FIG. 9 shows a processing flow of the script correction unit according to the embodiment of the present invention. This flow details the specification of the correction value in step S16 of FIG.

ステップS31において、スクリプト補正部17は、画像変化有無情報より画像に変化があったかどうかを判定する。画像に変化があった場合は、比較周期が大き過ぎて画像を取りこぼしたものと判断し、ステップS22に移行して比較周期を補正する処理を行い、画像の変化が無かった場合は、比較回数が少なかったために画像を取りこぼしたものと判断し、ステップS36に移行して比較回数を補正する処理を行う。   In step S31, the script correction unit 17 determines whether or not the image has changed from the image change presence / absence information. If there is a change in the image, it is determined that the comparison period is too large and the image has been missed, and the process proceeds to step S22 to perform a process of correcting the comparison period. Therefore, it is determined that the image has been missed, and the process proceeds to step S36 to correct the number of comparisons.

比較周期を補正する場合、ステップS32において、スクリプト補正部17は、試験スクリプト内に設定されている画像比較周期Xを取得し、ステップS33において、ユーザによって定義された比較周期情報の値Yを取得する。   When correcting the comparison period, in step S32, the script correction unit 17 acquires the image comparison period X set in the test script, and in step S33, acquires the value Y of the comparison period information defined by the user. To do.

つぎに、ステップS34において、上記取得したX、Yを用いて、試験スクリプト内に設定する補正値Zを算出する。ここで、比較周期情報は、Xから減算するための一定の時間でもよいし、Xに対する一定の割合でもよい。一定時間の場合は、Xに対してYを減算し、一定割合の場合は、Xに対してYを乗算して補正値を求める。   Next, in step S34, a correction value Z set in the test script is calculated using the acquired X and Y. Here, the comparison cycle information may be a fixed time for subtracting from X or a fixed ratio with respect to X. In the case of a certain time, Y is subtracted from X, and in the case of a certain ratio, X is multiplied by Y to obtain a correction value.

そして、ステップS35において、算出したZを補正値として試験スクリプト内の該当する比較処理箇所に反映させる。   In step S35, the calculated Z is reflected as a correction value in the corresponding comparison processing location in the test script.

また、比較回数を補正する場合、ステップS36において、スクリプト補正部17は、試験スクリプト内に設定されている画像比較回数Xを取得し、ステップS37において、ユーザによって定義された比較回数情報の値Yを取得する。   When correcting the number of comparisons, in step S36, the script correction unit 17 acquires the image comparison number X set in the test script, and in step S37, the value Y of the comparison number information defined by the user. To get.

つぎに、ステップS38において、上記取得したX、Yを用いて、試験スクリプト内に設定する補正値Zを算出する。ここで、比較回数情報は、Xに加算するための一定の時間でもよいし、Yに対する一定の割合でもよい。一定時間の場合は、Xに対してYを加算し、一定割合の場合は、Xに対してYを乗算して補正値Zを求める。   Next, in step S38, the correction value Z set in the test script is calculated using the acquired X and Y. Here, the comparison number information may be a fixed time for adding to X or a fixed ratio with respect to Y. When the time is constant, Y is added to X, and when the ratio is constant, X is multiplied by Y to obtain the correction value Z.

そして、ステップS35において、算出したZを補正値として試験スクリプト内の該当する比較処理箇所に反映させる。   In step S35, the calculated Z is reflected as a correction value in the corresponding comparison processing location in the test script.

図10は、本発明の実施の形態になるエラー判定による再起動の処理フローを示す。
まず、ステップS41において、ログ解析部から試験結果を取得する。つぎに、ステップS42において、エラーの種別を判定する。
FIG. 10 shows a processing flow of restart by error determination according to the embodiment of the present invention.
First, in step S41, a test result is acquired from the log analysis unit. Next, in step S42, the type of error is determined.

結果が正常( 正常結果画像との比較が一致) の場合は、ステップS43において、再起動情報を初期化( 無に設定) する。   If the result is normal (comparison with the normal result image matches), the restart information is initialized (set to none) in step S43.

また、結果が異常( 正常結果画像との比較が不一致) の場合は、ステップS44において、補正手段特定部21の処理に移り、ステップS45において、再起動情報を初期化( 無に設定) する。   If the result is abnormal (comparison with the normal result image does not match), the process proceeds to the process of the correction means specifying unit 21 in step S44, and the restart information is initialized (set to none) in step S45.

さらに、結果が異常( 上記正常結果画像との比較が不一致で、エラー発生時画像との比較が一致) の場合は、ステップS46において、エラー結果の内容を指定された相手に通知する。通知方法は、メールや、ダイアログ表示を含むアプリケーションへの通知などがある。つぎに、ステップS47において、エラー試験の項目番号を取得する。そして、ステップS48において、再起動情報の有無を判定する。   Further, if the result is abnormal (the comparison with the normal result image is inconsistent and the comparison with the image at the time of error occurrence is identical), the content of the error result is notified to the designated partner in step S46. Notification methods include e-mail and notification to applications including dialog displays. In step S47, an error test item number is acquired. In step S48, the presence / absence of restart information is determined.

その結果、再起動情報が「無」の場合は、ステップS51において、再起動情報を「有」に設定し、ステップS52で、GUIシステム2を再起動する。また、ステップS48において、再起動情報が「有」の場合は、ステップS49で、再起動情報を「有」に設定し、ステップS50において、OS再起動後にGUIシステムの再起動をおこなう。   As a result, if the restart information is “none”, the restart information is set to “present” in step S51, and the GUI system 2 is restarted in step S52. If the restart information is “Yes” in step S48, the restart information is set to “Yes” in step S49, and the GUI system is restarted after the OS is restarted in step S50.

なお、再起動実施前には、再起動情報を「有」に設定情報しておく。GUIシステムの再起動時には、試験スクリプトの修正により、既に成功している試験項目は実施せずに続きの項目の試験から実施する。   Note that the restart information is set to “present” before restarting. When the GUI system is restarted, the test script is corrected, and the test items that have already succeeded are not executed, but the test of the subsequent items is executed.

図11は、本発明の実施の形態になる補正手段選定の処理フローを示す。まず、ステップS61において、ユーザによって補正手段が指定されたユーザ定義ファイルから補正手段を取得する。ステップS62において、補正はユーザ定義とするか統計データとするかを判定する。指定された補正手段が、ユーザ定義の場合、ステップS63において、ユーザ定義補正値特定部へ補正値特定の依頼を行う。また、指定された補正手段が、統計データの場合、ステップS64において、統計データ補正値特定部へ補正値特定の依頼を行う。   FIG. 11 shows a processing flow for selecting correction means according to the embodiment of the present invention. First, in step S61, the correction unit is acquired from the user definition file in which the correction unit is designated by the user. In step S62, it is determined whether the correction is user-defined or statistical data. If the specified correction means is user-defined, in step S63, a correction value specifying request is made to the user-defined correction value specifying unit. If the specified correction means is statistical data, in step S64, a correction value specifying request is made to the statistical data correction value specifying unit.

なお、別な手段として、優先的に統計データを参照することとし、前回の試験で使用した補正値と統計データから求めた補正値が一致している場合は、前回の試験において統計データから抽出した補正値を使用していたものと見なして、次回の試験ではユーザ定義補正値を使用し、補正値が不一致の場合は、統計データ未使用と見なして統計データを取得する。これにより補正値の取得を統計データから取得するかユーザ定義データから取得するかの判別が不要となるため、ユーザが補正手段を定義する必要がなくなる。   As another means, statistical data should be referred to preferentially, and if the correction value used in the previous test matches the correction value obtained from the statistical data, it is extracted from the statistical data in the previous test. The user-defined correction value is used in the next test, and if the correction values do not match, the statistical data is regarded as unused and the statistical data is acquired. This eliminates the need to determine whether correction values are acquired from statistical data or user-defined data, thereby eliminating the need for the user to define correction means.

図12は、本発明の実施の形態になる統計データDBのデータ構成を示す。
統計データDB(データベース)400は、エラー判定部より通知されたデータを統計データとして蓄積したもので、「項番」、GUI画像を比較する「比較周期」、「比較回数」、試験スクリプトを実行させたチェック結果を表す「結果」、試験スクリプトの「実行日時」、試験スクリプト処理項目の内容を表す「操作」、試験スクリプト処理の「シナリオ名」の各項目からなる複数のレコードで構成されている。
FIG. 12 shows the data structure of the statistical data DB according to the embodiment of the present invention.
The statistical data DB (database) 400 stores data notified from the error determination unit as statistical data, and executes “item number”, “comparison period” for comparing GUI images, “number of comparisons”, and test script. It is composed of a plurality of records consisting of “result” that represents the check result, “execution date and time” of the test script, “operation” that represents the content of the test script processing item, and “scenario name” of the test script processing. Yes.

例えば、第一のレコードでは、項番001のアイテムは、シナリオ1に基づき、画像の比較周期100msおよび比較回数10回、操作は電話帳キー押下を条件に、シナリオ1が2004年11月26日に実行され、判定結果はOKとなったことを示している。   For example, in the first record, the item of item No. 001 is based on scenario 1, the image comparison period is 100 ms and the number of comparisons is 10 times, and the operation is performed on the condition that the phone book key is pressed, and scenario 1 is November 26, 2004. The determination result is OK.

図13は、本発明の実施の形態になる統計データによる補正フローを示す。まず、ステップS71において、統計データDB400から統計データを取得する。その取得データから、同じ操作かつ結果がOKのものを対象として、以下に比較周期あるいは比較回数のそれぞれで平均値を求める。   FIG. 13 shows a correction flow based on statistical data according to the embodiment of the present invention. First, in step S71, statistical data is acquired from the statistical data DB 400. From the acquired data, for the same operation and the result is OK, an average value is obtained for each of the comparison periods or the number of comparisons.

ステップS72において、統計データとして算出可能かを判定し、NGであれば、ステップS73において、ユーザ定義補正値特定部に依頼を行う。また、ステップ74において、今回の実行がNGで統計データ補正値を用いて実行した結果かどうかを判定し、統計データを用いてもNGとなった場合は、ユーザ定義補正値特定部へ依頼を行う。   In step S72, it is determined whether it can be calculated as statistical data. If it is NG, a request is made to the user-defined correction value specifying unit in step S73. Also, in step 74, it is determined whether or not the current execution is a result of executing NG using the statistical data correction value. If the result is NG even using the statistical data, a request is made to the user-defined correction value specifying unit. Do.

また、ステップS72において、統計データからの算出が可能で、かつ、ステップS74における統計データが補正済のものでなければ、ステップS75において、結果OKのもので同操作のデータから比較周期及び比較回数の平均値を算出する。   In step S72, if it is possible to calculate from the statistical data and the statistical data in step S74 is not corrected, in step S75, the result OK and the comparison period and the number of comparisons are obtained from the same operation data. The average value of is calculated.

つぎに、ステップS76において、算出した平均値を補正値として試験スクリプトを補正する。   Next, in step S76, the test script is corrected using the calculated average value as a correction value.

図14は、本発明の実施の形態になるスクリプトの補正値の変更処理フローを示す。本フローは、補正値制御部
ステップS81において、試験スクリプトに設定されている比較周期Sを取得する。つぎに、ステップS82において、比較周期情報の中から新たに設定する補正値Tを取得する。そして、ステップS83において、全補正値の候補を参照済みとなっているかを判定する。全て参照済みであれば、ステップS86において、エラールート( 通知、再起動、シナリオ起動)へ制御を渡す。
FIG. 14 shows a script correction value changing process flow according to the embodiment of the present invention. This flow acquires the comparison period S set in the test script in the correction value control unit step S81. Next, in step S82, a correction value T to be newly set is acquired from the comparison cycle information. Then, in step S83, it is determined whether all correction value candidates have been referenced. If all references have been made, control is passed to the error route (notification, restart, scenario start) in step S86.

補正値候補が存在する場合は、ステップS84において、取得した比較周期SとTとを比較し、Sが小さければ、ステップS82に戻り、次の補正値を取得し再度比較をおこなう。一方、Sが大きければ、ステップS85において、Tを補正値として試験スクリプト内の該当する比較処理箇所に反映する。   If there is a correction value candidate, in step S84, the acquired comparison periods S and T are compared. If S is small, the process returns to step S82, and the next correction value is acquired and compared again. On the other hand, if S is large, in step S85, T is reflected as a correction value in the corresponding comparison processing location in the test script.

図15は、本発明の実施の形態になるログ解析によるエラー検出の処理フローを示す。まず、ステップS91において、試験スクリプトファイル100の時刻情報を取得し、ステップS92において、補正があったか否かを判定する。補正がなければ処理を終了し、補正が有り、補正有無の判定が初回の場合は、ステップS93で、試験スクリプトによる自動試験を実施し、ステップS94において、結果・画像比較部14およびログ出力部15の処理を行い、ステップS95において、ログ解析の結果、エラーが有るかを判定する。その結果、エラーが存在すれば、ステップS96において、スクリプト補正部17が補正を実施し、その後、ステップS91に戻り以降の再試験の実施を繰り返し行う。   FIG. 15 shows a processing flow of error detection by log analysis according to the embodiment of the present invention. First, in step S91, time information of the test script file 100 is acquired, and in step S92, it is determined whether or not correction has been made. If there is no correction, the process ends. If correction is present and the determination of whether correction is present is the first time, in step S93, an automatic test is performed using a test script. In step S94, the result / image comparison unit 14 and the log output unit In step S95, it is determined whether there is an error as a result of log analysis. As a result, if there is an error, the script correction unit 17 performs correction in step S96, and then returns to step S91 to repeatedly perform the retest after that.

図16は、本発明の実施の形態になる上限となる補正値取得の処理フローを示す。
ステップS101において、補正値上限判定部にて、上限値をユーザ定義、統計データのどちらを取得するかを判定する。判定基準は、ユーザ定義、統計データ判定フラブを予め設定しておくか、自動で判定することも可能とする。
FIG. 16 shows a processing flow for obtaining a correction value as an upper limit according to the embodiment of the present invention.
In step S <b> 101, the correction value upper limit determination unit determines whether the upper limit value is user-defined or statistical data is acquired. As a determination criterion, user-defined and statistical data determination flavs are set in advance or can be automatically determined.

判定の結果、ユーザ定義、統計データのいずれの場合でも、ステップS102、またはステップS105において、それぞれ、周期上限値か回数上限値のどちらを取得するかを判定する。判定の結果、ステップS103、ステップS104、ステップS106、またはステップS107において、それぞれ、ユーザ定義周期上限値、ユーザ定義回数上限値、統計周期上限値、統計回数上限値のいずれかを取得する。   As a result of the determination, in either case of user definition or statistical data, it is determined in step S102 or step S105 whether to acquire the period upper limit value or the number upper limit value. As a result of the determination, in step S103, step S104, step S106, or step S107, any one of the user-defined cycle upper limit value, the user-defined count upper limit value, the statistical cycle upper limit value, and the statistical count upper limit value is acquired.

以上のように、補正値上限判定部23とユーザ定義上限値を特定するためのユーザ定義上限値特定部24と統計データ上限値特定部27とを具備し、それぞれの処理を実行することによって、試験スクリプトに無駄な処理を埋め込むことが防止できる。   As described above, the correction value upper limit determination unit 23, the user-defined upper limit value specifying unit 24 for specifying the user-defined upper limit value, and the statistical data upper limit value specifying unit 27 are provided, and by executing the respective processes, It is possible to prevent unnecessary processing from being embedded in the test script.

図17は、本発明の実施の形態になる未実施の他試験シナリオへ水平展開する場合の補正処理フローを示す。本実施例は、試験シナリオ実施後に、原理図4に示す統計データ蓄積部25から成功した補正値と関連する操作を取り出し、試験スクリプトを水平展開させ、同様の操作手順を持つ別試験スクリプトに対して、成功した補正値を反映させるものである。   FIG. 17 shows a correction processing flow in the case of horizontal development to another test scenario that has not been executed according to the embodiment of the present invention. In this embodiment, after the test scenario is executed, an operation related to the successful correction value is extracted from the statistical data storage unit 25 shown in FIG. 4, and the test script is horizontally developed, and another test script having the same operation procedure is extracted. It reflects the successful correction value.

ステップS111において、シナリオ成功の手順と比較周期および比較回数を取得し既存の試験スクリプトと比較を行う。つぎに、ステップS112において、試験スクリプトファイル100を参照し、合致するスクリプトが有るか否かを判定する。合致したものがあれば、ステップS113において、当該スクリプトの補正を行う。   In step S111, the scenario success procedure, comparison cycle, and number of comparisons are acquired and compared with an existing test script. Next, in step S112, the test script file 100 is referenced to determine whether there is a matching script. If there is a match, the script is corrected in step S113.

図18は、本発明の実施の形態になるマルチメディアに対応させた試験スクリプトの処理フローを示す。   FIG. 18 shows a processing flow of a test script corresponding to multimedia according to the embodiment of the present invention.

まず、ステップS121において、試験シナリオによるGUI実行に伴う音声又は動画像をキャプチャする。つぎに、ステップS122において、取得した音声または動画像データと基本音情報又は基本動画情報と比較する。そして、ステップS123において、比較結果が一致した場合は成功一致しない場合は失敗としてログ出力を行う。   First, in step S121, a voice or a moving image accompanying GUI execution by a test scenario is captured. Next, in step S122, the acquired voice or moving image data is compared with basic sound information or basic moving image information. In step S123, if the comparison results match, the log output is performed as failure if the success does not match.

本実施例は、自動試験システム1に、音比較と動画比較を行う手段を備え、また、画像比較時に比較対象としていた画像情報と同様に、試験実施後に期待する音声及び動画像をそれぞれ基本音情報、基本動画情報として保持しておくファイルを容易しておく。自動試験実施時においては、実施時の結果として収集した音情報及び動画情報として情報を保持しておき、それぞれの比較において、基本音情報と収集音情報、または基本動画情報と収集動画情報をそれぞれ別々に、または両方にて比較を行い正誤判断を行わせ、マルチメディアへの対応を可能とさせたものである。   In this embodiment, the automatic test system 1 is provided with means for sound comparison and moving image comparison, and similar to the image information that was the comparison target at the time of image comparison, the sound and the moving image that are expected after the test are each represented as a basic sound. A file to be stored as information and basic video information is made easy. When performing an automatic test, information is stored as sound information and moving image information collected as a result of the execution, and in each comparison, basic sound information and collected sound information, or basic moving image information and collected moving image information, respectively. Comparison is made separately or in both cases to make a correct / incorrect decision, making it possible to handle multimedia.

図19は、本発明の実施の形態になる結果・画像比較部における複数画像の入れ替えの比較処理フローを示す。まず、ステップS131において、結果・画像比較部にてGUI実行結果と画像情報を比較する。つぎに、ステップS19において、画像の比較結果は一致するかを判定する。そして、ステップS133において、画像補正部にて画像情報を入替(画像A→B)を行う。本実施例は、画像情報中に全ての前提条件に当てはまる画像A、画像B、画像Cを保存しておき、エラーが検知された際に、比較対象の画像を画像A→画像B→画像Cに変更し、再比較を行わせるものである。   FIG. 19 shows a comparison processing flow for replacing a plurality of images in the result / image comparison unit according to the embodiment of the present invention. First, in step S131, the result / image comparison unit compares the GUI execution result with the image information. Next, in step S19, it is determined whether the image comparison results match. In step S133, the image correction unit replaces the image information (image A → B). In this embodiment, image A, image B, and image C that meet all the preconditions are stored in the image information, and when an error is detected, the image to be compared is image A → image B → image C. To make a recomparison.

図20は、本発明の実施の形態になる切替画像の不整合検出のための処理フローを示す。本フローは、エラー判定部20において、試験結果のエラー種別の特定を行う場合のフローを示している。   FIG. 20 shows a processing flow for detecting a mismatch in the switching image according to the embodiment of the present invention. This flow shows a flow when the error determination unit 20 specifies the error type of the test result.

ステップS141において、結果・画像比較部14から試験結果を取得する。つぎに、ステップS142、およびステップS143において、画像比較の一致を判断する。本処理を予め用意しておいた全画面の画像との比較を画像が一致するまで行う。画像が一致した場合、ステップS144において、画像識別番号を取得して結果・画像比較部14へ通知する。ステップS142、およびステップS143の判定において、画像が一致しなければ、ステップS145において、比較対象画像の変更を行い、ステップS142に戻って以降の処理を実行する。   In step S 141, the test result is acquired from the result / image comparison unit 14. Next, in step S142 and step S143, a match of image comparison is determined. This process is compared with the full screen image prepared in advance until the images match. If the images match, the image identification number is acquired and notified to the result / image comparison unit 14 in step S144. If it is determined in step S142 and step S143 that the images do not match, the comparison target image is changed in step S145, and the process returns to step S142 to execute the subsequent processing.

以上述べてきた本発明の実施の態様は、以下の付記に示す通りである。   The embodiments of the present invention described above are as shown in the following supplementary notes.

(付記1) グラフィカルユーザインタフェースシステムを試験するスクリプトの補正機能を持つ自動試験システムであって、
前記システムの試験スクリプトを実行させることによって表示される実行画面と予め画像情報ファイルに登録された画像とを比較する結果・画像比較手段と、
前記結果・画像比較手段における比較結果をログ情報ファイルとして出力するログ出力手段と、
前記ログ情報ファイルを参照し、該ログ情報の中から画面不一致となったエラーログの実行タイミングを解析するログ解析手段と、
前記ログ解析手段によって解析されたエラーログに対する補正値を特定し、該補正値にしたがって前記試験スクリプトを自動的に補正するスクリプト補正手段と、
を有することを特徴とする自動試験システム。
(Appendix 1) An automatic test system having a script correction function for testing a graphical user interface system,
A result / image comparison means for comparing the execution screen displayed by executing the test script of the system with an image registered in the image information file in advance;
Log output means for outputting the comparison result in the result / image comparison means as a log information file;
Log analysis means for referring to the log information file and analyzing the execution timing of an error log that has a screen mismatch from the log information;
Script correction means for specifying a correction value for the error log analyzed by the log analysis means, and automatically correcting the test script according to the correction value;
An automatic test system characterized by comprising:

(付記2) 前記スクリプト補正手段の補正値は、前記システムの実行画面と前記画像ファイルに登録された画像とを比較する際の画面切替の比較周期、あるいは比較回数として設定されることを特徴とする付記1に記載の自動試験システム。   (Supplementary Note 2) The correction value of the script correction unit is set as a comparison period or a comparison count of screen switching when comparing the execution screen of the system and the image registered in the image file. The automatic test system according to appendix 1.

(付記3) 前記スクリプト補正手段において、前記補正値として画面切替の比較周期、あるいは比較回数には、それぞれ上限値を設定することを特徴とする付記1または2に記載の自動試験システム。   (Supplementary note 3) The automatic test system according to Supplementary note 1 or 2, wherein in the script correction means, an upper limit value is set as the correction value for the comparison period of screen switching or the number of comparisons.

(付記4) 前記スクリプト補正手段は、予めユーザが定義した補正値をユーザ定義ファイル、あるいは過去の補正値による判定結果を蓄積した統計データファイルを参照してエラーを修正する補正値を決定することを特徴とする付記1乃至3のいずれかに記載の自動試験システム。   (Additional remark 4) The said script correction | amendment means determines the correction value which corrects an error with reference to the statistical data file which accumulated the correction value defined by the user beforehand by the user definition file or the determination result by the past correction value. The automatic test system according to any one of appendices 1 to 3, characterized by:

(付記5) 前記ログ解析手段は、前記ログ情報ファイルを参照し、エラーの内容が復旧不可能か否かのエラー種別を判定するエラー判定手段を有し、復旧不可能である場合に該当試験項目のリトライを中断させることを特徴とする付記1に記載の自動試験システム。   (Supplementary Note 5) The log analysis means has an error determination means for referring to the log information file to determine an error type as to whether or not the error content is unrecoverable. The automatic test system according to appendix 1, wherein retry of an item is interrupted.

(付記6) 前記スクリプト補正手段は、エラーが発生しなくなるまで画像比較の前記比較周期または前記比較回数によって補正することを繰り返すことを特徴とする付記1乃至4に記載の自動試験システム。   (Additional remark 6) The said script correction | amendment means repeats correction | amendment by the said comparison period or the said frequency | count of a comparison of an image until an error does not generate | occur | produce, The automatic test system of Additional remark 1 thru | or 4 characterized by the above-mentioned.

(付記7) 前記統計データによる補正値は、蓄積された過去データから統計的手法によって自動的に算出し決定されることを特徴とする付記4に記載の自動試験システム。   (Supplementary note 7) The automatic test system according to supplementary note 4, wherein the correction value based on the statistical data is automatically calculated and determined from the accumulated past data by a statistical method.

(付記8) エラーが発生しなくなった補正後の前記比較周期または前記比較回数を、未実施の他の試験シナリオから同じパターンの試験シナリオを抽出し、補正値と未実施試験シナリオ内の値を置き換える水平展開することを特徴とする付記1に記載の自動試験システム。   (Supplementary note 8) Extract the test scenario of the same pattern from other test scenarios that have not been executed, the corrected comparison period or the number of comparisons that no longer causes an error, and calculate the correction value and the value in the unexecuted test scenario. The automatic test system according to appendix 1, wherein the replacement is horizontally deployed.

(付記9) データベースとして保存した基本音情報と試験時にサンプリングした音との音声波形比較、または保存した基本動画情報と試験時にキャプチャした動画画像との画像比較を行うマルチメディア対応の機能を持つことを特徴とする付記1に記載の自動試験システム。   (Supplementary note 9) Having a multimedia-compatible function that compares the sound waveform of the basic sound information saved as a database with the sound sampled during the test, or compares the saved basic video information with the video image captured during the test The automatic test system according to appendix 1, characterized by:

(付記10) 試験の前提条件により、同じ操作手順においても期待する画像情報が異なる場合、予め条件ごとに期待する画像情報を複数保存させておき、画像比較時のエラーを契機として、前記期待する画像情報を変更することで、前提条件によらず画像情報を補正することを特徴とする付記1記載の自動試験システム。   (Supplementary Note 10) When the expected image information is different even in the same operation procedure due to the preconditions of the test, a plurality of expected image information is stored in advance for each condition, and the expectation is triggered by an error in image comparison. The automatic test system according to appendix 1, wherein the image information is corrected regardless of the preconditions by changing the image information.

(付記11) 前記システムの表示切替が間に合わなくて、予期しない画面へ遷移した場合でも、画像の照合が出来るようあらかじめ全画面のイメージを用意しておくことで、エラー種別を明確にすることを特徴とする付記1に記載の自動試験システム。   (Additional remark 11) Even if the display switching of the system is not in time and transition to an unexpected screen, the error type should be clarified by preparing a full-screen image in advance so that the images can be collated. The automatic test system according to supplementary note 1, which is characterized.

(付記12) グラフィカルユーザインタフェースシステムを試験するスクリプトの補正機能を持つ自動試験方法であって、
前記システムの試験スクリプトを実行させることによって表示される実行画面と予め画像情報ファイルに登録された画像とを比較する結果・画像比較ステップと、
前記結果・画像比較ステップにおける比較結果をログ情報ファイルとして出力するログ出力ステップと、
前記ログ情報ファイルを参照し、該ログ情報の中から画面不一致となったエラーログの実行タイミングを解析するログ解析ステップと、
前記ログ解析ステップによって解析されたエラーログに対する補正値を特定し、該補正値にしたがって前記試験スクリプトを自動的に補正するスクリプト補正ステップと、
を有することを特徴とする自動試験方法。
(Supplementary note 12) An automatic test method having a correction function of a script for testing a graphical user interface system,
A result / image comparison step for comparing the execution screen displayed by executing the test script of the system with an image registered in the image information file in advance;
A log output step for outputting the comparison result in the result / image comparison step as a log information file;
A log analysis step of referring to the log information file and analyzing the execution timing of an error log that has a screen mismatch from the log information;
A script correction step for specifying a correction value for the error log analyzed by the log analysis step, and automatically correcting the test script according to the correction value;
An automatic test method characterized by comprising:

(付記13) グラフィカルユーザインタフェースシステムを試験するスクリプトの補正機能を持つプログラムであって、
コンピュータに、
前記システムの試験スクリプトを実行させることによって表示される実行画面と予め画像情報ファイルに登録された画像とを比較する結果・画像比較ステップと、
前記結果・画像比較ステップにおける比較結果をログ情報ファイルとして出力するログ出力ステップと、
前記ログ情報ファイルを参照し、該ログ情報の中から画面不一致となったエラーログの実行タイミングを解析するログ解析ステップと、
前記ログ解析ステップによって解析されたエラーログに対する補正値を特定し、該補正値にしたがって前記試験スクリプトを自動的に補正するスクリプト補正ステップと、
を実行させるプログラム。
(Supplementary note 13) A program having a script correction function for testing a graphical user interface system,
On the computer,
A result / image comparison step for comparing the execution screen displayed by executing the test script of the system with an image registered in the image information file in advance;
A log output step for outputting the comparison result in the result / image comparison step as a log information file;
A log analysis step of referring to the log information file and analyzing the execution timing of an error log that has a screen mismatch from the log information;
A script correction step for specifying a correction value for the error log analyzed by the log analysis step, and automatically correcting the test script according to the correction value;
A program that executes

本発明の実施の形態になる補正機能を備えたGUI自動試験システムの基本構成を示す図である。It is a figure which shows the basic composition of the GUI automatic test system provided with the correction function which becomes embodiment of this invention. 本発明の実施の形態になるGUIアプリケーションの試験スクリプト例( サンプルデータ1: 補正前) を示す図である。It is a figure which shows the test script example (sample data 1: before correction | amendment) of the GUI application which becomes embodiment of this invention. 本発明の実施の形態になるGUIアプリケーションの試験スクリプト実行結果のログ内容( サンプルデータ2)を示す図である。It is a figure which shows the log content (sample data 2) of the test script execution result of the GUI application which becomes embodiment of this invention. 本発明の実施の形態になるGUIアプリケーションの試験スクリプト例( サンプルデータ3: 補正後) を示す図である。It is a figure which shows the example test script (sample data 3: after correction | amendment) of the GUI application which becomes embodiment of this invention. 本発明の実施の形態になる自動試験システムにおける補正処理の構成を示す図である。It is a figure which shows the structure of the correction process in the automatic test system which becomes embodiment of this invention. 本発明の実施の形態になる自動試験システムにおけるエラー判定処理の構成を示す図である。It is a figure which shows the structure of the error determination process in the automatic test system which becomes embodiment of this invention. 本発明の実施の形態になる自動試験システムにおけるGUI試験スクリプトを補正する全体の処理フローを示す図である。It is a figure which shows the whole processing flow which correct | amends the GUI test script in the automatic test system which becomes embodiment of this invention. 本発明の実施の形態になるログ解析処理フローを示す図である。It is a figure which shows the log analysis processing flow which becomes embodiment of this invention. 本発明の実施の形態になるスクリプト補正部の処理フローを示す図である。It is a figure which shows the processing flow of the script correction | amendment part which becomes embodiment of this invention. 本発明の実施の形態になるエラー判定による再起動の処理フローを示す図である。It is a figure which shows the processing flow of restart by the error determination which becomes embodiment of this invention. 本発明の実施の形態になる補正手段選定の処理フローを示す図である。It is a figure which shows the processing flow of correction | amendment means selection which becomes embodiment of this invention. 本発明の実施の形態になる統計データDBのデータ構成を示す図である。It is a figure which shows the data structure of statistical data DB which becomes embodiment of this invention. 本発明の実施の形態になる統計データによる補正フローを示す図である。It is a figure which shows the correction flow by the statistical data which becomes embodiment of this invention. 本発明の実施の形態になるスクリプトの補正値の変更処理フローを示す図である。It is a figure which shows the change process flow of the correction value of the script which becomes embodiment of this invention. 本発明の実施の形態になるログ解析によるエラー検出の処理フローを示す図である。It is a figure which shows the processing flow of the error detection by the log analysis which becomes embodiment of this invention. 本発明の実施の形態になる上限となる補正値取得の処理フローを示す図である。It is a figure which shows the processing flow of the correction value acquisition used as the upper limit which becomes embodiment of this invention. 本発明の実施の形態になる未実施の他試験シナリオへ水平展開する場合の補正処理フローを示す図である。It is a figure which shows the correction | amendment processing flow in the case of carrying out horizontal expansion | deployment to the other test scenario which is not implemented which becomes embodiment of this invention. 本発明の実施の形態になるマルチメディアに対応させた試験スクリプトの処理フローを示す図である。It is a figure which shows the processing flow of the test script matched with the multimedia which becomes embodiment of this invention. 本発明の実施の形態になる結果・画像比較部における複数画像の入れ替えの比較処理フローを示す図である。It is a figure which shows the comparison processing flow of replacement of the several image in the result and image comparison part which becomes embodiment of this invention. 本発明の実施の形態になる切替画像の不整合検出のための処理フローを示す図である。It is a figure which shows the processing flow for the mismatching detection of the switching image which becomes embodiment of this invention.

符号の説明Explanation of symbols

1 自動試験システム
2 GUIシステム
11 自動試験制御部
12 GUI実行部
13 画面
14 結果・画像比較部
15 ログ出力部
16 ログ解析部
17 スクリプト補正部
20 エラー判定部
21 補正手段特定部
22 ユーザ定義補正値特定部
23 補正値上限判定部
24 ユーザ定義上限値特定部
25 統計データ蓄積部
26 統計データ補正値特定部
27 統計データ上限値特定部
30 通信制御部
31 メール送信部
32 表示部
40 再起動制御部
41 試験スクリプト再実行制御部
42 GUIシステム再起動制御部
43 PC再起動制御部
50 シナリオ起動制御部
100 試験スクリプトファイル
200 画像情報ファイル
300 ログ情報ファイル
400 統計データDB
DESCRIPTION OF SYMBOLS 1 Automatic test system 2 GUI system 11 Automatic test control part 12 GUI execution part 13 Screen 14 Result / image comparison part 15 Log output part 16 Log analysis part 17 Script correction part 20 Error determination part 21 Correction means specification part 22 User-defined correction value Specification unit 23 Correction value upper limit determination unit 24 User-defined upper limit value specification unit 25 Statistical data storage unit 26 Statistical data correction value specification unit 27 Statistical data upper limit value specification unit 30 Communication control unit 31 Mail transmission unit 32 Display unit 40 Restart control unit 41 Test script re-execution control unit 42 GUI system restart control unit 43 PC restart control unit 50 Scenario activation control unit 100 Test script file 200 Image information file 300 Log information file 400 Statistical data DB

Claims (5)

グラフィカルユーザインタフェースシステムを試験するスクリプトの補正機能を持つ自動試験システムであって、
前記システムの試験スクリプトを実行させることによって表示される実行画面と予め画像情報ファイルに登録された画像とを比較する結果・画像比較手段と、
前記結果・画像比較手段における比較結果をログ情報ファイルとして出力するログ出力手段と、
前記ログ情報ファイルを参照し、該ログ情報の中から画面不一致となったエラーログの実行タイミングを解析するログ解析手段と、
前記ログ解析手段によって解析されたエラーログに対する補正値を特定し、該補正値にしたがって前記試験スクリプトを自動的に補正するスクリプト補正手段と、
を有することを特徴とする自動試験システム。
An automatic test system with a script correction function for testing a graphical user interface system,
A result / image comparison means for comparing the execution screen displayed by executing the test script of the system with an image registered in the image information file in advance;
Log output means for outputting the comparison result in the result / image comparison means as a log information file;
Log analysis means for referring to the log information file and analyzing the execution timing of an error log that has a screen mismatch from the log information;
Script correction means for specifying a correction value for the error log analyzed by the log analysis means, and automatically correcting the test script according to the correction value;
An automatic test system characterized by comprising:
前記スクリプト補正手段の補正値は、前記システムの実行画面と前記画像ファイルに登録された画像とを比較する際の画面切替の比較周期、あるいは比較回数として設定されることを特徴とする請求項1に記載の自動試験システム。   2. The correction value of the script correction unit is set as a comparison period of screen switching when comparing an execution screen of the system and an image registered in the image file, or the number of comparisons. Automatic test system as described in 前記スクリプト補正手段は、予めユーザが定義した補正値をユーザ定義ファイル、あるいは過去の補正値による判定結果を蓄積した統計データファイルを参照してエラーを修正する補正値を決定することを特徴とする請求項1または2に記載の自動試験システム。   The script correction means determines a correction value for correcting an error with reference to a user-defined file for a correction value defined in advance by a user or a statistical data file in which determination results based on past correction values are accumulated. The automatic test system according to claim 1 or 2. グラフィカルユーザインタフェースシステムを試験するスクリプトの補正機能を持つ自動試験方法であって、
前記システムの試験スクリプトを実行させることによって表示される実行画面と予め画像情報ファイルに登録された画像とを比較する結果・画像比較ステップと、
前記結果・画像比較ステップにおける比較結果をログ情報ファイルとして出力するログ出力ステップと、
前記ログ情報ファイルを参照し、該ログ情報の中から画面不一致となったエラーログの実行タイミングを解析するログ解析ステップと、
前記ログ解析ステップによって解析されたエラーログに対する補正値を特定し、該補正値にしたがって前記試験スクリプトを自動的に補正するスクリプト補正ステップと、
を有することを特徴とする自動試験方法。
An automatic test method with a script correction function for testing a graphical user interface system,
A result / image comparison step for comparing the execution screen displayed by executing the test script of the system with an image registered in the image information file in advance;
A log output step for outputting the comparison result in the result / image comparison step as a log information file;
A log analysis step of referring to the log information file and analyzing the execution timing of an error log that has a screen mismatch from the log information;
A script correction step for specifying a correction value for the error log analyzed by the log analysis step, and automatically correcting the test script according to the correction value;
An automatic test method characterized by comprising:
グラフィカルユーザインタフェースシステムを試験するスクリプトの補正機能を持つプログラムであって、
コンピュータに、
前記システムの試験スクリプトを実行させることによって表示される実行画面と予め画像情報ファイルに登録された画像とを比較する結果・画像比較ステップと、
前記結果・画像比較ステップにおける比較結果をログ情報ファイルとして出力するログ出力ステップと、
前記ログ情報ファイルを参照し、該ログ情報の中から画面不一致となったエラーログの実行タイミングを解析するログ解析ステップと、
前記ログ解析ステップによって解析されたエラーログに対する補正値を特定し、該補正値にしたがって前記試験スクリプトを自動的に補正するスクリプト補正ステップと、
を実行させるプログラム。
A program having a script correction function for testing a graphical user interface system,
On the computer,
A result / image comparison step for comparing the execution screen displayed by executing the test script of the system with an image registered in the image information file in advance;
A log output step for outputting the comparison result in the result / image comparison step as a log information file;
A log analysis step of referring to the log information file and analyzing the execution timing of an error log that has a screen mismatch from the log information;
A script correction step for specifying a correction value for the error log analyzed by the log analysis step, and automatically correcting the test script according to the correction value;
A program that executes
JP2005088604A 2005-03-25 2005-03-25 Automatic test system with correction function, automatic test method, and program Withdrawn JP2006268666A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005088604A JP2006268666A (en) 2005-03-25 2005-03-25 Automatic test system with correction function, automatic test method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005088604A JP2006268666A (en) 2005-03-25 2005-03-25 Automatic test system with correction function, automatic test method, and program

Publications (1)

Publication Number Publication Date
JP2006268666A true JP2006268666A (en) 2006-10-05

Family

ID=37204535

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005088604A Withdrawn JP2006268666A (en) 2005-03-25 2005-03-25 Automatic test system with correction function, automatic test method, and program

Country Status (1)

Country Link
JP (1) JP2006268666A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009223568A (en) * 2008-03-14 2009-10-01 Toshiba Corp Scenario-generating device and program
WO2012111387A1 (en) * 2011-02-14 2012-08-23 株式会社 エヌ・ティ・ティ・ドコモ Test device
CN102830958A (en) * 2011-06-16 2012-12-19 奇智软件(北京)有限公司 Method and system for obtaining interface control information
JP2014010630A (en) * 2012-06-29 2014-01-20 Hitachi Systems Ltd Inspection device, inspection system, inspection method, portable terminal and program
JP2015043147A (en) * 2013-08-26 2015-03-05 日本電信電話株式会社 Gui stub automatic generator, and method and program thereof
JP2016115236A (en) * 2014-12-17 2016-06-23 三菱電機株式会社 Plant monitoring apparatus
CN106708528A (en) * 2016-12-28 2017-05-24 北京奇虎科技有限公司 Script generating method and device
CN108647141A (en) * 2018-04-26 2018-10-12 腾讯科技(深圳)有限公司 Automatic test approach, device, computer-readable medium and electronic equipment
JP2019086804A (en) * 2017-11-01 2019-06-06 みずほ情報総研株式会社 Test support system, test support method and test support program
CN114040188A (en) * 2021-09-26 2022-02-11 湖北三赢兴光电科技股份有限公司 Camera module automatic testing method and system based on voice recognition
KR20230060418A (en) * 2021-10-27 2023-05-04 경북대학교 산학협력단 Method of detecting software malfunction using Binary Image

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009223568A (en) * 2008-03-14 2009-10-01 Toshiba Corp Scenario-generating device and program
WO2012111387A1 (en) * 2011-02-14 2012-08-23 株式会社 エヌ・ティ・ティ・ドコモ Test device
JP2012168727A (en) * 2011-02-14 2012-09-06 Ntt Docomo Inc Testing device
CN103329108A (en) * 2011-02-14 2013-09-25 株式会社Ntt都科摩 Test device
US9280451B2 (en) 2011-02-14 2016-03-08 Ntt Docomo, Inc. Testing device
CN102830958A (en) * 2011-06-16 2012-12-19 奇智软件(北京)有限公司 Method and system for obtaining interface control information
JP2014010630A (en) * 2012-06-29 2014-01-20 Hitachi Systems Ltd Inspection device, inspection system, inspection method, portable terminal and program
JP2015043147A (en) * 2013-08-26 2015-03-05 日本電信電話株式会社 Gui stub automatic generator, and method and program thereof
JP2016115236A (en) * 2014-12-17 2016-06-23 三菱電機株式会社 Plant monitoring apparatus
CN106708528A (en) * 2016-12-28 2017-05-24 北京奇虎科技有限公司 Script generating method and device
WO2018121582A1 (en) * 2016-12-28 2018-07-05 北京奇虎科技有限公司 Script generation method and device
JP2019086804A (en) * 2017-11-01 2019-06-06 みずほ情報総研株式会社 Test support system, test support method and test support program
CN108647141A (en) * 2018-04-26 2018-10-12 腾讯科技(深圳)有限公司 Automatic test approach, device, computer-readable medium and electronic equipment
CN108647141B (en) * 2018-04-26 2022-09-09 腾讯科技(深圳)有限公司 Automatic test method, device, computer readable medium and electronic equipment
CN114040188A (en) * 2021-09-26 2022-02-11 湖北三赢兴光电科技股份有限公司 Camera module automatic testing method and system based on voice recognition
KR20230060418A (en) * 2021-10-27 2023-05-04 경북대학교 산학협력단 Method of detecting software malfunction using Binary Image
KR102592997B1 (en) * 2021-10-27 2023-10-24 경북대학교 산학협력단 Method of detecting software malfunction using Binary Image

Similar Documents

Publication Publication Date Title
JP2006268666A (en) Automatic test system with correction function, automatic test method, and program
US8312322B2 (en) System for automated generation of computer test procedures
CN107577597B (en) Installation package automatic testing method, device, equipment and storage medium
JP2011060052A (en) Method for executing software test
JP2012216982A (en) Mobile terminal device and self-diagnosis method
US20150074648A1 (en) Software defect verification
JP5213671B2 (en) Test case selection method and selection system
WO2018036531A1 (en) Test case generation method
CN113377650B (en) Automatic test case operation method and device, test equipment and storage medium
KR101491848B1 (en) Gui software test automatic system having functon for script maintenance and method of controlling the same
WO2021008029A1 (en) Case execution method, apparatus and device, and computer readable storage medium
JP2019101581A (en) Software quality determination device, software quality determination method, and software quality determination program
CN112069073A (en) Test case management method, terminal and storage medium
JP2019101582A (en) Software quality determination device, software quality determination method, and software quality determination program
TW201324141A (en) Testing method and testing apparatus for testing function of electronic apparatus
CN106970870B (en) Webpage test platform, webpage test method and webpage test system
KR20080087918A (en) Test method for automatically testing target device and apparatus there-for
CN110543429A (en) Test case debugging method and device and storage medium
CN107102938B (en) Test script updating method and device
CN112069082A (en) Automatic testing method and system
WO2018036528A1 (en) Automatic testing method
JP2010231594A (en) Test program and testing device
CN111858315B (en) Software debugging method, device, equipment and medium based on version management
CN113326193A (en) Applet testing method and device
TWI650710B (en) Test process detection method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080603