JP3171165B2 - Recording and reproduction of key operation in program test and operation confirmation method and method - Google Patents

Recording and reproduction of key operation in program test and operation confirmation method and method

Info

Publication number
JP3171165B2
JP3171165B2 JP11608598A JP11608598A JP3171165B2 JP 3171165 B2 JP3171165 B2 JP 3171165B2 JP 11608598 A JP11608598 A JP 11608598A JP 11608598 A JP11608598 A JP 11608598A JP 3171165 B2 JP3171165 B2 JP 3171165B2
Authority
JP
Japan
Prior art keywords
command
key operation
key
program
storage unit
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.)
Expired - Fee Related
Application number
JP11608598A
Other languages
Japanese (ja)
Other versions
JPH11296407A (en
Inventor
和良 弘瀬
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP11608598A priority Critical patent/JP3171165B2/en
Publication of JPH11296407A publication Critical patent/JPH11296407A/en
Application granted granted Critical
Publication of JP3171165B2 publication Critical patent/JP3171165B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、プログラムのテス
ト方式に関し、特に、デグレードテストに用いて好適な
キー操作記録再現方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program test system, and more particularly to a key operation record reproduction system suitable for use in a degrade test.

【0002】[0002]

【従来の技術】デグレードテストは、前回の試験結果と
同一の結果が得られるか否かを確認するために、前回と
同様のキー操作を行い、テスト対象のプログラムによ
り、画面や帳票等に出力される編集結果や計算結果等
を、キー操作と交互に確認することで行っている。
2. Description of the Related Art In a degrade test, the same key operation as in the previous test is performed to check whether or not the same result as the previous test result can be obtained. This is done by alternately checking the editing result, calculation result, and the like that are performed with key operations.

【0003】従来より、一部のオペレーティングシステ
ムでは、キー操作を記録する手段と、キー操作を再生す
る手段と、キー操作情報を格納するキー操作記憶部を有
するキー操作記録・再生方式(プログラム・ユーティリ
ティ)が実装されている。
Conventionally, in some operating systems, a key operation recording / reproducing system (program / program) having a means for recording key operations, a means for reproducing key operations, and a key operation storage unit for storing key operation information. Utilities) have been implemented.

【0004】このキー操作記録・再生方式は次のように
動作する。
[0004] The key operation recording / reproducing system operates as follows.

【0005】すなわち、オペレータがキー操作の記録を
開始する契機を与えると、オペレータがキーボード等入
力装置から入力する文字列やキー操作がキー操作記憶部
に格納され、キー操作の記録を停止する契機を与えるま
で蓄積される。
[0005] That is, when the operator gives an opportunity to start recording of key operation, a character string or key operation inputted by the operator from an input device such as a keyboard is stored in the key operation storage unit, and the recording of key operation is stopped. Is accumulated until you give

【0006】次にキー操作を再生を指示すると、キー操
作を再生する手段は、蓄積されたキー操作情報を読み出
し、あたかもオペレータがキー操作したように、データ
の入力が行われる。
Next, when the key operation is instructed to be reproduced, the means for reproducing the key operation reads out the stored key operation information, and the data is input as if the operator had operated the key.

【0007】なおプログラムの自動テスト方法として、
例えば特開平7−56768号公報には、作業者との対
話を有するプログラムを作業者の介在なくテストできる
ため、プログラムの一部に修正を加えた時、その修正が
画面に影響を及ぼさない程度の修正であれば作業者の介
在なく、自動的に行え、テスト実行中の画面を印刷出力
できるので、テスト実行終了後、プログラムの動作を短
時間で間作可能とした方法が提案されている。
As an automatic program testing method,
For example, Japanese Patent Application Laid-Open No. 7-56768 discloses that a program having a dialogue with a worker can be tested without the intervention of a worker, so that when a part of the program is modified, the modification does not affect the screen. Modifications can be performed automatically without operator intervention, and the screen during the test execution can be printed out, so a method has been proposed that allows the program operation to be completed in a short time after the test execution. .

【0008】[0008]

【発明が解決しようとする課題】しかしながら、この従
来のキー操作記録・再生方式をデグレードテストに適用
した場合、次のような問題点がある。
However, when the conventional key operation recording / reproducing method is applied to a degrade test, there are the following problems.

【0009】すなわち、第1の問題点は、キー操作は確
かに自動化されるものの、プログラム動作が正常である
か確認するために、キー操作の再生中にオペレータの確
認作業(人手の介在)が必要とされるため、オペレータ
は離席することができず、自動化したことの利点がな
い、ということである。
That is, the first problem is that, although the key operation is certainly automated, an operator's confirmation work (manual intervention) is required during the reproduction of the key operation in order to confirm whether the program operation is normal. As required, the operator cannot leave, and there is no advantage of automation.

【0010】その理由は、上記した従来のキー操作記録
・再生方式を用いてデグレードテストを行う場合、プロ
グラム動作が正常であるか確認するに際して、例えば入
力データに基づいて算出した結果を画面に出力するプロ
グラム動作を確認するためディスプレイ装置の監視時
に、自動的に画面のハードコピーを取得する機能手段が
具備されていないためである。
The reason is that, when a degrading test is performed using the above-mentioned conventional key operation recording / reproducing method, for example, a result calculated based on input data is output to a screen when confirming whether the program operation is normal. This is because there is no function means for automatically acquiring a hard copy of the screen when monitoring the display device to confirm the program operation to be performed.

【0011】また第2の問題点は、キー操作の再生の確
認にオペレータの作業の介在が必要とされることから、
作業工数及び作業時間の短縮を図ることが難しい、とい
うことである。
A second problem is that the operator's work is required to confirm the reproduction of the key operation.
That is, it is difficult to reduce the number of work steps and work time.

【0012】したがって、本発明は、上記問題点に鑑み
てなされたものであって、その目的は、デグレードテス
トにおいて、オペレータの介在する作業及び所要時間を
特段に削減することができる方式及び方法を提供するこ
とにある。
SUMMARY OF THE INVENTION Accordingly, the present invention has been made in view of the above problems, and has as its object to provide a method and a method which can significantly reduce the work and time required by an operator in a degrade test. To provide.

【0013】また、本発明の他の目的は、一人のオペレ
ータが複数のデグレード試験を多重に実施可能とする方
式及び方法を提供することにある。
It is another object of the present invention to provide a method and a method for enabling a single operator to perform a plurality of degrading tests in a multiplex manner.

【0014】[0014]

【課題を解決するための手段】前記目的を達成するた
め、本発明の方法は、前回のテスト時に行われたキー操
作の情報を順次時系列的に記憶部に記憶しておき、予め
定められた所定のキーのキー押下情報の直後に、プログ
ラム動作中の状態を確認するのに必要とされるコマンド
を発行するための命令を前記記憶部に挿入することで、
前記テストの終了後のキー操作再現時に、前記記憶部か
らキー操作の情報を読み出して再現するとともに、前記
記憶部から前記コマンドを発行するための命令を読み出
した際に、前記コマンドを発行することで、前記テスト
途中の任意の時点におけるプログラム動作中の状態を確
認可能としたものである。
To achieve the above object, according to an aspect of the method of the present invention may be stored in a sequential chronological order storage unit information of a key operation performed at the time of the previous test, previously
Immediately after the determined key press information of the predetermined key , by inserting into the storage unit an instruction for issuing a command required to confirm the state during the program operation,
At the time of key operation reproduction after completion of the test, the key operation information is read out from the storage unit and reproduced, and when the command for issuing the command is read out from the storage unit, the command is issued. Thus, the state of the program operation at any time during the test can be confirmed.

【0015】本発明の方式は、テスト時のオペレータに
よる入力装置のキー操作をキー操作記憶部に格納して記
憶するキー操作記録手段と、前記キー操作記憶部に格納
される前記キー操作情報うち、予め定められた所定の
キーのキー押下情報の直後に、プログラム動作中の状態
を確認するために必要な所定のコマンドを発行するため
の命令を挿入するキー操作編集手段と、キー操作再現
時、前記キー操作記憶部からキー操作を読み出し、該キ
ー操作に対応した処理を自動的に再現しながら、該コマ
ンド発行命令を読み出した場合に、プログラム動作中の
状態を確認するために必要なコマンドを格納したコマン
ド記憶部から対応するコマンドを読み出し該コマンド発
行するキー操作再現手段とを備える。
According to the method of the present invention, a key operation recording means for storing key operation of an input device by an operator at the time of a test in a key operation storage section and storing the key operation information stored in the key operation storage section among them, immediately after the key press information of a predetermined <br/> predetermined key, the key operation editing means for inserting an instruction for issuing a predetermined command necessary to check the status of the program operation When reproducing a key operation, the key operation is read from the key operation storage unit, and while the process corresponding to the key operation is automatically reproduced, when the command issuance instruction is read, the state of the program operation is confirmed. Key operation reproducing means for reading out a corresponding command from a command storage unit in which a command necessary for the command is stored and issuing the command.

【0016】[0016]

【発明の実施の形態】本発明の実施の形態について以下
に説明する。本発明は、画面への入出力を行うプログラ
ム及び関連するプログラムやデータが修正され、前回の
テスト終了時と同一の機能を保持しているか否かを検証
するデグレードテストにおいて、前回テスト時のオペレ
ータのキー操作を自動的に再現しながら、画面のハード
コピー出力やテスト対象プログラムが更新するファイル
を自動的にコピーすることによって、プログラムの動作
検証を一連のキー操作の再現後の任意の時点で行えるよ
うにしたものである。
Embodiments of the present invention will be described below. The present invention relates to a degrading test for verifying whether or not a program for inputting / outputting a screen and related programs and data are modified and has the same function as that at the end of the previous test. Verification of program operation can be performed at any time after a series of key operations are reproduced by automatically copying the key operation of the screen while outputting the screen hard copy output and the file to be updated by the test target program automatically. It is something that can be done.

【0017】本発明は、その好ましい実施の形態におい
て、図1を参照すると、キー操作記録手段(21)は、
入力装置(1)から入力文字列及びファンクションキー
押下等のキー操作を受け取り、入力キー操作情報を時系
列にキー操作記憶部(31)に格納する。
In a preferred embodiment of the present invention, referring to FIG. 1, the key operation recording means (21) comprises:
An input character string and a key operation such as a function key press are received from the input device (1), and the input key operation information is stored in the key operation storage unit (31) in chronological order.

【0018】キー操作編集手段(22)は、キー操作記
憶部(31)に格納された一連のキー操作の途中にコマ
ンドを発行するための命令を追加する。このコマンド
は、あらかじめコマンド記憶部(32)に格納されてお
り、例えば画面のハードコピー出力コマンドや、テスト
対象プログラムが更新するファイルをコピーするコマン
ド等からなる。
The key operation editing means (22) adds an instruction for issuing a command during a series of key operations stored in the key operation storage section (31). This command is stored in the command storage unit (32) in advance, and includes, for example, a hard copy output command for the screen, a command for copying a file to be updated by the test target program, and the like.

【0019】キー操作再現手段(23)は、キー操作記
憶部(31)からキー操作情報を順次読み出し、キー操
作を再現するものであり、コマンドの発行命令を読み出
した場合は、コマンド記憶部(32)からコマンドを読
み出し、画面ハードコピー等のコマンドを発行する。
The key operation reproducing means (23) sequentially reads out the key operation information from the key operation storage section (31) and reproduces the key operation. When the command issuance command is read, the command operation section (23) is executed. 32), and issues a command such as a screen hard copy.

【0020】このようにして、デグレードテストにおい
て、前回のテスト時にオペレータが実行したキー操作を
自動的に再現し、テスト中の画面の表示内容やファイル
の更新状態を保存することにより、テストを実施する時
間に左右されることなく、後に、プログラム動作を検証
することを可能としている。
As described above, in the degrade test, the key operation performed by the operator at the time of the previous test is automatically reproduced, and the display contents of the screen during the test and the updated state of the file are saved to execute the test. This makes it possible to verify the program operation later, without being influenced by the time required.

【0021】[0021]

【実施例】上記した本発明の実施の形態についてさらに
詳細に説明すべく、本発明の実施例について図面を参照
して説明する。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of the present invention;

【0022】図1は、本発明の一実施例の構成を示す図
である。図1を参照すると、本実施例は、キーボード等
の入力装置1と、プログラム制御により動作するデータ
処理装置2と、情報を記憶する記憶装置3と、ディスプ
レイ装置や印刷装置等の出力装置4と、を含む。
FIG. 1 is a diagram showing the configuration of one embodiment of the present invention. Referring to FIG. 1, the present embodiment includes an input device 1 such as a keyboard, a data processing device 2 operated by program control, a storage device 3 for storing information, and an output device 4 such as a display device or a printing device. ,including.

【0023】データ処理装置2は、キー操作記録手段2
1と、キー操作編集手段22と、キー操作再現手段23
と、を含む。キー操作記録手段21と、キー操作編集手
段22と、キー操作再現手段23とは、データ処理装置
2のコンピュータで実行されるプログラムによりその機
能が実現される。
The data processing device 2 includes a key operation recording unit 2
1, key operation editing means 22, key operation reproducing means 23
And The functions of the key operation recording unit 21, the key operation editing unit 22, and the key operation reproducing unit 23 are realized by a program executed by a computer of the data processing device 2.

【0024】キー操作記録手段21は、入力装置1から
オペレータが入力する文字列やファンクションキー押下
等のキー操作情報を取得し、これを時系列に、キー操作
記憶部31に格納する。本実施例では、Xウィンドウシ
ステムが標準で提供するキー操作等の取得命令によって
取得する。Xウィンドウシステムは、データ処理装置2
のオペレーティングシステムとして普及しているUNI
Xオペレーティングシステムにおいて、GUI(グラフ
ィカル・ユーザ・インタフェース)の業界標準として採
用されている画面表示管理ソフトウェアである。
The key operation recording means 21 acquires key operation information such as a character string input by an operator and pressing of a function key from the input device 1 and stores the key operation information in the key operation storage unit 31 in time series. In this embodiment, the information is acquired by an acquisition command such as a key operation provided as a standard by the X window system. The X window system is a data processing device 2
UNI as a popular operating system
This is screen display management software adopted as an industry standard for a GUI (Graphical User Interface) in the X operating system.

【0025】キー操作編集手段22は、キー操作記憶部
31に時系列で格納されるキー操作情報の任意の時点
に、あらかじめコマンド記憶部32に格納されるコマン
ドを発行するための情報を挿入追加する。
The key operation editing means 22 inserts information for issuing a command stored in the command storage unit 32 in advance at an arbitrary point in the key operation information stored in the key operation storage unit 31 in chronological order. I do.

【0026】キー操作再現手段23は、キー操作記憶部
31からキー操作情報を順次読み出し、キー操作を再現
する。キー操作の再現は、Xウィンドウシステムがライ
ブラリ等で予め提供しているキー操作等の画面イベント
の発行命令によって再現する。
The key operation reproducing means 23 sequentially reads out the key operation information from the key operation storage section 31 and reproduces the key operation. The key operation is reproduced by a command for issuing a screen event such as a key operation provided in advance in a library or the like by the X window system.

【0027】読み出したキー操作情報が、コマンドの発
行命令である場合は、コマンド記憶部32から対応する
コマンドを読み出し、コマンドを発行する。
If the read key operation information is a command issuing command, the corresponding command is read from the command storage unit 32 and the command is issued.

【0028】記憶装置3は、キー操作記憶部31と、コ
マンド記憶部32とを含む。
The storage device 3 includes a key operation storage unit 31 and a command storage unit 32.

【0029】キー操作記憶部31には、オペレータが入
力する入力文字列やファンクションキー等のキー押下と
いったキー操作情報が時系列に格納される。
The key operation storage unit 31 stores key operation information such as an input character string input by an operator and key operation such as pressing of a function key.

【0030】コマンド記憶部32には、画面のハードコ
ピーコマンド、ファイルのコピーコマンド、ファイルの
内容をプリンタへ出力するコマンド等、プログラム動作
中の状態を確認するために必要なコマンドをあらかじめ
格納しておく。これらのコマンドはUNIXオペレーテ
ィングシステムが標準で提供するコマンドを使用する。
The command storage unit 32 stores in advance commands necessary for confirming the state of the operation of the program, such as a screen hard copy command, a file copy command, a command for outputting the contents of a file to a printer, and the like. deep. These commands use commands provided as standard by the UNIX operating system.

【0031】本発明の一実施例の動作について説明す
る。図2は、本発明の一実施例の動作を具体的に説明す
るための図であり、画面表示の一例を示す図である。以
下では、商品コードを入力すると、商品名称及び単価を
画面に表示し、数量を入力すると、合計金額を算出し、
画面に表示するプログラムをテストする場面を想定し
て、具体的に説明する。
The operation of the embodiment of the present invention will be described. FIG. 2 is a diagram for specifically explaining the operation of one embodiment of the present invention, and is a diagram illustrating an example of a screen display. In the following, when you enter the product code, the product name and unit price are displayed on the screen, and when you enter the quantity, the total amount is calculated,
This will be specifically described on the assumption that a program displayed on the screen is tested.

【0032】まず、初回のテストで、オペレータは、画
面の商品コードの入力欄に、入力装置1から、“12
3”を入力し、入力の確定及び次の入力項目への移動を
意味するファンクションキーを押下すると、キー操作記
録手段21は、“1”、“2”、“3”、及び、ファン
クションキーのキー押下情報を受け取り、キー操作記憶
部31に格納する。
First, in the first test, the operator inputs “12” from the input device 1 into the entry field of the product code on the screen.
When the user inputs "3" and presses a function key which means to confirm the input and move to the next input item, the key operation recording means 21 outputs "1", "2", "3", and The key press information is received and stored in the key operation storage unit 31.

【0033】一方、テスト対象プログラムは、入力デー
タ“123”を受け取ると、商品コード“123”に対
応する商品名称を検索し、商品名称“フロッピィディス
ク”、及び単価“100”を画面に表示する。
On the other hand, upon receiving the input data "123", the test target program searches for a product name corresponding to the product code "123", and displays the product name "floppy disk" and the unit price "100" on the screen. .

【0034】オペレータは表示された商品名称及び単価
を確認する。さらに、オペレータは、画面の数量の入力
欄に、入力装置1から“5”を入力し、ファンクション
キーを押下すると、キー操作記録手段21は“5”及び
ファンクションキーのキー押下情報を受け取り、キー操
作記憶部31に格納する。
The operator checks the displayed product name and unit price. Further, when the operator inputs "5" from the input device 1 in the input field of the quantity on the screen and presses the function key, the key operation recording means 21 receives "5" and the key press information of the function key, and It is stored in the operation storage unit 31.

【0035】一方、テスト対象プログラムは個数“5”
を受け取ると、単価(=100)と個数を乗算し、合計
に“500”を表示する。オペレータは“500”を確
認する。
On the other hand, the number of programs to be tested is "5".
Is received, the unit price (= 100) is multiplied by the number, and “500” is displayed in total. The operator confirms "500".

【0036】関連するプログラムや単価等のデータが改
正され、前記のテスト対象プログラムが、デグレードテ
ストの対象となった場合、キー操作記憶部31に格納さ
れるキー操作情報のうち、ファンクションキーの押下情
報の直後に、画面のハードコピーを取得するコマンド情
報を、キー操作編集手段22により、キー操作記憶部3
1に追加する。
When the related program and data such as the unit price are revised and the above-mentioned program to be tested is subjected to a degrading test, when the function key of the key operation information stored in the key operation storage unit 31 is pressed, Immediately after the information, the command information for acquiring the hard copy of the screen is stored in the key operation storage unit 3 by the key operation editing unit 22.
Add to 1.

【0037】コマンド記憶部32に格納される画面のハ
ードコピーを取得するコマンドは、数秒、命令の発行を
停止するコマンドと、画面ハードコピー取得コマンド
と、画面ハードコピーをプリンタ装置等の出力装置4に
出力するコマンド等から構成される。
The command for acquiring the screen hard copy stored in the command storage unit 32 is a command for stopping the issuance of the command for a few seconds, a screen hard copy acquisition command, and the screen hard copy for the output device 4 such as a printer. Command etc. output to the

【0038】デグレードテストの実施は、キー操作再現
手段23を起動させ、キー操作記憶部31に格納されて
いる、キーコード“1”、“2”、“3”、及びファン
クションキーのキー押下情報を順次読み出し、それぞれ
のキー押下の画面イベントを発行する。
To execute the degrade test, the key operation reproducing means 23 is activated, and the key codes "1", "2", "3" and the key press information of the function keys stored in the key operation storage unit 31 are stored. Are sequentially read, and a screen event of each key press is issued.

【0039】次にファンクションキーのキー押下情報に
続いてキー操作記憶部31から画面のハードコピーを取
得するコマンド情報を読み出すと、対応するコマンドを
コマンド記憶部32から読み出し、一連のコマンドを実
行する。
Next, when the command information for acquiring the hard copy of the screen is read from the key operation storage unit 31 following the key press information of the function key, the corresponding command is read from the command storage unit 32 and a series of commands is executed. .

【0040】さらにキー操作記憶部31から“5”及び
ファンクションキーのキー押下情報を読み出し、それぞ
れのキー押下の画面イベントを発行する。
Further, "5" and the key press information of the function key are read from the key operation storage unit 31, and a screen event of each key press is issued.

【0041】最後に画面のハードコピーを取得するコマ
ンド情報を読み出すと、対応するコマンドをコマンド記
憶部32から読み出し、一連のコマンドを実行する。
Finally, when the command information for obtaining the hard copy of the screen is read, the corresponding command is read from the command storage unit 32 and a series of commands is executed.

【0042】このように、デグレードテストの実施は、
テスト開始の契機を与える操作後は、自動的にキー操作
が再現され、プログラム動作を確認すべき時点に、画面
ハードコピーが取得されるため人手操作が介入すること
がない。
Thus, the execution of the degrade test is as follows:
After the operation that triggers the start of the test, the key operation is automatically reproduced, and a screen hard copy is acquired at the time when the program operation should be confirmed, so that no manual operation is required.

【0043】プログラムの動作確認は、プリンタ装置に
出力された画面のハードコピーを確認することにより、
検証することができる。
The operation of the program is confirmed by checking the hard copy of the screen output to the printer.
Can be verified.

【0044】次に、本発明の第二の実施例について説明
する。本発明の第二の実施例の構成は、図1に示した前
記実施例と同様である。図2に示したデグレードテスト
対象の画面イメージを参照して、本発明の第二の実施例
の動作について説明する。
Next, a second embodiment of the present invention will be described. The configuration of the second embodiment of the present invention is the same as that of the first embodiment shown in FIG. The operation of the second embodiment of the present invention will be described with reference to the screen image of the degraded test target shown in FIG.

【0045】本発明の第二の実施例が、前記実施例の動
作と相違する点は、キー操作編集手段22に、キー操作
記憶部31のキー操作情報を最適化する機能を付加した
ことである。
The second embodiment of the present invention is different from the operation of the first embodiment in that a function for optimizing the key operation information in the key operation storage unit 31 is added to the key operation editing means 22. is there.

【0046】キー操作編集手段22は、キー操作記憶部
31に格納されているキー操作情報のうち、入力文字列
として連続して存在する、“1”、“2”、“3”を一
つの文字列“123”にまとめたキー操作情報として、
キー操作記憶部31のキー操作情報を更新すことにより
最適化する。
The key operation editing means 22 converts "1", "2", and "3", which are continuously present as input character strings, into one of the key operation information stored in the key operation storage unit 31. As key operation information summarized in the character string “123”,
Optimization is performed by updating key operation information in the key operation storage unit 31.

【0047】最適化前は、“1”、“2”、“3”のキ
ー操作情報を順次、読み出し、一定間隔でキー押下の画
面イベントを発行するため、ディスプレイ装置には
“1”、“2”、“3”と各文字毎に徐々に出力され
る。
Before the optimization, the key operation information of "1", "2", and "3" is sequentially read, and a screen event of a key press is issued at regular intervals. "2" and "3" are gradually output for each character.

【0048】本発明の第二の実施例において最適化処理
後は、“123”のキー操作情報を1回で読み出し、一
定の間合いをとる必要なく、“1”、“2”、“3”の
キー押下の画面イベントを発行できるため、ディスプレ
イ装置に即座に表示できる。
In the second embodiment of the present invention, after the optimization processing, the key operation information of "123" is read out at one time, and "1", "2", "3" is not required to take a fixed time. Since the screen event of the key depression of can be issued, it can be immediately displayed on the display device.

【0049】この最適化処理により、自動的に再現され
るキー操作の処理速度を向上し、デグレードテストの所
要時間を短縮することができる。
By this optimizing process, the processing speed of the key operation automatically reproduced can be improved, and the time required for the degrade test can be shortened.

【0050】[0050]

【発明の効果】以上説明したように、本発明によれば下
記記載の効果を奏する。
As described above, according to the present invention, the following effects can be obtained.

【0051】本発明の第1の効果は、デグレードテスト
において、オペレータの介在する作業及び所要時間を特
段に削減することができる、ということである。
A first effect of the present invention is that in a degrade test, the work and the time required by an operator can be reduced particularly.

【0052】その理由は、本発明においては、前回のテ
スト時に実施したキー操作を自動的に再現可能とすると
ともに、テスト途中における画面表示内容やファイルの
更新状態をテストの終了後の任意の時点で確認できるよ
うにしたためである。
The reason is that, in the present invention, the key operation performed at the time of the previous test can be automatically reproduced, and the screen display contents and the file update status during the test can be changed at any time after the end of the test. This is because it was made possible to confirm.

【0053】本発明の第2の効果は、一人のオペレータ
が複数のデグレード試験を多重に実施することができ
る、ということである。
A second advantage of the present invention is that one operator can perform a plurality of degrading tests in a multiplex manner.

【0054】その理由は、本発明においては、一人のオ
ペレータがキー操作の再現の契機を一旦与えさえずれば
テストが終了するまで人手の介在は不要とされ、別のデ
グレードテスト対象プログラムにおけるキー操作の再現
の契機を与えることができ、これもテスト終了まで人手
を介する必要がないためである。
The reason is that in the present invention, once a single operator gives an opportunity to reproduce the key operation, no manual intervention is required until the test is completed, and the key operation in another degraded test target program is not required. Can be given, which also does not require manual intervention until the end of the test.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】本発明の一実施例の動作を具体的に説明するた
めの画面イメージの一例を示す図である。
FIG. 2 is a diagram showing an example of a screen image for specifically explaining the operation of one embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 入力装置 2 データ処理装置 3 記憶装置 4 出力装置 21 キー操作記録手段 22 キー操作編集手段 23 キー操作再現手段 31 キー操作記憶部 32 コマンド記憶部 REFERENCE SIGNS LIST 1 input device 2 data processing device 3 storage device 4 output device 21 key operation recording means 22 key operation editing means 23 key operation reproducing means 31 key operation storage unit 32 command storage unit

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平5−274186(JP,A) 特開 平9−16386(JP,A) 特開 昭59−165128(JP,A) 特開 平9−44379(JP,A) 特開 平7−234807(JP,A) 特開 平7−56768(JP,A) 特開 平3−218538(JP,A) 特開 昭62−271140(JP,A) 特開 昭62−271141(JP,A) 特開 昭62−271142(JP,A) 特開 平1−288936(JP,A) 特開 平1−288937(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 11/28 - 11/36 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-5-274186 (JP, A) JP-A-9-16386 (JP, A) JP-A-59-165128 (JP, A) 44379 (JP, A) JP-A-7-234807 (JP, A) JP-A-7-56768 (JP, A) JP-A-3-218538 (JP, A) JP-A-62-271140 (JP, A) JP-A-62-271141 (JP, A) JP-A-62-271142 (JP, A) JP-A-1-288936 (JP, A) JP-A-1-288937 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) G06F 11/28-11/36

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】前回のテスト時に行われたキー操作の情報
を順次時系列的に記憶部に記憶しておき、予め定められ
た所定のキーのキー押下情報の直後に、プログラム動作
中の状態を確認するのに必要とされるコマンドを発行す
るための命令を前記記憶部に挿入することで、前記テス
トの終了後のキー操作再現時に、前記記憶部からキー操
作の情報を読み出して再現するとともに、前記記憶部か
ら前記コマンドを発行するための命令を読み出した際に
前記コマンドを発行することで、前記テスト途中の任意
の時点におけるプログラム動作中の状態を確認可能とし
たことを特徴とするプログラムテスト方法。
1. A stores sequentially chronological order storage unit information of a key operation performed at the time of the previous test, predetermined
Immediately after the key press information of the predetermined key , an instruction for issuing a command required for confirming a state during the operation of the program is inserted into the storage unit, so that the key after the test is completed. At the time of operation reproduction, the key operation information is read out from the storage unit and reproduced, and the command is issued when the command for issuing the command is read out from the storage unit. A program test method, wherein a state during a program operation at a point in time can be confirmed.
【請求項2】前記プログラム動作中の状態を確認するた
めに必要なコマンドが、画面のハードコピーコマンド、
テスト対象のプログラムが更新するファイルのコピーコ
マンド、該ファイルの内容をプリンタへ出力するコマン
ド等から選択されたものである、ことを特徴とする請求
項1記載のプログラムテスト方法。
2. A command necessary for confirming a state during operation of the program includes a screen hard copy command,
2. The program test method according to claim 1, wherein the program is selected from a copy command of a file to be updated by a test target program, a command to output the contents of the file to a printer, and the like.
【請求項3】画面への入出力を行うプログラム及び関連
するプログラム及びデータが修正された場合に、前回の
テスト終了時と同一の機能を保持しているか否かを検証
するデグレードテストにおいて、 前回テスト時にオペレータのキー操作情報をキー操作順
に記憶部に時系列的に順次記憶し、予め定められた所定
キーのキー押下情報の直後に、画面のハードコピーコ
マンド、テスト対象のプログラムが更新するファイルの
コピーコマンド、該ファイルの内容のプリンタへの出力
コマンドなどプログラム動作中の状態を確認するために
必要なコマンドを発行するための命令を前記記憶部に挿
入することで、キー操作再現時、前記記憶部からキー操
作を読み出し、該キー操作に対応した処理を自動的に再
現しながら、前記記憶部から前記コマンド発行命令を読
み出した際には前記コマンドを発行して画面のハードコ
ピー出力や、テスト対象プログラムが更新するファイル
を自動的にコピーを実行し、プログラムの動作検証を、
一連のキー操作の再現後の任意の時点で行えるようにし
た、ことを特徴とするデグレードテスト方法。
3. A degrading test for verifying whether the same function as that at the end of the previous test is retained when a program for inputting / outputting a screen and related programs and data are modified. At the time of the test, key operation information of the operator is sequentially stored in the storage unit in a time-series manner in the order of key operation, and a predetermined
Immediately after the key press information of the key , it is necessary to confirm the status of the program operation such as the screen hard copy command, the copy command of the file to be updated by the program under test, and the command to output the contents of the file to the printer When a key operation is reproduced, a key operation is read out from the storage unit by inserting an instruction for issuing a new command into the storage unit, and a process corresponding to the key operation is automatically reproduced. When the command issuance command is read from, the command is issued to output a hard copy of the screen or automatically copy a file to be updated by the test target program, and verify the operation of the program.
A degrading test method characterized in that it can be performed at any time after a series of key operations are reproduced.
【請求項4】テスト時にオペレータによる入力装置のキ
ー操作を受け取りこのキー操作情報をキー操作記憶部に
順次時系列的に格納するキー操作記録手段と、 前記キー操作記憶部に格納される前記キー操作情報のう
ち、予め定められた所定のキーのキー押下情報の直後
プログラム動作中の状態を確認するために必要な所
定のコマンドを発行するための命令を追加挿入するキー
操作編集手段と、 前記キー操作記憶部からキー操作情報を順次読み出しキ
ー操作を再現するとともに、前記所定のコマンドを発行
するための命令を読み出した場合には、プログラム動作
中の状態を確認するために必要なコマンドをあらかじめ
格納しているコマンド記憶部から対応するコマンドを読
み出し該コマンドを発行するキー操作再現手段と、 を備えたことを特徴とする、プログラムテストにおける
キー操作の記録、再現及び動作確認方式。
4. A key operation of an input device by an operator during a test.
Key operation and this key operation information is stored in the key operation storage unit.
Key operation recording means for sequentially storing the key operation in a time-series manner;Key operation information
In addition, a predetermined predeterminedKeyImmediately after key press information
To,Necessary places to check the status during program operation
Key to insert additional instructions for issuing fixed commands
Operation editing means; and a key for sequentially reading key operation information from the key operation storage unit.
ー Reproduce the operation and issue the specified command
When an instruction to perform
Commands required to check the status
Reads the corresponding command from the stored command storage
And a key operation reproducing means for issuing the command.
Key operation recording, reproduction and operation confirmation method.
【請求項5】前記キー操作編集手段が、前記キー操作記
憶部に格納されているキー操作情報のうち、入力文字コ
ードとして連続する複数の文字コードを、一つの文字列
にまとめたキー操作情報に最適化して格納する手段を備
えたことを特徴とする請求項4記載の、プログラムテス
トにおけるキー操作の記録、再現及び動作確認方式。
5. The key operation information in which a plurality of continuous character codes as input character codes are grouped into one character string among the key operation information stored in the key operation storage unit. 5. The method according to claim 4, further comprising: means for storing the key operation in a program test.
【請求項6】データ処理装置が、オペレータによる入力
装置のキー操作をキー操作記憶部に格納して記憶するキ
ー操作記録手段と、 前記キー操作記憶部に格納される前記キー操作情報
ち、予め定められた所定のキーのキー押下情報の直後
プログラム動作中の状態を確認するために必要な所
定のコマンドを発行するための命令を挿入するキー操作
編集手段と、 キー操作再現時、前記キー操作記憶部からキー操作を読
み出し、該キー操作に対応した処理を自動的に再現しな
がら、該コマンド発行命令を読み出した場合に、プログ
ラム動作中の状態を確認するために必要なコマンドを格
納したコマンド記憶部から対応するコマンドを読み出し
該コマンド発行するキー操作再現手段とを、備え、 画面へ入出力するプログラム及び関連するプログラム及
びデータが修正された場合に前回のテスト終了時と同一
の機能を保持しているか否かを検証するデグレードテス
トにおいて、キー操作再現時、一連のキー操作の再現後
の任意の時点で、前記キー操作記憶部に記憶されている
コマンド発行命令を読み出した際に、該コマンドを発行
することで画面のハードコピー出力やテスト対象プログ
ラムが更新するファイルを自動的にコピーし、これによ
り、プログラムの動作検証を一連のキー操作の再現後の
任意の時点で行えるようにしたことを特徴とするデグレ
ードテスト方式。
6. A data processing device comprising:
A key for storing and storing the key operation of the device in the key operation storage unit.
Operation recording means, and the key operation stored in the key operation storage unitinformationofU
In addition, a predetermined predeterminedKeyImmediately after key press information
To,Necessary places to check the status during program operation
Key operation to insert an instruction to issue a fixed command
Editing means for reading the key operation from the key operation storage unit when reproducing the key operation;
And automatically reproduce the process corresponding to the key operation.
When the command issuance instruction is read,
The command necessary to check the status during program operation is stored.
Reads the corresponding command from the stored command storage unit
A key operation reproducing means for issuing the command;
Same as at the end of the previous test if data and data are modified
Degradation test to verify whether the function is maintained
At the time of key operation reproduction, after a series of key operation reproduction
Is stored in the key operation storage unit at any time
Issuing the command when the command issuance command is read
Output screen hard copy and test target programs.
Automatically copies the files that the program updates,
Verification of program operation after a series of key operations
Degre characterized by being able to do at any time
Test method.
【請求項7】キーボード等の入力装置、出力装置、記憶
装置、及びデータ処理装置を備えた情報処理装置におい
て、 前記記憶部が、キー操作記憶部及びプログラム動作中の
状態を確認するために必要なコマンドを格納したコマン
ド記憶部を備え、 前記データ処理装置が、前回テスト時にオペレータによ
る前記入力装置のキー操作を前記キー操作記憶部に順次
時系列的に記憶する手段と、 前記キー操作記憶部に格納される前記キー操作情報
ち、予め定められた所定のキーのキー押下情報の直後
に、プログラム動作中の状態を確認するために必要な所
定のコマンドを発行するための命令を挿入する手段と、 キー操作再現時、前記キー操作記憶部からキー操作を読
み出し、該キー操作に対応した処理を自動的に再現しな
がら、該コマンド発行命令を読み出した際に、前記コマ
ンド記憶部から対応するコマンドを読み出し該コマンド
発行する手段と、を備え、 画面へ入出力するプログラム及び関連するプログラム及
びデータが修正された場合に前回のテスト終了時と同一
の機能を保持しているか否かを検証するデグレードテス
トにおける、キー操作再現時、一連のキー操作の再現後
の任意の時点で、前記記憶部に記憶されているコマンド
発行命令を読み出した際に該コマンドを発行すること
で、画面のハードコピー出力や、テスト対象プログラム
が更新するファイルを自動的にコピーし、これにより、
プログラムの動作検証を一連のキー操作の再現後の任意
の時点で行えるようにした、ことを特徴とする情報処理
装置。
7. An input device such as a keyboard, an output device, and storage.
Device and information processing device provided with data processing device
Wherein the storage unit is configured to operate the key operation storage unit and the program during operation.
Command that stores the commands required to check the status
A data storage unit, wherein the data processing device is operated by an operator during a previous test.
Key operation of the input device is sequentially stored in the key operation storage unit.
Means for storing in chronological order, and the key operation stored in the key operation storage unitinformationofU
In addition, a predetermined predeterminedKeyImmediately after key press information
Where necessary to check the status during program operation.
Means for inserting a command for issuing a predetermined command, and reading a key operation from the key operation storage unit when reproducing a key operation.
And automatically reproduce the process corresponding to the key operation.
When the command issuance command is read,
The corresponding command from the command storage unit.
Means for issuing, and a program for inputting / outputting to a screen, a related program and
Same as at the end of the previous test if data and data are modified
Degradation test to verify whether the function is maintained
Key operation, and after a series of key operations
At any time, the command stored in the storage unit
Issuing the command when the issued command is read
To output screen hard copy and test target program
Automatically copies the files that it updates,
Verification of the operation of the program is optional after a series of key operations are reproduced
Information processing characterized by being able to be performed at the time of
apparatus.
【請求項8】(a)オペレータによる入力装置のキー操
作をキー操作記憶部に格納して記憶する手段と、 (b)前記キー操作記憶部に格納されるキー操作情報
うち、予め定められた所定のキーのキー押下情報の直後
に、プログラム動作中の状態を確認するために必要な所
定のコマンドを発行するための命令を挿入する手段と、 (c)キー操作再現時、前記キー操作記憶部からキー操
作を読み出し、該キー操作に対応した処理を自動的に再
現しながら、該コマンド発行命令を読み出した場合に、
プログラム動作中の状態を確認するために必要なコマン
ドを格納したコマンド記憶部から対応するコマンドを読
み出し該コマンド発行する手段と、 の上記(a)、(b)、(c)の各手段をコンピュータ
等データ処理装置で機能させるためのプログラムを記録
した記録媒体。
8. A means for storing key operation of an input device by an operator in a key operation storage section, and (b) storing key operation information stored in the key operation storage section.
Means for inserting a command for issuing a predetermined command necessary for confirming a state during the operation of the program immediately after key press information of a predetermined key , and (c) At the time of key operation reproduction, when a key operation is read from the key operation storage unit and the command issuance command is read while automatically reproducing a process corresponding to the key operation,
Means for reading out a corresponding command from a command storage unit storing a command necessary for confirming a state during a program operation, and issuing the command; and means (a), (b) and (c), A recording medium on which a program for causing a data processing device to function is recorded.
JP11608598A 1998-04-10 1998-04-10 Recording and reproduction of key operation in program test and operation confirmation method and method Expired - Fee Related JP3171165B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11608598A JP3171165B2 (en) 1998-04-10 1998-04-10 Recording and reproduction of key operation in program test and operation confirmation method and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11608598A JP3171165B2 (en) 1998-04-10 1998-04-10 Recording and reproduction of key operation in program test and operation confirmation method and method

Publications (2)

Publication Number Publication Date
JPH11296407A JPH11296407A (en) 1999-10-29
JP3171165B2 true JP3171165B2 (en) 2001-05-28

Family

ID=14678349

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11608598A Expired - Fee Related JP3171165B2 (en) 1998-04-10 1998-04-10 Recording and reproduction of key operation in program test and operation confirmation method and method

Country Status (1)

Country Link
JP (1) JP3171165B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2571052A (en) * 2016-12-22 2019-08-21 Flora Fanatica Ltd Inhibiting plant growth

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100401085C (en) * 2004-11-03 2008-07-09 金宝电子工业股份有限公司 Electronic system for testing key

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2571052A (en) * 2016-12-22 2019-08-21 Flora Fanatica Ltd Inhibiting plant growth

Also Published As

Publication number Publication date
JPH11296407A (en) 1999-10-29

Similar Documents

Publication Publication Date Title
US6775827B1 (en) Real-time program audit software
JP2007531940A (en) Automated system and method for performing usability tests
JPH1091454A (en) Method for executing software remotely
JP3182111B2 (en) Program test support device
JP3171165B2 (en) Recording and reproduction of key operation in program test and operation confirmation method and method
US5563866A (en) Sound editor for editing audio signals by relating new cuts to time-based windows
US7404083B2 (en) Image signal analysis for watermark detection and decoding
US20040210432A1 (en) Simulation apparatus and method for storing operation information
JP2001282578A (en) Device and method for supporting program test and storage medium storing program on method
JPH0991706A (en) Postscript type cd making system
JP3206096B2 (en) Input data processing device
JP2003006001A (en) Test device of job processing software
DE69906467T2 (en) Digital signal storage
EP0404399A2 (en) Audio editing system
JPH0743732B2 (en) Storage method of collected data
JP2874601B2 (en) Screen application program evaluation processing system
JPH10105444A (en) Operation manual original form preparation system
AU6208800A (en) Real-time program audit software
JPH11175383A (en) Data recording device
JP3300156B2 (en) Recovery method in case of CAD system failure
JP3466792B2 (en) Drawing search method and apparatus
JP2604551B2 (en) File dump output support method
JP3179353B2 (en) Program test automation system
JPH05274190A (en) Work station operating information analyzing system
JPH05257736A (en) Program trace system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010220

LAPS Cancellation because of no payment of annual fees