JP2019106093A - Computer, method of reproducing log, and storage medium - Google Patents

Computer, method of reproducing log, and storage medium Download PDF

Info

Publication number
JP2019106093A
JP2019106093A JP2017239315A JP2017239315A JP2019106093A JP 2019106093 A JP2019106093 A JP 2019106093A JP 2017239315 A JP2017239315 A JP 2017239315A JP 2017239315 A JP2017239315 A JP 2017239315A JP 2019106093 A JP2019106093 A JP 2019106093A
Authority
JP
Japan
Prior art keywords
log
reproduction
computer
character string
reproducing
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.)
Pending
Application number
JP2017239315A
Other languages
Japanese (ja)
Inventor
正裕 本林
Masahiro Motobayashi
正裕 本林
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2017239315A priority Critical patent/JP2019106093A/en
Publication of JP2019106093A publication Critical patent/JP2019106093A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

To provide a computer, a method of reproducing a log, and a storage medium that securely record contents of an operation and perform verification when an operation record is reproduced.SOLUTION: A computer, which has a processor and a memory, includes: a log collection unit that hooks an operation on a screen output by a program operated by the computer and stores information on the operation as a log when the operation is a specific operation; and a log reproduction unit that reads the log and reproduces the operation on the screen when the program is in operation. The log collection unit, when the accepted operation is a specific operation, acquires a first capture image of a screen corresponding to the specific operation, extracts a first character string included in the first capture image, and stores the first character string in the log.SELECTED DRAWING: Figure 1

Description

本発明は、計算機の操作を記録して、記録された情報を再現する技術に関する。   The present invention relates to a technique for recording the operation of a computer and reproducing the recorded information.

計算機では、マウス及びキーボードの入力装置と表示装置の画像を併用したGUI(Graphical User Interface)を利用した操作が広く普及している。また、ユーザが行ったGUIにおける操作を記録して、当該記録を再現することで、単純作業を自動化する技術も知られている(例えば、特許文献1、2)。   In computers, operations using a GUI (Graphical User Interface) in which an input device of a mouse and a keyboard and an image of a display device are used in common are in widespread use. Further, there is also known a technique for automating simple work by recording an operation on a GUI performed by a user and reproducing the recording (for example, Patent Documents 1 and 2).

特許文献1では、操作記録を基にコンピュータプログラムを自動実行する際に、コンピュータプログラムを実行する環境に依存して、自動実行の結果と、操作記録の内容を検証する技術が開示される。   Patent Document 1 discloses a technique for verifying the result of automatic execution and the contents of the operation record depending on the environment in which the computer program is executed when the computer program is automatically executed based on the operation record.

特許文献1では、操作記録を生成する際には画面のキャプチャ指令を受け付けた時を契機として、キャプチャ画像を記録する。そして、操作記録の再現時には、キャプチャ指令が発生した時点で、再現中の画面をキャプチャし、操作記録のキャプチャ画像と比較して異常の有無を判定していた。   In patent document 1, when generating operation recording, a capture image is recorded triggered by the time of receiving the capture command of a screen. Then, at the time of reproducing the operation record, when the capture command is generated, the screen being reproduced is captured and compared with the captured image of the operation record to determine the presence or absence of abnormality.

また、特許文献2では、操作記録ファイルにキャプチャの採取と保存の指令を示すイベントを登録しておき、操作記録の再現時にはイベントを契機として再現中の画面の内容をキャプチャし、保存する。そして、ユーザは、自動実行でGUI操作を再生させた後に、キャプチャ画像を確認することで表示内容を確認できると共に、GUI操作が正常に再生されたか否かを判断することができる。   Further, in Patent Document 2, an event indicating a capture collection and storage instruction is registered in the operation record file, and when reproducing the operation record, the content of the screen being reproduced is captured and stored triggered by the event. Then, after reproducing the GUI operation by automatic execution, the user can confirm the display content by confirming the captured image, and can determine whether or not the GUI operation has been reproduced normally.

特開2013−143044号公報JP, 2013-143044, A 特開2007−25926号公報Japanese Patent Application Publication No. 2007-25926

前記従来例では、操作の内容をキャプチャ指令やイベントとして操作記録(ログ)に予め設定しておくため、キャプチャ指令やイベントのない期間の操作については、操作が正常に再現された否かを判定できない、という問題があった。   In the above-described conventional example, the content of the operation is set in advance in the operation record (log) as a capture command or an event, so whether or not the operation is normally reproduced is determined for the operation without a capture command or an event. There was a problem that it was impossible.

そこで本発明は、上記問題点に鑑みてなされたもので、操作の内容を確実に記録して、操作記録の再現時には確実に検証を行うことを目的とする。   Accordingly, the present invention has been made in view of the above problems, and has an object of reliably recording the content of an operation and performing verification reliably at the time of reproduction of the operation recording.

本発明は、プロセッサとメモリを有する計算機であって、当該計算機で稼働するプログラムが出力する画面に対する操作をフックして、当該操作が特定の操作の場合には、当該操作の情報をログとして記憶するログ収集部と、前記プログラムが稼働しているときに、前記ログを読み込んで前記画面に対する操作を再現するログ再現部と、を有し、前記ログ収集部は、前記受け付けた操作が特定の操作の場合には、前記特定の操作に対応する画面の第1のキャプチャ画像を取得し、前記第1のキャプチャ画像に含まれる第1の文字列を抽出して前記ログに格納する。   The present invention is a computer having a processor and a memory, and hooks an operation on a screen output by a program operated by the computer, and stores the information of the operation as a log when the operation is a specific operation. A log collecting unit, and a log reproducing unit that reads the log and reproduces an operation on the screen when the program is in operation, and the log collecting unit is configured to specify the received operation. In the case of operation, a first capture image of the screen corresponding to the specific operation is acquired, and a first character string included in the first capture image is extracted and stored in the log.

したがって、本発明は、ログの収集時に特定の操作(マウス操作またはキーボード操作)を契機としてキャプチャ画像と文字列を取得し、ログの再現時にマウス操作またはキーボード操作を契機としてキャプチャ画像と文字列を取得して比較する。これにより、計算機に対する操作が正常に再現されたことを判定することが可能となって、操作を検証する精度を向上させることができる。   Therefore, the present invention acquires captured images and character strings triggered by a specific operation (mouse operation or keyboard operation) when collecting logs, and captures images and character strings triggered by mouse operation or keyboard operations when reproducing logs. Get and compare. Thus, it is possible to determine that the operation on the computer has been reproduced properly, and the accuracy of verifying the operation can be improved.

本発明の実施例を示し、操作の記録と操作の再現を行う計算機の一例を示すブロック図である。It is a block diagram which shows the Example of this invention and shows an example of the computer which records operation reproduction and reproduction of operation. 本発明の実施例を示し、計算機で行われる処理の一例を示すフローチャートである。It is a flowchart which shows the Example of this invention and shows an example of the process performed with a computer. 本発明の実施例を示し、ログテーブルの一例を示す図である。FIG. 6 shows an embodiment of the present invention and is a diagram showing an example of a log table. 本発明の実施例を示し、ログの収集処理の一例を示すフローチャートである。It is a flowchart which shows the Example of this invention and shows an example of the collection process of a log. 本発明の実施例を示し、ログ表示画面の一例を示す図である。It is a figure which shows the Example of this invention and shows an example of a log display screen. 本発明の実施例を示し、再現条件と検証条件を設定するログ表示画面の一例を示す図である。FIG. 8 is a diagram showing an example of the present invention and showing an example of a log display screen for setting a reproduction condition and a verification condition. 本発明の実施例を示し、ログの再現処理の一例を示すフローチャートである。It is a flowchart which shows the Example of this invention and shows an example of the reproduction process of a log. 本発明の実施例を示し、検証条件の一例を示す図である。FIG. 6 shows an embodiment of the present invention and is a diagram showing an example of a verification condition. 本発明の実施例を示し、確認ダイアログの一例を示す図である。It is a figure which shows the Example of this invention and shows an example of a confirmation dialog. 本発明の実施例を示し、停止を含む再現条件を設定する画面の一例を示す図である。FIG. 8 is a diagram showing an example of the present invention and showing an example of a screen for setting a reproduction condition including stop. 本発明の実施例を示し、ログの再現時に停止を含む場合の処理の一例を示すフローチャートである。It is a flow chart which shows an example of the present invention and shows an example of processing in case a stop is included at the time of reproduction of a log. 本発明の実施例を示し、確認ダイアログの一例を示す図である。It is a figure which shows the Example of this invention and shows an example of a confirmation dialog. 本発明の実施例を示し、ログの再現時に繰り返しを含む場合の処理の一例を示すフローチャートである。It is a flowchart which shows the Example of this invention and shows an example of a process in the case where repetition is included at the time of reproduction | regeneration of a log. 本発明の実施例を示し、ログの再現時に繰り返しを含む場合の画面の遷移を示す図である。FIG. 8 shows an embodiment of the present invention and is a diagram showing screen transition in the case where repetition is included at the time of reproduction of a log. 本発明の実施例を示し、ログの再現時に値を変化させる繰り返しを含む場合の画面の遷移を示す図である。FIG. 8 shows an embodiment of the present invention, and is a diagram showing screen transition in the case where repetition of changing a value when reproducing a log is included. 本発明の実施例を示し、ログの再現時に入力を変化させる繰り返しを含む場合の画面の遷移を示す図である。FIG. 8 shows an embodiment of the present invention, and is a diagram showing screen transition in the case where repetition of changing input at the time of reproduction of a log is included.

以下、本発明の実施形態を添付図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described based on the attached drawings.

図1は、本発明の実施例を示し、計算機に対する操作の記録をログとして記録して、所望のタイミングでログの再現を行う計算機の一例を示すブロック図である。   FIG. 1 shows an embodiment of the present invention, and is a block diagram showing an example of a computer that records a record of an operation on a computer as a log and reproduces the log at a desired timing.

計算機1は、CPU11と、メモリ12と、補助記憶装置13と、通信インタフェース14と、キーボードやマウスを含む入力デバイス21に接続された入力インタフェース15と、ディスプレイ等の表示装置20に接続された出力インタフェース16を含む。   The computer 1 includes a CPU 11, a memory 12, an auxiliary storage device 13, a communication interface 14, an input interface 15 connected to an input device 21 including a keyboard and a mouse, and an output connected to a display device 20 such as a display. An interface 16 is included.

メモリ12には、ログ収集部110と、画像キャプチャ部111と、文字列抽出部112と、ログ再現部113と、アプリケーション114がプログラムとしてロードされ、CPU11によって実行される。補助記憶装置13は、収集されたログをログテーブル120に格納する。なお、通信インタフェース14は図示しないネットワークに接続される。   The log collection unit 110, the image capture unit 111, the character string extraction unit 112, the log reproduction unit 113, and the application 114 are loaded as a program into the memory 12 and executed by the CPU 11. The auxiliary storage device 13 stores the collected log in the log table 120. The communication interface 14 is connected to a network (not shown).

ログ収集部110は、計算機1の利用者100がアプリケーション114を操作するときのログを取得してログテーブル120へ記録する。画像キャプチャ部111は、ログを取得する際に計算機1が表示装置20へ出力する画像を取得して補助記憶装置13へ格納する。ログ収集部110は、所定の契機で画像キャプチャ部111にキャプチャ画像を取得する指令を送出する。キャプチャ画像は、特定の時点に表示されている画面の内容をスナップショットとして記録した情報(例えば、ビットマップ等)である。   The log collection unit 110 acquires a log when the user 100 of the computer 1 operates the application 114 and records the log in the log table 120. The image capture unit 111 acquires an image output from the computer 1 to the display device 20 when acquiring a log, and stores the image in the auxiliary storage device 13. The log collecting unit 110 sends an instruction to acquire a captured image to the image capturing unit 111 at a predetermined timing. The capture image is information (for example, a bitmap or the like) in which the contents of the screen displayed at a specific time point are recorded as a snapshot.

文字列抽出部112は、ログ収集部110が出力した画像から文字列を抽出して、補助記憶装置13へ格納する。ログ再現部113は、補助記憶装置13に格納されたログテーブル120のログから、利用者100が操作したアプリケーション114またはOS(図示省略)で、操作を再現する。   The character string extraction unit 112 extracts a character string from the image output by the log collection unit 110 and stores the character string in the auxiliary storage device 13. The log reproducing unit 113 reproduces the operation from the log of the log table 120 stored in the auxiliary storage device 13 with the application 114 or the OS (not shown) operated by the user 100.

CPU11は、各機能部のプログラムに従って処理することによって、所定の機能を提供する機能部として稼働する。例えば、CPU11は、ログ収集プログラムに従って処理することログ収集部110として機能する。他のプログラムについても同様である。さらに、CPU11は、各プログラムが実行する複数の処理のそれぞれの機能を提供する機能部としても稼働する。計算機及び計算機システムは、これらの機能部を含む装置及びシステムである。   The CPU 11 operates as a functional unit that provides a predetermined function by performing processing according to the program of each functional unit. For example, the CPU 11 functions as a log collection unit 110 that processes according to the log collection program. The same is true for other programs. Furthermore, the CPU 11 also operates as a functional unit that provides each function of a plurality of processes executed by each program. A computer and a computer system are devices and systems including these functional units.

図2は、計算機1で行われるログの収集処理の一例を示すフローチャートである。この処理は、計算機1の利用者100が、所望のタイミングで開始することができる。なお、この処理を開始する前に、ログを取得するアプリケーション114が起動していることが前提である。また、OSに対する利用者100の操作をログの対象としても良い。   FIG. 2 is a flowchart showing an example of a log collection process performed by the computer 1. This process can be started by the user 100 of the computer 1 at a desired timing. In addition, it is premised that the application 114 which acquires a log is started before starting this process. In addition, the operation of the user 100 with respect to the OS may be a target of the log.

まず、ステップS1では、計算機1の利用者100がログ収集部110を起動して、アプリケーション114のログの収集を開始させる。   First, in step S1, the user 100 of the computer 1 activates the log collection unit 110 to start collecting logs of the application 114.

ステップS2では、ログ収集部110が、後述するように、アプリケーション114に対する利用者100の操作のログ(操作情報)を取得して、補助記憶装置13のログテーブル120に取得したログを格納する。   In step S2, the log collecting unit 110 acquires the log (operation information) of the operation of the user 100 with respect to the application 114 and stores the acquired log in the log table 120 of the auxiliary storage device 13, as described later.

ステップS3では、計算機1の利用者100が所定の操作によって、ログ収集部110を終了させる。   In step S3, the user 100 of the computer 1 terminates the log collection unit 110 by a predetermined operation.

ステップS4では、ログ再現部113がログテーブル120を読み込んで、取得したログからログ表示画面を生成して表示装置20へ出力する。ステップS5では、利用者100がログ表示画面でログの再現条件または検証条件を設定する。ログの再現条件は、例えば、再現するログの指定や、繰り返して再現を実行する場合の繰り返し数や、再現する入力操作の変更などを含む。一方、ログの検証条件は、文字列の比較や値の比較に関する情報を含む。   In step S4, the log reproduction unit 113 reads the log table 120, generates a log display screen from the acquired log, and outputs the log display screen to the display device 20. In step S5, the user 100 sets log reproduction conditions or verification conditions on the log display screen. The log reproduction conditions include, for example, designation of a log to be reproduced, the number of repetitions for repeatedly executing reproduction, and change of an input operation to be reproduced. On the other hand, log verification conditions include information on string comparisons and value comparisons.

ステップS6では、ログ再現部113が、設定された再現条件でログテーブル120のログの内容を実行し、利用者100がアプリケーション114に対して行った計算機1の操作を再現する。また、ログ再現部113は、ログ表示画面で設定された検証条件に基づいて、再現中のログの抽出文字列217を検証する。ステップS7では、ログ再現部113は、利用者100によって指定されたログの範囲について再現が完了する。   In step S6, the log reproduction unit 113 executes the contents of the log of the log table 120 under the set reproduction condition, and reproduces the operation of the computer 1 performed by the user 100 on the application 114. Also, the log reproduction unit 113 verifies the extracted character string 217 of the log being reproduced based on the verification condition set on the log display screen. In step S7, the log reproduction unit 113 completes the reproduction of the range of the log specified by the user 100.

ステップS8では、ログ再現部113が、再度再現を実行するか否かを利用者100に問い合わせる。再び再現の実行が要求された場合には、ログ再現部113は、ログ表示画面を出力してからステップS5に戻って上記処理を繰り返す。再現を終了する場合は、ステップS9に進む。   In step S8, the log reproduction unit 113 inquires the user 100 whether or not to execute reproduction again. When execution of reproduction is requested again, the log reproduction unit 113 outputs the log display screen and then returns to step S5 to repeat the above processing. If the reproduction is to be ended, the process proceeds to step S9.

ステップS9では、ログ収集部110が、操作のログを収集するか否かを問い合わせる。操作のログを収集する場合には、ステップS1に戻って上記処理を繰り返す。そうでない場合には、処理を終了する。   In step S9, the log collection unit 110 inquires whether to collect a log of the operation. When collecting the log of operation, it returns to step S1 and repeats the above-mentioned processing. If not, the process ends.

以上の処理によって、ログ収集部110が、計算機1の利用者100が操作したアプリケーション114に対する操作内容をログとしてログテーブル120に蓄積し、ログの収集が完了するとログ再現部113がログテーブル120からログを読み込んで、操作の再現を実行する。ログ再現部113が、ログの再現を実行する際には、再現するログの範囲の指定や、繰り返して再現を実行する場合の繰り返し数や、再現する操作の変更などを実現することができる。   By the above processing, the log collection unit 110 accumulates the operation content for the application 114 operated by the user 100 of the computer 1 in the log table 120 as a log, and when the collection of the log is completed, the log reproduction unit 113 Load the log and execute the operation reproduction. When the log reproduction unit 113 executes the reproduction of the log, it is possible to specify the range of the log to be reproduced, the number of repetitions in the case where the reproduction is repeatedly performed, and change of the operation to be reproduced.

図3は、ログ収集部110が書き込むログテーブル120の一例を示す図である。ログテーブル120は、時間121と、対象アプリ122と、操作123と、対象オブジェクト124と、アプリ位置125と、アプリサイズ126と、キャプチャ画像パス127と、拡大画像パス128と、抽出文字列129をひとつのエントリに含む。   FIG. 3 is a diagram showing an example of the log table 120 written by the log collection unit 110. As shown in FIG. The log table 120 includes time 121, target application 122, operation 123, target object 124, application position 125, application size 126, capture image path 127, enlarged image path 128, and extracted character string 129. Include in one entry.

時間121には、ログが取得された日時が格納される。対象アプリ122には、ログが取得されたときにアクティブなアプリケーション114の名称(または識別子)が格納される。   The time 121 stores the date and time when the log was acquired. The target application 122 stores the name (or identifier) of the application 114 that is active when the log is acquired.

操作123には、入力デバイス21から特定の操作(マウス操作またはキーボード操作)を受け付けたときに取得した操作情報が格納される。入力デバイス21の操作がマウス操作の場合には、表示装置20のスクリーン上の座標(X、Y)が格納される。また、入力デバイス21の操作がキーボード操作の場合には、受け付けた文字コードまたは文字が格納される。対象オブジェクト124には、入力フィールドなどの操作対象の要素の名称が格納される。   The operation 123 stores operation information acquired when a specific operation (mouse operation or keyboard operation) is received from the input device 21. When the operation of the input device 21 is a mouse operation, the coordinates (X, Y) on the screen of the display device 20 are stored. If the operation of the input device 21 is a keyboard operation, the received character code or character is stored. The target object 124 stores the names of elements to be operated, such as input fields.

アプリ位置125には、アクティブなアプリケーション114の基準位置(例えば、左上の基点)に対応するスクリーン上の座標(X、Y)が格納される。アプリサイズ126には、アクティブなアプリケーション114のスクリーン上のウィンドウサイズ(幅:W、高さ:H)が格納される。   The application position 125 stores coordinates (X, Y) on the screen corresponding to the reference position (for example, the upper left base point) of the active application 114. The application size 126 stores the window size (width: W, height: H) on the screen of the active application 114.

キャプチャ画像パス127には、キャプチャ画像が格納された補助記憶装置13のパスが格納される。拡大画像パス128には、拡大キャプチャ画像を格納した補助記憶装置13のパスが格納される。抽出文字列129には、キャプチャ画像または拡大キャプチャ画像から抽出した文字列が格納される。なお、キャプチャ画像や拡大キャプチャ画像をログテーブル120に格納するようにしてもよい。   The captured image path 127 stores the path of the auxiliary storage device 13 in which the captured image is stored. The enlarged image path 128 stores the path of the auxiliary storage device 13 storing the enlarged captured image. The extracted character string 129 stores a character string extracted from the captured image or the enlarged captured image. The capture image and the enlarged capture image may be stored in the log table 120.

図4は、ログ収集部110で行われるログ収集処理の一例を示すフローチャートである。この処理は、図2のステップS2で行われる処理である。   FIG. 4 is a flowchart illustrating an example of the log collection process performed by the log collection unit 110. This process is a process performed in step S2 of FIG.

ログ収集部110は、利用者100が入力デバイス21を操作するのを待ち受ける(S1)。マウスやキーボードなどの入力デバイス21が操作されると、ステップS11へ進む。   The log collection unit 110 waits for the user 100 to operate the input device 21 (S1). When the input device 21 such as a mouse or a keyboard is operated, the process proceeds to step S11.

ステップS11では、ログ収集部110が計算機1に対する入力デバイス21の操作をフックし、当該操作が特定の操作(マウス操作またはキーボード操作)のときには、操作情報をログとして取得する。なお、入力デバイス21の操作は、アプリケーション114やOSが表示装置20に出力する画面に対する操作である。入力デバイス21の操作をフックする技術については、公知または周知の技術を用いれば良いので、詳述はしない。   In step S11, the log collection unit 110 hooks the operation of the input device 21 on the computer 1, and when the operation is a specific operation (mouse operation or keyboard operation), the operation information is acquired as a log. The operation of the input device 21 is an operation on a screen that the application 114 or the OS outputs to the display device 20. The technique for hooking the operation of the input device 21 may be a known technique or a well-known technique and thus will not be described in detail.

マウス操作がマウスクリック(特定の操作)の場合、ログ収集部110は、クリック座標(X,Y)を取得し、日時と、アクティブになっているアプリケーション名等の情報をログとしてログテーブル120に追加する。なお、クリック座標(X,Y)は、表示装置20のスクリーンの絶対座標とする。   When the mouse operation is a mouse click (specific operation), the log collection unit 110 acquires click coordinates (X, Y), and logs information such as the date and time of the application and the active application name in the log table 120. to add. The click coordinates (X, Y) are absolute coordinates of the screen of the display device 20.

ログ収集部110は、日時をログテーブル120の時間121へ格納し、アクティブなアプリケーション名を対象アプリ122へ格納し、クリック位置を操作123に格納し、操作対象の要素の名称を対象オブジェクト124へ格納し、アプリケーション114の基準位置をアプリ位置125へ格納し、アプリケーション114のウィンドウサイズをアプリサイズ126に格納する。   The log collecting unit 110 stores the date and time in the time 121 of the log table 120, stores the active application name in the target application 122, stores the click position in the operation 123, and transmits the name of the operation target to the target object 124. Then, the reference position of the application 114 is stored in the application position 125, and the window size of the application 114 is stored in the application size 126.

ステップS12では、画像キャプチャ部111が、アクティブになっているアプリケーション114の画像をキャプチャして、キャプチャ画像を補助記憶装置13に格納し、格納先をログテーブル120のキャプチャ画像パス127に書き込む。キャプチャ画像は、表示装置20のスクリーン全体の画像でも良いし、アプリケーションのアクティブウィンドウの画像でもよい。   In step S12, the image capture unit 111 captures the image of the active application 114, stores the captured image in the auxiliary storage device 13, and writes the storage destination in the captured image path 127 of the log table 120. The captured image may be an image of the entire screen of the display device 20 or an image of the active window of the application.

ステップS13では、文字列抽出部112が、ステップS12で取得したキャプチャ画像に含まれる文字列を抽出して、ログテーブル120の抽出文字列129に書き込む。なお、キャプチャ画像からの文字列の抽出は、周知又は公知の文字認識技術を適用すれば良い。   In step S13, the character string extraction unit 112 extracts the character string included in the captured image acquired in step S12 and writes the extracted character string in the extracted character string 129 of the log table 120. In addition, the extraction of the character string from a capture image should just apply a well-known or well-known character recognition technique.

ステップS14では、画像キャプチャ部111が、クリック座標(X,Y)の周辺について所定のサイズでキャプチャし、拡大キャプチャ画像として補助記憶装置13に格納し、格納先をログテーブル120の拡大画像パス128に書き込む。拡大キャプチャ画像は、例えば、クリック座標を含む予め設定した長方形の画像であり、クリック座標の周辺の50×10ドットなどの領域の画像である。   In step S14, the image capture unit 111 captures the periphery of the click coordinates (X, Y) in a predetermined size, stores the captured image as the enlarged captured image in the auxiliary storage device 13, and stores the storage location in the enlarged image path 128 of the log table 120. Write to The enlarged capture image is, for example, a preset rectangular image including click coordinates, and is an image of an area such as 50 × 10 dots around the click coordinates.

ステップS15では、文字列抽出部112が、ステップS14で取得した拡大キャプチャ画像に含まれる文字列を抽出して、ログテーブル120の抽出文字列129に追加する。   In step S15, the character string extraction unit 112 extracts the character string included in the enlarged captured image acquired in step S14 and adds the character string to the extracted character string 129 of the log table 120.

ステップS16では、ログ収集部110がキーボード操作(特定の操作)をフックして操作情報を取得する。ログ収集部110は、押し下げられたキーの値と、日時と、アクティブになっているアプリケーション名等の情報含めてログテーブル120に追加する。   In step S16, the log collection unit 110 hooks a keyboard operation (specific operation) to acquire operation information. The log collecting unit 110 adds information such as the value of the pressed key, the date and time, and the name of the active application to the log table 120.

すなわち、ログ収集部110は、日時をログテーブル120の時間121へ格納し、アクティブなアプリケーション名を対象アプリ122へ格納し、キーの値を操作123に格納し、操作対象の要素の名称を対象オブジェクト124へ格納し、アプリケーション114の基準位置をアプリ位置125へ格納し、アプリケーション114のウィンドウサイズをアプリサイズ126に格納する。   That is, the log collection unit 110 stores the date and time in the time 121 of the log table 120, stores the active application name in the target application 122, stores the value of the key in the operation 123, and targets the name of the operation target element. It stores in the object 124, stores the reference position of the application 114 in the application position 125, and stores the window size of the application 114 in the application size 126.

ステップS17では、画像キャプチャ部111が、キーボード操作の際にアクティブになっているアプリケーションの画像をキャプチャして、キャプチャ画像を補助記憶装置13に格納し、格納先をログテーブル120のキャプチャ画像パス127に書き込む。キャプチャ画像は、上記マウス操作と同様に取得される。   In step S17, the image capture unit 111 captures an image of an application that is active at the time of keyboard operation, stores the captured image in the auxiliary storage device 13, and stores the storage location in the captured image path 127 of the log table 120. Write to The captured image is acquired in the same manner as the mouse operation.

ステップS18では、文字列抽出部112が、キーボード操作の場合にステップS17で取得したキャプチャ画像に含まれる文字列を抽出して、ログテーブル120の抽出文字列129に書き込む。   In step S18, the character string extraction unit 112 extracts the character string included in the captured image acquired in step S17 in the case of the keyboard operation, and writes the extracted character string in the extracted character string 129 of the log table 120.

ステップS19では、画像キャプチャ部111が、キーボード操作の対象オブジェクト124の周辺について所定のサイズでキャプチャし、拡大キャプチャ画像として補助記憶装置13に格納し、格納先をログテーブル120の拡大画像パス128に書き込む。拡大キャプチャ画像は、上記マウス操作の拡大キャプチャ画像と同様である。   In step S19, the image capture unit 111 captures the periphery of the target object 124 for keyboard operation with a predetermined size, stores it as the enlarged captured image in the auxiliary storage device 13, and stores the storage destination in the enlarged image path 128 of the log table 120. Write. The enlarged captured image is similar to the enlarged captured image of the mouse operation.

ステップS20では、文字列抽出部112が、キーボード操作の場合に、ステップS19で取得した拡大キャプチャ画像に含まれる文字列を抽出して、ログテーブル120の抽出文字列129に追加する。   In step S20, in the case of keyboard operation, the character string extraction unit 112 extracts the character string included in the enlarged captured image acquired in step S19 and adds it to the extracted character string 129 of the log table 120.

次に、ステップS21では、ログ収集部110が、ログの収集を終了するか否かを判定する。所定のキーボード操作または所定のマウス操作が行われていなければ、ログの収集を続行するためステップS10に戻って上記処理を繰り返す。一方、所定のキーボード操作または所定のマウス操作が行われた場合には、ログの収集処理を終了する。   Next, in step S21, the log collection unit 110 determines whether to end collection of logs. If a predetermined keyboard operation or a predetermined mouse operation has not been performed, the process returns to step S10 to repeat the above processing to continue log collection. On the other hand, when a predetermined keyboard operation or a predetermined mouse operation is performed, the log collection process is ended.

上記処理によって、マウス操作(マウスクリック)またはキーボード操作(キーの押し下げ)を契機として、アクティブなアプリケーション114のキャプチャ画像215と拡大画像216が取得され、各キャプチャ画像に含まれる文字列が抽出文字列217に格納される。   In the above process, the captured image 215 and the enlarged image 216 of the active application 114 are acquired in response to a mouse operation (mouse click) or a keyboard operation (key depression), and the character string included in each captured image is an extracted character string It is stored in 217.

本実施例では、マウス操作やキーボード操作が発生すると、自動的に操作の内容がログとしてログテーブル120に蓄積される。   In the present embodiment, when a mouse operation or a keyboard operation occurs, the content of the operation is automatically accumulated in the log table 120 as a log.

図5は、ログ表示画面210の一例を示す図である。この画面は、図2のステップS4で表示装置20に出力される。   FIG. 5 is a diagram showing an example of the log display screen 210. As shown in FIG. This screen is output to the display device 20 in step S4 of FIG.

ログ表示画面210は、再現211と、時間212と、対象アプリ213と、操作214と、キャプチャ画像215と、拡大画像216と、抽出文字列217と、条件218と、停止219をひとつのエントリに含む。   The log display screen 210 includes the reproduction 211, the time 212, the target application 213, the operation 214, the capture image 215, the enlarged image 216, the extracted character string 217, the condition 218 and the stop 219 in one entry. Including.

再現211には、再現の条件設定時に、再現するログを選択するためのチェックボックスが表示される。時間212には、ログが取得された時刻が格納され、ログテーブル120の時間121に対応する。   The reproduction 211 displays a check box for selecting a log to be reproduced when setting conditions for reproduction. The time 212 stores the time when the log is acquired, and corresponds to the time 121 of the log table 120.

対象アプリ213には、ログ取得時のアクティブなアプリケーション114の名称が表示され、ログテーブル120の対象アプリ122に対応する。操作214には、マウスクリックの座標またはキーボード操作のキーの値が表示され、ログテーブル120の操作123に対応する。   The target application 213 displays the name of the active application 114 at the time of log acquisition, and corresponds to the target application 122 in the log table 120. The operation 214 displays the coordinates of mouse click or the value of the keyboard operation key, and corresponds to the operation 123 of the log table 120.

キャプチャ画像215には、アクティブなアプリケーション114を含むキャプチャ画像が縮小表示される。キャプチャ画像215は、ログテーブル120のキャプチャ画像パス127でオブジェクトに関連付けられる。   In the captured image 215, the captured image including the active application 114 is displayed in a reduced size. Captured image 215 is associated with the object at captured image path 127 of log table 120.

拡大画像216には、マウス操作またはキーボード操作の対象となるアプリケーション114の拡大キャプチャ画像が縮小表示される。拡大画像216は、ログテーブル120の拡大画像パス128でオブジェクトに関連付けられる。   In the magnified image 216, a magnified captured image of the application 114 to be subjected to mouse operation or keyboard operation is displayed in a reduced size. The magnified image 216 is associated with the object at the magnified image path 128 of the log table 120.

抽出文字列217は、キャプチャ画像または拡大キャプチャ画像に含まれる文字列が表示される。抽出文字列217は、ログテーブル120の抽出文字列129に対応する。条件218には、後述するように、再現するログを検証するための条件を設定することができる。停止219には、再現する際に、一時停止させるログを指定することができる。   The extraction string 217 displays a string included in the capture image or the enlarged capture image. The extracted character string 217 corresponds to the extracted character string 129 of the log table 120. In the condition 218, as described later, conditions for verifying a log to be reproduced can be set. In the stop 219, it is possible to specify a log to be paused when reproducing.

なお、再現211と、条件218と、停止219のフィールドは、ログテーブル120に追加しても良いし、時間212に対応付けてメモリ12に格納しても良い。   The fields of the reproduction 211, the condition 218, and the stop 219 may be added to the log table 120, or may be stored in the memory 12 in association with the time 212.

図6は、再現条件と検証条件を設定する際のログ表示画面210の一例を示す図である。ログ表示画面210は、図2のステップS5で表示装置20に出力される。再現条件を設定する際には、利用者100が入力デバイス21を操作して、ログ表示画面210の再現211のチェックボックスにチェックを入れて、操作の再現を実行する行(ログ)を選択する。本実施例では、図中L2〜L6の行が、再現の対象として選択された例を示す。   FIG. 6 is a view showing an example of the log display screen 210 when setting the reproduction condition and the verification condition. The log display screen 210 is output to the display device 20 in step S5 of FIG. When setting the reproduction condition, the user 100 operates the input device 21, puts a check in the check box of the reproduction 211 of the log display screen 210, and selects a line (log) for executing the reproduction of the operation. . In the present embodiment, an example is shown in which the lines L2 to L6 in the figure are selected as objects to be reproduced.

また、利用者100は入力デバイス21を操作して、ログ表示画面210の条件218に検証条件を設定することができる。図示の例では、行L2の抽出文字列217が「アプリ1」に一致することが再現時の検証条件として設定され、行L6の抽出文字列217の値が「111±10%」であることが検証条件として設定される。   Further, the user 100 can operate the input device 21 to set a verification condition in the condition 218 of the log display screen 210. In the illustrated example, it is set that the extracted character string 217 of the line L2 matches “application 1” as a verification condition at the time of reproduction, and the value of the extracted character string 217 of the line L6 is “111 ± 10%” Is set as a verification condition.

なお、本実施例では、利用者100の操作によって、各行毎に再現を行うか否かの条件や、再現の一時停止などの条件をログの再現条件として設定され、再現時の文字列の比較や値の比較を行う条件を検証条件として設定することができる。   In the present embodiment, the conditions of whether or not to reproduce each row, and conditions such as temporary suspension of reproduction are set as log reproduction conditions by the operation of the user 100, and the comparison of character strings at the time of reproduction is made. A condition for comparing values or values can be set as a verification condition.

ログ表示画面210は、再現の繰り返し回数を指定する回数繰り返し302と、ログの再現を開始する実行ボタン301を含む。利用者100は入力デバイス21で実行ボタン301をクリックすることで、再現処理を開始させることができる。   The log display screen 210 includes a repetition 302 for specifying the number of repetitions of reproduction and an execution button 301 for starting reproduction of the log. The user 100 can start the reproduction process by clicking the execution button 301 on the input device 21.

図7は、ログの再現処理の一例を示すフローチャートである。この処理は、図2のステップS6で行われる処理である。   FIG. 7 is a flowchart showing an example of log reproduction processing. This process is a process performed in step S6 of FIG.

ステップS31では、ログ再現部113が、ログ表示画面210で設定された再現211のチェックボックスがチェックされた再現対象行の情報と、条件218に設定された検証条件を取得する。   In step S31, the log reproduction unit 113 acquires information on the reproduction target row in which the check box of the reproduction 211 set on the log display screen 210 is checked and the verification condition set in the condition 218.

ステップS32では、ログ再現部113が、再現対象行に対応するログテーブル120を参照して、各フィールドの値を変数に設定する。すなわち、ログ再現部113は、ログテーブル120の対象アプリ122の内容を対象アプリApに設定し、操作123の内容を操作Opに設定し、対象オブジェクト124の内容を対象オブジェクトObに設定し、アプリ位置125の内容をアプリ位置Psに設定し、アプリサイズ126の内容をアプリサイズSzに設定し、キャプチャ画像パス127の内容をキャプチャ画像パスP0に設定し、拡大画像パス128の内容を拡大画像パスP1に設定し、抽出文字列217の内容を抽出文字列Wdに設定する。   In step S32, the log reproduction unit 113 sets the value of each field as a variable with reference to the log table 120 corresponding to the reproduction target row. That is, the log reproduction unit 113 sets the content of the target application 122 of the log table 120 to the target application Ap, sets the content of the operation 123 to the operation Op, sets the content of the target object 124 to the target object Ob, and the application The content of the position 125 is set to the application position Ps, the content of the application size 126 is set to the application size Sz, the content of the capture image path 127 is set to the capture image path P0, and the content of the enlarged image path 128 is an enlarged image path It is set to P1 and the content of the extracted character string 217 is set to the extracted character string Wd.

次にステップS33では、ログ再現部113が、キャプチャ画像パスP0に基づいて補助記憶装置13からキャプチャ画像を取得し、拡大画像パスP1に基づいて補助記憶装置13から拡大キャプチャ画像を取得してメモリ12に保持する。   Next, in step S33, the log reproduction unit 113 acquires a captured image from the auxiliary storage device 13 based on the captured image path P0, and acquires an enlarged captured image from the auxiliary storage device 13 based on the enlarged image path P1. Hold on 12.

ステップS34では、ログ再現部113が、現在計算機1で実行中のプロセスから対象アプリApを検索する。そして、実行プロセス中に対象アプリApが存在する場合、当該対象アプリApを最前面(アクティブ)に移動して、アプリケーション114の位置をアプリ位置Psに設定し、ウィンドウサイズをアプリサイズSzに設定する。   In step S34, the log reproduction unit 113 searches the target application Ap from the process currently being executed by the computer 1. Then, when the target application Ap is present during the execution process, the target application Ap is moved to the forefront (active), the position of the application 114 is set to the application position Ps, and the window size is set to the application size Sz. .

一方、現在計算機1で実行中のプロセスに対象アプリApが存在しない場合には、ログの再現が不能であるので、再現処理を終了する。   On the other hand, when the target application Ap does not exist in the process currently being executed by the computer 1, the reproduction of the log is impossible, so the reproduction processing is ended.

ステップS35では、ログ再現部113が、操作Opの内容が座標の場合は、マウス操作であるので、取得した座標の位置までマウスポインタを移動する。一方、ログ再現部113は、操作Opの内容がキーボード操作の場合は、対象オブジェクトObを入力位置に設定する。   In step S35, if the content of the operation Op is coordinates, the log reproduction unit 113 moves the mouse pointer to the acquired coordinates because the operation is mouse operation. On the other hand, when the content of the operation Op is a keyboard operation, the log reproduction unit 113 sets the target object Ob as the input position.

ステップS36では、画像キャプチャ部111が、アクティブなアプリケーション114の画像をキャプチャしてキャプチャ画像C0とする。次に、画像キャプチャ部111はキャプチャ画像C0を文字列抽出部112に送信する。文字列抽出部112は、ステップS37で、受信したキャプチャ画像C0から文字列W0を抽出する。   In step S36, the image capturing unit 111 captures an image of the active application 114 and sets it as a captured image C0. Next, the image capture unit 111 transmits the captured image C0 to the character string extraction unit 112. In step S37, the character string extraction unit 112 extracts the character string W0 from the received captured image C0.

次に、ステップS38では、画像キャプチャ部111が、マウスポインタの座標または対象オブジェクトObの周辺の画像を所定のサイズでキャプチャしてキャプチャ画像C1とする。   Next, in step S38, the image capturing unit 111 captures the coordinates of the mouse pointer or an image around the target object Ob at a predetermined size, and sets the captured image as a captured image C1.

次に、画像キャプチャ部111はキャプチャ画像C1を文字列抽出部112に送信する。文字列抽出部112は、ステップS39で、受信したキャプチャ画像C1から文字列W1を抽出する。   Next, the image capture unit 111 transmits the captured image C1 to the character string extraction unit 112. The character string extraction unit 112 extracts the character string W1 from the received captured image C1 in step S39.

ステップS40では、ログ再現部113が、次のオブジェクトを比較する。
・キャプチャ画像パスP0のキャプチャ画像と、再現処理で取得したキャプチャ画像C0
・拡大画像パスP1の拡大キャプチャ画像と、再現処理で取得したキャプチャ画像C1
・抽出文字列Wdと再現処理で取得した文字列W0、W1
In step S40, the log reproduction unit 113 compares the next object.
・ Capture image of capture image path P0 and capture image C0 acquired by reproduction processing
An enlarged captured image of enlarged image path P1 and a captured image C1 acquired by reproduction processing
・ Extraction character string Wd and character strings W0 and W1 acquired by reproduction processing

ログ再現部113は、上記3種類のオブジェクトの比較結果が一致、または部分一致の場合には、操作Opに対応するマウス操作またはキーボード操作を実行してから、ステップS41に進む。すなわち、ログ再現部113は、キャプチャ画像と文字列の検証条件を満足し、ログの再現が正常に行われたと判定して、ログの入力を再現する。   If the comparison result of the three types of objects is a match or a partial match, the log reproduction unit 113 executes the mouse operation or the keyboard operation corresponding to the operation Op, and then proceeds to step S41. That is, the log reproducing unit 113 satisfies the verification condition of the captured image and the character string, determines that the reproduction of the log is normally performed, and reproduces the input of the log.

一方、ログ再現部113は、上記3種類のオブジェクトの比較結果が全て一致しない場合には、ログの再現が正常に行われなかったと判定して、図9に示すダイアログD1を表示装置20に出力する。ダイアログD1を出力した後、利用者100が「終了」を選択した場合、ログ再現部113は再現処理を終了する。利用者100が「続行」を選択した場合、ログ再現部113はステップS41に進む。   On the other hand, when all the comparison results of the three types of objects do not match, the log reproduction unit 113 determines that the reproduction of the log is not properly performed, and outputs the dialog D1 shown in FIG. 9 to the display device 20. Do. When the user 100 selects "end" after outputting the dialog D1, the log reproduction unit 113 ends the reproduction processing. If the user 100 selects “continue”, the log reproduction unit 113 proceeds to step S41.

ステップS41では、ログ再現部113が、全ての再現対象行について処理を実行したか否かを判定し、完了していなければステップS32へ戻って、次の行について上記処理を繰り返し、そうでなければ処理を終了する。   In step S41, the log reproducing unit 113 determines whether or not the process has been performed for all the reproduction target lines, and if not completed, the process returns to step S32, and the above process is repeated for the next line. End the process.

上記処理によって、ログテーブル120から再現211のチェックボックスで選択した行について選択することができ、ログ再現部113が、操作Opを再現する直前に取得したキャプチャ画像C0と拡大したキャプチャ画像C1を取得し、これらのキャプチャ画像と、ログ収集部110が取得したキャプチャ画像(P0)と拡大キャプチャ画像(P1)とを比較し、さらに、ログ収集部110が取得した文字列Wdと、ログ再現部113が取得した文字列W0、W1を比較することで、検証の精度を向上させることができる。   By the above process, it is possible to select a row selected from the log table 120 with the checkbox of the reproduction 211, and the log reproduction unit 113 acquires the captured image C0 acquired immediately before reproducing the operation Op and the enlarged captured image C1. These captured images are compared with the captured image (P0) acquired by the log collecting unit 110 and the enlarged captured image (P1), and the character string Wd acquired by the log collecting unit 110 and the log reproduction unit 113. The accuracy of the verification can be improved by comparing the acquired character strings W0 and W1.

このように、ログ収集部110は、マウス操作やキーボード操作をトリガとして、キャプチャ画像と文字列の取得を実施し、ログ再現部113も、ログテーブル120の内容に従ってマウス操作やキーボード操作を再現し、操作Opを実行する前にキャプチャ画像と文字列の取得を行う。   Thus, the log collecting unit 110 performs acquisition of a captured image and a character string triggered by a mouse operation or a keyboard operation, and the log reproducing unit 113 also reproduces the mouse operation or the keyboard operation according to the contents of the log table 120. Perform acquisition of the captured image and the character string before executing the operation Op.

そして、ログ収集部110が取得したキャプチャ画像と文字列と、ログ再現部113が取得したキャプチャ画像と文字列を比較することで、操作の内容を自動的かつ確実に記録して、ログの再現時には確実に検証を行うことが可能となる。   Then, by comparing the captured image and the character string acquired by the log collection unit 110 with the captured image and the character string acquired by the log reproduction unit 113, the content of the operation is recorded automatically and reliably, and the reproduction of the log is performed. Sometimes it is possible to do verifications reliably.

また、ログの再現時には図10に示すログ表示画面210において、条件218に検証の条件を設定することができるので、エラーや問題点の検出を容易に実現することができる。検証の条件としては、図8に示すような内容を設定することができる。   Further, at the time of reproduction of the log, since the condition of verification can be set in the condition 218 on the log display screen 210 shown in FIG. 10, detection of an error or a problem can be easily realized. As the verification condition, contents as shown in FIG. 8 can be set.

検証の条件は、図8で示すように、条件指定方法401と意味402で次のように定義される。条件指定方法401=「一致」の場合、ログの収集処理で取得したキャプチャ画像215と、ログの再現処理で収集したキャプチャ画像C0が一致していれば、ログ再現部113は検証条件を満足したと判定する。一方、キャプチャ画像215と、キャプチャ画像C0が一致しなければ、ログ再現部113は図9に示したダイアログD1を出力して、検証条件を満足していないことを通知する。   The verification conditions are defined as follows by the condition specification method 401 and the meaning 402 as shown in FIG. If the condition specification method 401 = "match", the log reproduction unit 113 satisfied the verification condition if the captured image 215 acquired in the log collection processing and the captured image C0 collected in the log reproduction processing match. It is determined that On the other hand, if the captured image 215 and the captured image C0 do not match, the log reproducing unit 113 outputs the dialog D1 shown in FIG. 9 to notify that the verification condition is not satisfied.

条件指定方法401=「文字列A、一致」の場合、ログの収集処理で取得した抽出文字列129と、「文字列A」が一致していれば、ログ再現部113は検証条件を満足したと判定する。一方、抽出文字列129と、「文字列A」が一致しなければ、ログ再現部113は図9に示したダイアログD1を出力して、検証条件を満足していないことを通知する。   In the case of the condition specification method 401 = "character string A, match", the log reproducing unit 113 satisfied the verification condition if the extracted character string 129 acquired in the log collection processing matches "character string A". It is determined that On the other hand, if the extracted character string 129 and the “character string A” do not match, the log reproducing unit 113 outputs the dialog D1 shown in FIG. 9 to notify that the verification condition is not satisfied.

なお、図7の検証条件は、上記キャプチャ画像の「一致」と、「文字列A、一致」をデフォルトの検証条件とした例を示している。   The verification condition in FIG. 7 shows an example in which “match” of the captured image and “character string A, match” are set as default verification conditions.

条件指定方法401=「文字列N0、文字列N1、………、一致」の場合、ログの収集処理で取得した抽出文字列129と、「文字列N0、文字列N1、…」の複数の文字列のうちいずれかが一致していれば、ログ再現部113は検証条件を満足したと判定する。一方、抽出文字列129が「文字列N0、文字列N1、…」のいずれかと一致しなければ、ログ再現部113は図9に示したダイアログD1を出力して、検証条件を満足していないことを通知する。   In the case of the condition specification method 401 = "character string N0, character string N1, ..., match," multiple extracted character strings 129 acquired in the log collection process and "character string N0, character string N1, ..." If one of the character strings matches, the log reproducing unit 113 determines that the verification condition is satisfied. On the other hand, if the extracted character string 129 does not match any of “character string N0, character string N1,...”, The log reproducing unit 113 outputs the dialog D1 shown in FIG. 9 and the verification condition is not satisfied. Notify that.

条件指定方法401=「数値B±10」の場合、ログの収集処理で取得した抽出文字列129を数値に変換した値が、「数値B±10」%の範囲にあれば、ログ再現部113は検証条件を満足したと判定する。一方、抽出文字列129を数値に変換した値が、「B±10」%の範囲を超えていれば、ログ再現部113は図9に示したダイアログD1を出力して、検証条件を満足していないことを通知する。   When the condition specification method 401 = "numeric value B ± 10", if the value obtained by converting the extracted character string 129 acquired in the log collection process into a numeric value is within the range of "numeric value B ± 10", the log reproduction unit 113 It is determined that the verification condition is satisfied. On the other hand, if the value obtained by converting the extracted character string 129 into a numerical value exceeds the range of “B ± 10”%, the log reproduction unit 113 outputs the dialog D1 shown in FIG. 9 and the verification condition is satisfied. Notify that you are not

条件指定方法401=「数値C以上数値D以下」の場合、ログの収集処理で取得した抽出文字列129を数値に変換した値が、数値C以上かつ数値D以下であれば、ログ再現部113は検証条件を満足したと判定する。一方、抽出文字列129を数値に変換した値が、数値Cを超えるか、数値D未満の場合には、ログ再現部113は図9に示したダイアログD1を出力して、検証条件を満足していないことを通知する。   In the case of the condition specification method 401 = "more than C and less than D", the log reproduction unit 113 if the value obtained by converting the extracted character string 129 acquired in the log collection process into a value is more than C and less than D. It is determined that the verification condition is satisfied. On the other hand, if the value obtained by converting the extracted character string 129 into a numerical value exceeds the numerical value C or is smaller than the numerical value D, the log reproduction unit 113 outputs the dialog D1 shown in FIG. Notify that you are not

条件指定方法401=「日付E以上日付F以下」の場合、ログの収集処理で取得した抽出文字列129を日付に変換した値が、日付E以上かつ日付F以下であれば、ログ再現部113は検証条件を満足したと判定する。一方、抽出文字列129を数値に変換した値が、日付Eを超えるか、日付F未満の場合には、ログ再現部113は図9に示したダイアログD1を出力して、検証条件を満足していないことを通知する。   In the case of the condition specification method 401 = “date E or more and date F or less”, the log reproduction unit 113 if the value obtained by converting the extracted character string 129 acquired in the log collection process to date is more than date E and less than date F. It is determined that the verification condition is satisfied. On the other hand, if the value obtained by converting the extracted character string 129 into a numerical value exceeds the date E or is less than the date F, the log reproduction unit 113 outputs the dialog D1 shown in FIG. 9 to satisfy the verification condition. Notify that you are not

<停止処理>
図10は、本実施例の変形例1を示し、停止を含む再現条件と検証条件を設定するログ表示画面210の一例を示す図である。
<Stop process>
FIG. 10 is a view showing a modification 1 of the present embodiment, and showing an example of a log display screen 210 for setting a reproduction condition including a stop and a verification condition.

ログ表示画面210は、図2のステップS5で表示装置20に出力される。再現条件を設定する際には、前記利用者100が入力デバイス21を操作して、ログ表示画面210の再現211のチェックボックスにチェックを入れて、操作の再現を実行する行を選択する。図示の例では図中L1〜L4の行(ログ)が、再現の対象として選択された例を示す。利用者100は入力デバイス21で実行ボタン301をクリックすることで、再現処理を開始させることができる。   The log display screen 210 is output to the display device 20 in step S5 of FIG. When setting the reproduction condition, the user 100 operates the input device 21 to put a check in the check box of the reproduction 211 of the log display screen 210 to select a line on which the reproduction of the operation is to be performed. In the illustrated example, lines (logs) of L1 to L4 in the figure indicate an example selected as a target of reproduction. The user 100 can start the reproduction process by clicking the execution button 301 on the input device 21.

また、利用者100は入力デバイス21を操作して、ログ表示画面210の停止219に一時停止させるチェックボックスをチェックすることができる。図示の例では、行L3でログの再現を一次的に停止させる例を示す。   In addition, the user 100 can operate the input device 21 to check a check box for pausing the stop 219 of the log display screen 210. In the illustrated example, an example in which the reproduction of the log is temporarily stopped at line L3 is shown.

ログ表示画面210の停止219でチェックボックスをチェックすることで、所望のログで一時停止させて、計算機1の操作を検証することができる。   By checking the check box at the stop 219 of the log display screen 210, the operation of the computer 1 can be verified by pausing the desired log.

また、利用者100は入力デバイス21を操作して、ログ表示画面210の回数繰り返し302に繰り返しの回数を設定することができる。利用者100は、回数繰り返し302に所望の値を設定して実行ボタン301をクリックすることで、ログ再現部113は再現211がチェックされたログについて、回数繰り返し302まで再現を繰り返す。   Further, the user 100 can operate the input device 21 to set the number of repetitions in the number of repetitions 302 of the log display screen 210. The user 100 sets a desired value to the number of repetitions 302 and clicks the execution button 301, whereby the log reproducing unit 113 repeats the reproduction to the number of repetitions 302 for the log for which the reproduction 211 is checked.

図11は、停止を含むログの再現処理の一例を示すフローチャートである。この処理は、図7に示したフローチャートのステップS40をステップS50に置き換えたもので、その他のステップS31〜S39、S41は、図7と同様である。   FIG. 11 is a flowchart showing an example of a log reproduction process including stop. This process is obtained by replacing step S40 of the flowchart shown in FIG. 7 with step S50, and the other steps S31 to S39 and S41 are the same as those in FIG.

ステップS50では、ログ再現部113が、キャプチャ画像パスP0のキャプチャ画像と、再現処理で取得したキャプチャ画像C0を比較し、拡大画像パスP1のキャプチャ画像と、再現処理で取得したキャプチャ画像C1を比較し、抽出文字列Wdと再現処理で取得した文字列W0、W1を比較する。ログ再現部113は、これら3つの比較結果が一致または部分一致の場合には、当該ログの停止219(図中St)がチェックされているか否かを判定する。   In step S50, the log reproduction unit 113 compares the capture image of the capture image path P0 with the capture image C0 acquired by the reproduction processing, and compares the capture image of the enlarged image path P1 with the capture image C1 acquired by the reproduction processing Then, the extracted character string Wd is compared with the character strings W0 and W1 acquired in the reproduction processing. When the three comparison results indicate a match or a partial match, the log reproduction unit 113 determines whether the stop 219 (St in the drawing) of the log is checked.

ログ再現部113は、当該ログの停止219(図中St)がチェックされていなければ、前記図7と同様にしてマウス操作またはキーボード操作を実行する。一方、当該ログの停止219(図中St)がチェックされていた場合、ログ再現部113は、図12に示す確認ダイアログD2を表示して、利用者100の操作を待ち受ける。   If the stop 219 (St in the figure) of the log is not checked, the log reproducing unit 113 executes the mouse operation or the keyboard operation in the same manner as in FIG. On the other hand, when the stop 219 (St in the drawing) of the log is checked, the log reproduction unit 113 displays the confirmation dialog D2 shown in FIG. 12 and waits for the operation of the user 100.

利用者100が確認ダイアログD2の「実行」をクリックすることで上記マウス操作またはキーボード操作を実行してからステップS41へ進む。利用者100が確認ダイアログD2の「終了」をクリックした場合には、処理を終了する。   After the user 100 executes the mouse operation or the keyboard operation by clicking “execute” in the confirmation dialog D2, the process proceeds to step S41. If the user 100 clicks "end" in the confirmation dialog D2, the process ends.

なお、ログ再現部113は、上記3つの比較結果が一致しない場合には、図9に示した確認ダイアログD1を表示して、再現の継続の可否について指令を待ち受ける。ログ再現部113は、受け付けた指令が「続行」であればマウス操作またはキーボード操作の処理を行ってからステップS41へ進む。   If the three comparison results do not match, the log reproducing unit 113 displays the confirmation dialog D1 shown in FIG. 9 and waits for an instruction as to whether or not the reproduction is to be continued. If the received command is “continue”, the log reproducing unit 113 performs processing of mouse operation or keyboard operation, and then proceeds to step S41.

以上のように、ログ再現部113は、ログ表示画面210の停止219がチェックされたログで一時停止を実施することができ、利用者100は所望の位置で再現を一時停止して検証を行うことができる。   As described above, the log reproduction unit 113 can perform the temporary stop with the log in which the stop 219 of the log display screen 210 is checked, and the user 100 temporarily stops the reproduction at a desired position to perform verification. be able to.

<繰り返し処理>
図13は、繰り返しを含むログの再現処理の一例を示すフローチャートである。この処理は、図7に示したフローチャートのステップS40とステップS41の間にステップS60を追加したもので、その他のステップS31〜S41は、図7と同様である。
<Repetitive processing>
FIG. 13 is a flowchart illustrating an example of a log reproduction process including repetition. This process adds step S60 between step S40 and step S41 of the flowchart shown in FIG. 7, and the other steps S31 to S41 are the same as those in FIG.

ステップS60では、図6または図10のログ表示画面210の回数繰り返し302に値が設定されている場合、ログ再現部113は、再現211がチェックされたログを回数繰り返し302の値までログの再現処理を繰り返すことができる。   In step S60, when the value is set in the number of repetitions 302 of the log display screen 210 of FIG. 6 or 10, the log reproduction unit 113 reproduces the log whose reproduction 211 is checked up to the value of the number of repetitions 302. The process can be repeated.

図14は、同じ操作の繰り返しを含むログの再現処理の一例を示す図である。図中ログ表示画面210は、行L1〜L3について再現211がチェックされ、「100+10」の入力の後に、「Backspace」で一文字を削除し、次に「1」を入力する処理を回数繰り返し302の「3」回繰り返す例を示す。なお、図中の表示220は操作対象のフィールドの値を示す。   FIG. 14 is a diagram illustrating an example of log reproduction processing including repetition of the same operation. In the log display screen 210 in the figure, the reproduction 211 is checked for lines L1 to L3, and after the input of “100 + 10”, one character is deleted by “Backspace”, and then the processing of inputting “1” is repeated several times. An example of repeating "3 times" is shown. Note that a display 220 in the drawing indicates the value of the field to be operated.

図示の例では、ログテーブル120の内容に従って、再現対象のログを3回繰り返し、1回目の繰り返し後のログ表示画面210−1から、2回目の繰り返し後のログ表示画面210−2と、3回目の繰り返し後のログ表示画面210−3へ遷移する。   In the illustrated example, the log to be reproduced is repeated three times according to the contents of the log table 120, and from the log display screen 210-1 after the first repetition, the log display screen 210-2 after the second repetition, and 3 A transition is made to the log display screen 210-3 after the second repetition.

図15は、値を変更して繰り返しを行うログの再現処理の一例を示す図である。図中ログ表示画面210は、行L3の操作214が、変数c=1から、増分値c+=2で値を変化させる例を示す。   FIG. 15 is a diagram showing an example of a log reproduction process in which a value is changed and repetition is performed. The log display screen 210 in the drawing shows an example in which the operation 214 of the line L3 changes the value from the variable c = 1 by the increment value c + = 2.

まず、1回目の繰り返しのログ表示画面210−1では、「100+10」の入力の後に、「Backspace」で一文字を削除し、次に「1」を入力する。2回目の繰り返しのログ表示画面210−2では、「100+10」の入力の後に、「Backspace」で一文字を削除し、次に「3」を入力する。   First, on the log display screen 210-1 of the first repetition, after the input of “100 + 10”, one character is deleted by “Backspace”, and then “1” is input. In the log display screen 210-2 of the second repetition, after the input of "100 + 10", one character is deleted by "Backspace", and then "3" is input.

さらに、3回目の繰り返しのログ表示画面210−3では、「100+10」の入力の後に、「Backspace」で一文字を削除し、次に「5」を入力する。   Furthermore, on the third repeated log display screen 210-3, after the input of “100 + 10”, one character is deleted by “Backspace”, and then “5” is input.

このように、ログ表示画面210でログの操作214の内容を編集してから、繰り返して再現することにより、ログの再現のパターンを変化させた場合の検証を行うことができる。   In this manner, after the contents of the log operation 214 are edited on the log display screen 210, it is possible to perform verification in the case where the pattern of reproduction of the log is changed by repeating and reproducing.

図16は、入力を変更して繰り返しを行うログの再現処理の一例を示す図である。図中ログ表示画面210は、行L3の操作214が、値=1を、増分値(3)で入力を変化させる例を示す。   FIG. 16 is a diagram showing an example of a log reproduction process in which the input is changed and repeated. The log display screen 210 in the figure shows an example in which the operation 214 of the line L3 changes the input by the value 1 and the increment value (3).

まず、1回目の繰り返しのログ表示画面210−1では、「100+1」の入力の後に、「Backspace」で一文字を削除し、次に「1」を1回入力する。2回目の繰り返しのログ表示画面210−2では、「100+1」の入力の後に、「Backspace」で一文字を削除し、次に「1」を3回入力する。   First, on the log display screen 210-1 of the first repetition, after the input of “100 + 1”, one character is deleted by “Backspace”, and then “1” is input once. In the log display screen 210-2 of the second repetition, after the input of “100 + 1”, one character is deleted by “Backspace”, and then “1” is input three times.

さらに、3回目の繰り返しのログ表示画面210−3では、「100+10」の入力の後に、「Backspace」で一文字を削除し、次に「1」を6回入力する。   Furthermore, on the third repeated log display screen 210-3, after the input of “100 + 10”, one character is deleted by “Backspace”, and then “1” is input six times.

このように、ログ表示画面210でログの操作214の内容を編集してから、繰り返して再現することにより、入力回数を変化させて、ログの再現のパターンを変化させた場合の検証を行うことができる。   As described above, after the contents of the operation 214 of the log are edited on the log display screen 210, the number of inputs is changed by repeatedly reproducing, and verification is performed when the pattern of reproduction of the log is changed. Can.

なお、上記では、「1」を入力する回数を変化させる例を示したが、これに限定されるものではなく、例えば、カーソルキーの入力回数や方向を変化させてもよく、スプレッドシートの操作の再現に適用することができる。   Although the example in which the number of times of inputting “1” is changed is described above, the present invention is not limited to this. For example, the number of times and direction of cursor key input may be changed. Can be applied to the reproduction of

以上のように、本実施例によれば、マウス操作またはキーボード操作が発生すると、アクティブなアプリケーション114のキャプチャ画像215と拡大画像216が取得された後、各キャプチャ画像に含まれる文字列が抽出文字列217に格納され、自動的に操作の内容がログとしてログテーブル120に蓄積される。   As described above, according to the present embodiment, when a mouse operation or a keyboard operation occurs, the captured image 215 of the active application 114 and the enlarged image 216 are acquired, and then the character string included in each captured image is extracted It is stored in the column 217, and the content of the operation is automatically accumulated in the log table 120 as a log.

そして、ログの再現処理では、選択されたログについて、ログ再現部113が、操作Opを再現する直前に取得したキャプチャ画像C0と拡大したキャプチャ画像C1を取得し、これらのキャプチャ画像と、ログの収集処理で取得されたキャプチャ画像(P0)と拡大キャプチャ画像(P1)とを比較し、さらに、ログの収集処理で取得した文字列Wdと、ログの再現処理で取得した文字列W0、W1を比較することで、計算機1に対する操作が正常に再現されたことを判定することが可能となって、操作を検証する精度を向上させることができる。   Then, in the log reproduction process, the log reproduction unit 113 acquires, for the selected log, the captured image C0 acquired immediately before reproducing the operation Op and the enlarged captured image C1, and these captured images and the log The captured image (P0) acquired in the collection process is compared with the enlarged captured image (P1), and the character string Wd acquired in the log collection process and the character strings W0 and W1 acquired in the log reproduction process are further compared. The comparison makes it possible to determine that the operation on the computer 1 has been successfully reproduced, and the accuracy of verifying the operation can be improved.

また、操作214を編集してから、回数繰り返し302を設定してログの再現処理を実施することで、値や入力を変化させた場合について計算機1に対する操作を検証することができる。   Also, by editing the operation 214, setting the number of repetitions 302 to execute the log reproduction processing can verify the operation on the computer 1 in the case where the value or the input is changed.

すなわち、前記従来例では、操作記録の内容をそのまま再現するだけであるため、操作記録を用いて入力操作を変化させるテストを行うことが難しいという問題があった。これに対して、本実施例では、操作214を編集して繰り返しの再現処理を実施することで、操作や値を変化させる再現処理が可能となる。   That is, in the above-described conventional example, since the content of the operation record is only reproduced as it is, there is a problem that it is difficult to perform a test for changing the input operation using the operation record. On the other hand, in the present embodiment, by editing the operation 214 and performing repetitive reproduction processing, it is possible to perform reproduction processing that changes the operation or the value.

例えば、計算機1での作業をログテーブル120に蓄積し、ログの再現処理を行うことで、作業の手順書の生成を容易に行うことができる。また、単純作業の繰り返しなど、計算機1を用いた作業の問題点を抽出することができる。   For example, by accumulating work in the computer 1 in the log table 120 and performing log reproduction processing, it is possible to easily generate a procedure manual of the work. In addition, it is possible to extract problems in work using the computer 1, such as repetition of simple work.

また、計算機1で取得したログを他の計算機に読み込ませ、他の計算機でログ再現部113を稼働させれば、計算機1で行った操作を他の計算機で実施することができ、例えば、ソフトウェアの設定などの管理業務を自動化することが可能となる。   Also, if the log acquired by the computer 1 is read by another computer and the log reproducing unit 113 is operated by the other computer, the operation performed by the computer 1 can be performed by the other computer, for example, software It is possible to automate management tasks such as setting of

上記実施例では、計算機1で操作のログを収集して、計算機1でログを再現する例を示したが、複数の計算機のログをひとつの計算機が収集して、当該計算機で再現を実施してもよい。   In the above embodiment, an example in which the log of the operation is collected by the computer 1 and the log is reproduced by the computer 1 is shown, but one computer collects logs of a plurality of computers and the reproduction is performed by the computer. May be

なお、本発明は上記した実施例に限定されるものではなく、様々な変形例が含まれる。例えば、上記した実施例は本発明を分かりやすく説明するために詳細に記載したものであり、必ずしも説明した全ての構成を備えるものに限定されるものではない。また、ある実施例の構成の一部を他の実施例の構成に置き換えることが可能であり、また、ある実施例の構成に他の実施例の構成を加えることも可能である。また、各実施例の構成の一部について、他の構成の追加、削除、又は置換のいずれもが、単独で、又は組み合わせても適用可能である。   The present invention is not limited to the embodiments described above, but includes various modifications. For example, the embodiments described above are described in detail in order to illustrate the present invention in an easy-to-understand manner, and are not necessarily limited to those having all the configurations described. Also, part of the configuration of one embodiment can be replaced with the configuration of another embodiment, and the configuration of another embodiment can be added to the configuration of one embodiment. In addition, addition, deletion, or replacement of other configurations may be applied singly or in combination with some of the configurations of the respective embodiments.

また、上記の各構成、機能、処理部、及び処理手段等は、それらの一部又は全部を、例えば集積回路で設計する等によりハードウェアで実現してもよい。また、上記の各構成、及び機能等は、プロセッサがそれぞれの機能を実現するプログラムを解釈し、実行することによりソフトウェアで実現してもよい。各機能を実現するプログラム、テーブル、ファイル等の情報は、メモリや、ハードディスク、SSD(Solid State Drive)等の記録装置、または、ICカード、SDカード、DVD等の記録媒体に置くことができる。   Further, each of the configurations, functions, processing units, processing means, and the like described above may be realized by hardware, for example, by designing part or all of them with an integrated circuit. In addition, each configuration, function, and the like described above may be realized by software by a processor interpreting and executing a program that realizes each function. Information such as a program, a table, and a file for realizing each function can be placed in a memory, a hard disk, a recording device such as an SSD (Solid State Drive), or a recording medium such as an IC card, an SD card, or a DVD.

また、制御線や情報線は説明上必要と考えられるものを示しており、製品上必ずしも全ての制御線や情報線を示しているとは限らない。実際には殆ど全ての構成が相互に接続されていると考えてもよい。   Further, control lines and information lines indicate what is considered to be necessary for the description, and not all control lines and information lines in the product are necessarily shown. In practice, almost all configurations may be considered to be mutually connected.

1 計算機
11 CPU
12 メモリ
13 補助記憶装置
20 表示装置
21 入力デバイス
110 ログ収集部
111 画像キャプチャ部
112 文字列抽出部
113 ログ再現部
114 アプリケーション
120 ログテーブル
1 Computer 11 CPU
12 Memory 13 Auxiliary Storage Device 20 Display Device 21 Input Device 110 Log Collection Unit 111 Image Capture Unit 112 Character String Extraction Unit 113 Log Reproduction Unit 114 Application 120 Log Table

Claims (15)

プロセッサとメモリを有する計算機であって、
当該計算機で稼働するプログラムが出力する画面に対する操作をフックして、当該操作が特定の操作の場合には、当該操作の情報をログとして記憶するログ収集部と、
前記プログラムが稼働しているときに、前記ログを読み込んで前記画面に対する操作を再現するログ再現部と、を有し、
前記ログ収集部は、
前記特定の操作に対応する画面の第1のキャプチャ画像を取得し、前記第1のキャプチャ画像に含まれる第1の文字列を抽出して前記ログに格納することを特徴とする計算機。
A computer having a processor and a memory,
A log collection unit that hooks an operation on a screen output by a program operated by the computer and stores information of the operation as a log when the operation is a specific operation;
A log reproducing unit that reads the log and reproduces an operation on the screen when the program is in operation;
The log collecting unit
A computer, comprising: acquiring a first capture image of a screen corresponding to the specific operation; extracting a first character string included in the first capture image; and storing the first character string in the log.
請求項1に記載の計算機であって、
前記ログ再現部は、
読み込んだログが特定の操作の場合には、前記特定の操作に対応する画面の第2のキャプチャ画像を取得し、前記第2のキャプチャ画像に含まれる第2の文字列を抽出し、前記第1のキャプチャ画像と第2のキャプチャ画像を比較し、かつ、前記第1の文字列と第2の文字列を比較して、操作が正常に再現されたか否かを判定することを特徴とする計算機。
The computer according to claim 1, wherein
The log reproduction unit
When the read log is a specific operation, a second capture image of the screen corresponding to the specific operation is acquired, and a second character string included in the second capture image is extracted, It is characterized in that the first captured image and the second captured image are compared, and the first character string and the second character string are compared to determine whether or not the operation has been successfully reproduced. calculator.
請求項1に記載の計算機であって、
前記ログ再現部は、
再現を実行するログの指定と、再現を実行する再現条件を受け付けて、当該再現条件に応じて前記指定されたログの再現を行うことを特徴とする計算機。
The computer according to claim 1, wherein
The log reproduction unit
A computer characterized in that specification of a log for executing reproduction and a reproduction condition for executing reproduction are received, and the specified log is reproduced according to the reproduction condition.
請求項3に記載の計算機であって、
前記再現条件は、
再現を繰り返す繰返し回数であることを特徴とする計算機。
The computer according to claim 3, wherein
The reproduction condition is
A computer characterized in that it is the number of repetitions to repeat the reproduction.
請求項3に記載の計算機であって、
前記再現条件は、
再現中に一時停止を行うことを特徴とする計算機。
The computer according to claim 3, wherein
The reproduction condition is
A computer characterized by performing a pause during reproduction.
請求項4に記載の計算機であって、
前記ログ再現部は、
前記ログの操作内容を編集して、ログの再現のパターンを変更することを特徴とする計算機。
The computer according to claim 4, wherein
The log reproduction unit
A computer characterized by editing an operation content of the log and changing a pattern of reproduction of the log.
請求項1に記載の計算機であって、
前記ログ再現部は、
前記第1の文字列または第1のキャプチャ画像と比較する検証条件を受け付けて、受け付けた検証条件に基づいて、前記ログが正常に再現されたか否かを判定することを特徴とする計算機。
The computer according to claim 1, wherein
The log reproduction unit
A computer, receiving a verification condition to be compared with the first character string or the first capture image, and determining whether the log is reproduced properly based on the received verification condition.
プロセッサとメモリを有する計算機がログを再現するログの再現方法であって、
前記計算機は、当該計算機で稼働するプログラムが出力する画面に対する操作をフックする第1のステップと、
前記計算機は、前記フックした操作が特定の操作の場合には、当該操作の情報をログとして記憶する第2のステップと、
前記計算機は、前記プログラムが稼働しているときに、前記ログを読み込んで前記画面に対する操作を再現する第3のステップと、を含み、
前記第2のステップは、
前記特定の操作に対応する画面の第1のキャプチャ画像を取得し、前記第1のキャプチャ画像に含まれる第1の文字列を抽出して前記ログに格納することを特徴とするログの再現方法。
A method of reproducing a log in which a computer having a processor and memory reproduces the log,
A first step of hooking an operation on a screen output by a program operated by the computer;
The computer stores a second step of storing information of the operation as a log, when the hooked operation is a specific operation.
The computer includes a third step of reading the log and reproducing an operation on the screen when the program is in operation;
The second step is
A method of reproducing a log, comprising: acquiring a first capture image of a screen corresponding to the specific operation; extracting a first character string included in the first capture image; and storing the first character string in the log. .
請求項8に記載のログの再現方法であって、
前記第3のステップは、
読み込んだログが特定の操作の場合には、前記特定の操作に対応する画面の第2のキャプチャ画像を取得し、前記第2のキャプチャ画像に含まれる第2の文字列を抽出し、前記第1のキャプチャ画像と第2のキャプチャ画像を比較し、かつ、前記第1の文字列と第2の文字列を比較して、操作が正常に再現されたか否かを判定することを特徴とするログの再現方法。
A method of reproducing a log according to claim 8, wherein
The third step is
When the read log is a specific operation, a second capture image of the screen corresponding to the specific operation is acquired, and a second character string included in the second capture image is extracted, It is characterized in that the first captured image and the second captured image are compared, and the first character string and the second character string are compared to determine whether or not the operation has been successfully reproduced. How to reproduce the log.
請求項8に記載のログの再現方法であって、
前記第3のステップは、
再現を実行するログの指定と、再現を実行する再現条件を受け付けて、当該再現条件に応じて前記指定されたログの再現を行うことを特徴とするログの再現方法。
A method of reproducing a log according to claim 8, wherein
The third step is
A log reproducing method comprising: specifying a log for executing reproduction; and receiving a reproduction condition for executing reproduction, and reproducing the designated log according to the reproduction condition.
請求項10に記載のログの再現方法であって、
前記再現条件は、
再現を繰り返す繰返し回数であることを特徴とするログの再現方法。
11. A method of reproducing a log according to claim 10, wherein
The reproduction condition is
A method of reproducing a log characterized in that it is the number of repetitions of repetition of reproduction.
請求項10に記載のログの再現方法であって、
前記再現条件は、
再現中に一時停止を行うことを特徴とするログの再現方法。
11. A method of reproducing a log according to claim 10, wherein
The reproduction condition is
A method of reproducing a log characterized in that a pause is performed during reproduction.
請求項11に記載のログの再現方法であって、
前記第3のステップは、
前記ログの操作内容を編集して、ログの再現のパターンを変更することを特徴とするログの再現方法。
A method of reproducing a log according to claim 11, wherein
The third step is
A method of reproducing a log, comprising editing an operation content of the log and changing a pattern of reproduction of the log.
請求項8に記載のログの再現方法であって、
前記第3のステップは、
前記第1の文字列または第1のキャプチャ画像と比較する検証条件を受け付けて、受け付けた検証条件に基づいて、前記ログが正常に再現されたか否かを判定することを特徴とするログの再現方法。
A method of reproducing a log according to claim 8, wherein
The third step is
Receiving a verification condition to be compared with the first character string or the first captured image, and based on the received verification condition, it is determined whether the log is reproduced normally or not. Method.
プロセッサとメモリを有する計算機がログを再現させるためのプログラムを格納した記憶媒体であって、
当該計算機で稼働するプログラムが出力する画面に対する操作をフックする第1のステップと、
前記フックした操作が特定の操作の場合には、当該操作の情報をログとして記憶する第2のステップと、
前記プログラムが稼働しているときに、前記ログを読み込んで前記画面に対する操作を再現する第3のステップと、を含み、
前記第2のステップは、
前記特定の操作に対応する画面の第1のキャプチャ画像を取得し、前記第1のキャプチャ画像に含まれる第1の文字列を抽出して前記ログに格納させる
ことを前記計算機に実行させるためのプログラムを格納した非一時的な計算機読み取り可能な記憶媒体。
A storage medium storing a program for reproducing a log by a computer having a processor and a memory,
A first step of hooking an operation on a screen output by a program operated by the computer;
If the hooked operation is a specific operation, a second step of storing information of the operation as a log;
And a third step of reading the log and reproducing an operation on the screen when the program is in operation;
The second step is
For acquiring the first capture image of the screen corresponding to the specific operation, extracting the first character string included in the first capture image and causing the computer to execute storing the first character string in the log Non-transitory computer readable storage medium storing a program.
JP2017239315A 2017-12-14 2017-12-14 Computer, method of reproducing log, and storage medium Pending JP2019106093A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017239315A JP2019106093A (en) 2017-12-14 2017-12-14 Computer, method of reproducing log, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017239315A JP2019106093A (en) 2017-12-14 2017-12-14 Computer, method of reproducing log, and storage medium

Publications (1)

Publication Number Publication Date
JP2019106093A true JP2019106093A (en) 2019-06-27

Family

ID=67062068

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017239315A Pending JP2019106093A (en) 2017-12-14 2017-12-14 Computer, method of reproducing log, and storage medium

Country Status (1)

Country Link
JP (1) JP2019106093A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023281718A1 (en) * 2021-07-08 2023-01-12 日本電信電話株式会社 Processing device, processing method, and processing program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023281718A1 (en) * 2021-07-08 2023-01-12 日本電信電話株式会社 Processing device, processing method, and processing program

Similar Documents

Publication Publication Date Title
WO2020233053A1 (en) Method, apparatus, device, and storage medium for making test page script
US9841826B2 (en) Automatic test system and test method for computer, record medium, and program product
JP4667386B2 (en) Business model diagram creation support program, business model diagram creation support method, and business model diagram creation support device
JP4395761B2 (en) Program test support apparatus and method
US20150094997A1 (en) Explaining partially illegal combinations in combinatorial models
US11074162B2 (en) System and a method for automated script generation for application testing
JP2016045545A (en) Influence investigation system, influence investigation method, and influence investigation program
US10678864B2 (en) Analysis model preparing system, programming apparatus, and analysis model preparing method
US6240529B1 (en) Debugging method and debugging apparatus for microcomputer system and recording medium on which debug program is recorded
JPH10275093A (en) Program test support device
JP4896909B2 (en) Scenario generation apparatus and program
JP2019106093A (en) Computer, method of reproducing log, and storage medium
KR101460860B1 (en) GUI Test apparatus using test scenario model based on states and the method thereof
JP6016623B2 (en) Software execution result deliverable collection apparatus and method
JP6781688B2 (en) Programs, information processing equipment and screen test systems
KR20150103730A (en) Project data creation device
JP2016081126A (en) Job control language automatic generation program
US11921496B2 (en) Information processing apparatus, information processing method and computer readable medium
JP6739599B1 (en) Information processing program, information processing method, and information processing apparatus
JP2008262473A (en) Equipment maintenance management system
JP7021401B1 (en) Logging support device, logging system, logging support method and program
JP6553461B2 (en) Existing system processing specification extraction device
JP6576873B2 (en) Job net verification apparatus and job net verification method
JP6397800B2 (en) Test support system and test support method
JP2022117426A (en) Device, method, and program for processing information