JP2570592B2 - Interactive multi-window program automatic test equipment - Google Patents

Interactive multi-window program automatic test equipment

Info

Publication number
JP2570592B2
JP2570592B2 JP5231515A JP23151593A JP2570592B2 JP 2570592 B2 JP2570592 B2 JP 2570592B2 JP 5231515 A JP5231515 A JP 5231515A JP 23151593 A JP23151593 A JP 23151593A JP 2570592 B2 JP2570592 B2 JP 2570592B2
Authority
JP
Japan
Prior art keywords
screen image
screen
test
storage
stored
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
JP5231515A
Other languages
Japanese (ja)
Other versions
JPH0784829A (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 JP5231515A priority Critical patent/JP2570592B2/en
Publication of JPH0784829A publication Critical patent/JPH0784829A/en
Application granted granted Critical
Publication of JP2570592B2 publication Critical patent/JP2570592B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • 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 an apparatus for testing software by a computer, and more particularly to an apparatus for automatically testing an interactive multi-window program mainly for interactive processing.

【0002】[0002]

【従来の技術】特開昭62−212837号公報の技術
は、インタラクティブ型のプログラムのテスト方法であ
る。この技術は、キャラクタベースのユーザインタフェ
ース(以下、CUIとする)で画面イメージやコマン
ド、そして性能データを入力して、以前のテスト結果と
比較した差分や性能データや画面イメージ、およびコマ
ンドを出力するものである。
2. Description of the Related Art The technique disclosed in Japanese Patent Laid-Open No. 62-212837 is a test method for an interactive program. According to this technology, a screen image, a command, and performance data are input through a character-based user interface (hereinafter, referred to as a CUI), and a difference, performance data, a screen image, and a command compared with a previous test result are output. Things.

【0003】[0003]

【発明が解決しようとする課題】しかしながら上述した
従来のインタラクティブ型のプログラムのテスト方法に
おいては、CUIを想定しており、近年普及してきたグ
ラフィックスベースのユーザインタフェース(以下、G
UIとする)を使用したプログラム、特に1台のディス
プレイ上に複数の画面(ウインドウ)が表示されてお
り、個々の画面に関して画面の大きさを変更することが
できるようなマルチウインドウを使用しているプログラ
ムでは効果を発揮することができないという課題があ
る。
However, in the above-described conventional interactive program test method, a CUI is assumed, and a graphics-based user interface (hereinafter referred to as G
A plurality of screens (windows) are displayed on one display, and a multi-window that can change the size of each screen with respect to each screen is used. There is a problem that the effect cannot be achieved with some programs.

【0004】[0004]

【課題を解決するための手段】第1の発明のインタラク
ティブ型マルチウインドウプログラム自動テスト装置
は、対話形式のマルチウインドウ画面を表示するテスト
プログラムの実行時に、このテストプログラムがウイン
ドウマネージャを経由して表示する全ての画面イメージ
を受取り、利用者が指定する画面イメージだけを選択す
る画面イメージ選択手段と、この画面イメージ選択手段
が選択した画面イメージを記憶媒体に記憶する画面イメ
ージ記憶手段と、この画面イメージ記憶手段が記憶媒体
に記憶した画面イメージをテスト結果として結果表示装
置に表示し、この画面イメージを記憶媒体に記憶するテ
スト結果表示手段を有している。
According to a first aspect of the present invention, there is provided an automatic multi-window program automatic test apparatus, which executes a test program for displaying an interactive multi-window screen and displays the test program via a window manager. Screen image selecting means for receiving all screen images to be selected and selecting only the screen image designated by the user, screen image storing means for storing the screen image selected by the screen image selecting means in a storage medium, and the screen image There is a test result display means for displaying the screen image stored in the storage medium by the storage means as a test result on the result display device, and storing the screen image in the storage medium.

【0005】第2の発明のインタラクティブ型マルチウ
インドウプログラム自動テスト装置は、第1の発明のイ
ンタラクティブ型マルチウインドウプログラム自動テス
ト装置において、前記画面イメージ選択手段が選択し、
前記画面イメージ記憶手段が記憶媒体に記憶した画面イ
メージと、過去に前記テスト結果表示手段が記憶媒体に
記憶した画面イメージとの間に差異が無いかを比較する
画面イメージ比較手段と、この画面イメージ比較手段が
比較した両画面イメージの差分を、テスト結果として結
果表示装置に表示するテスト結果表示手段を有してい
る。
According to a second aspect of the present invention, there is provided an automatic interactive multi-window program automatic test apparatus according to the first aspect, wherein the screen image selecting means selects the screen image.
Screen image comparing means for comparing whether there is any difference between the screen image stored in the storage medium by the screen image storage means and the screen image stored in the storage medium by the test result display means in the past; There is a test result display means for displaying the difference between the two screen images compared by the comparison means on the result display device as a test result.

【0006】第3の発明のインタラクティブ型マルチウ
インドウプログラム自動テスト装置は、第2の発明のイ
ンタラクティブ型マルチウインドウプログラム自動テス
ト装置において、前記画面イメージ選択手段が選択した
画面イメージを記憶媒体に記憶する際に、画面イメージ
とともに記憶時刻を記憶する画面イメージ記憶手段と、
前記画面イメージ記憶手段が記憶媒体に記憶した画面イ
メージと、過去に前記テスト結果表示手段が記憶媒体に
記憶した画面イメージとの間に差異が無いかを、前記画
面イメージ記憶手段が付与した記憶時刻を条件として比
較する画面イメージ比較手段を有している。
According to a third aspect of the present invention, there is provided an interactive multi-window program automatic test apparatus according to the second aspect, wherein the screen image selected by the screen image selecting means is stored in a storage medium. A screen image storage means for storing the storage time together with the screen image;
A storage time provided by the screen image storage means for determining whether there is a difference between the screen image stored in the storage medium by the screen image storage means and the screen image previously stored in the storage medium by the test result display means. Screen image comparing means for comparing under the condition of

【0007】第4の発明のインタラクティブ型マルチウ
インドウプログラム自動テスト装置は、第3の発明のイ
ンタラクティブ型マルチウインドウプログラム自動テス
ト装置において、前記画面イメージ記憶手段が画面イメ
ージを記憶時刻とともに記憶媒体に記憶する際に、過去
に前記画面イメージ記憶手段が記憶媒体に記憶した画面
イメージとの間に差異が無いかを判断し、差異があった
時のみ画面イメージを記憶することを前記画面イメージ
記憶手段に指示する画面イメージ変化検出手段を有して
いる。
A fourth aspect of the present invention is the interactive multi-window program automatic test apparatus according to the third aspect, wherein the screen image storage means stores the screen image together with the storage time in a storage medium. At this time, it is determined whether or not there is a difference between the screen image stored in the storage medium by the screen image storage unit in the past, and the screen image storage unit is instructed to store the screen image only when there is a difference. Screen image change detecting means.

【0008】[0008]

【実施例】以下本発明の一実施例について、図を参照し
ながら詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below in detail with reference to the drawings.

【0009】図1を参照すると、本発明の第1の実施例
であるインタラクティブ型マルチウインドウプログラム
自動テスト装置は、テスト対象プログラム1と、このテ
スト対象プログラム1を実行するためのコマンドを蓄積
しているコマンドファイル11と、ウインドウマネージ
ャ2と、このウインドウマネージャ2が前記テスト対象
プログラム1から転送された画面イメージを表示する画
面表示装置12と、前記ウインドウマネージャ2から転
送された画面イメージのうち前記テスト対象プログラム
1の画面イメージだけを選択する画面イメージ選択手段
3と、この画面イメージ選択手段3から転送された画面
イメージを磁気ディスク装置等の記憶媒体である現画面
イメージ記憶ファイル13に記憶する画面イメージ記憶
手段4と、この画面イメージ記憶手段4によって現画面
イメージ記憶ファイル13に記憶された画面イメージを
結果表示装置15に表示するテスト結果表示手段6から
構成されている。
Referring to FIG. 1, an interactive multi-window program automatic test apparatus according to a first embodiment of the present invention accumulates a test target program 1 and a command for executing the test target program 1. A command file 11, a window manager 2, a screen display device 12 for displaying the screen image transferred from the test target program 1 by the window manager 2, and the test program of the screen image transferred from the window manager 2. A screen image selecting means 3 for selecting only the screen image of the target program 1, and a screen image for storing the screen image transferred from the screen image selecting means 3 in a current screen image storage file 13 which is a storage medium such as a magnetic disk device. The storage means 4 and this image And a test result display unit 6 for displaying a screen image stored in the current screen image storage file 13 result on the display device 15 by the image storage unit 4.

【0010】ウインドウマネージャ2は、「入門X−W
indow OSF/MotifWindow Man
ager:木下・小嶋・日高著、日刊工業新聞社、19
90年12月25日発行」に示されるような、ウインド
ウシステムを会話形式で操作、管理するためのプログラ
ムであり、例えばOSF/Motifのウインドウマネ
ージャmwmがよく知られたプログラムである。
[0010] The window manager 2 is called "Introduction XW
indo OSF / Motif Window Man
ager: Kinoshita / Kojima / Hidaka, Nikkan Kogyo Shimbun, 19
This is a program for operating and managing a window system in a conversational manner as shown in "Issued December 25, 1990". For example, the window manager mwm of OSF / Motif is a well-known program.

【0011】図2はコマンドファイル11の内容を示
す。図2における「UP4997−1」や「4000」
という英数字は利用者により入力装置から入力されたデ
ータの値である。また、コマンドファイル11には利用
者のファンクションキーやボタン押下操作に対応するデ
ータが格納される場合があるが、本実施例においては過
去のプログラム実行時の入力データや汎用のテキストエ
ディタを利用して利用者が事前に作成したデータを処理
対象として説明する。前記操作対応データは、何らかの
データ表現上の規約を設定することで単なるデータの値
と区別することができるが、このデータの区別方法は本
発明の特許請求の範囲に係わる技術ではないため説明を
省略する。
FIG. 2 shows the contents of the command file 11. "UP4997-1" and "4000" in FIG.
Is the value of the data input by the user from the input device. In some cases, the command file 11 stores data corresponding to a user's function key or button pressing operation. In this embodiment, input data used in the past program execution or a general-purpose text editor is used. In the following, data created by a user in advance will be described as a processing target. The operation correspondence data can be distinguished from a mere data value by setting some rules on data representation. However, since this method of distinguishing data is not a technology according to the scope of the claims of the present invention, a description will be given. Omitted.

【0012】図3は現画面イメージ記憶ファイル13に
記憶されている画面イメージの例である。この画面は現
画面イメージ記憶ファイル13内において、例えばXY
フォーマットやZフォーマット(またはPacked
Pixel Formatと称する場合もある)の形式
で格納されるものであるが、本発明において現画面イメ
ージ記憶ファイル13内のデータ形式は特に限定するも
のではない。
FIG. 3 shows an example of a screen image stored in the current screen image storage file 13. This screen is, for example, XY in the current screen image storage file 13.
Format or Z format (or Packed
Pixel Format), but the data format in the current screen image storage file 13 is not particularly limited in the present invention.

【0013】次に本発明の第1の実施例の動作につい
て、図1、図2、図3、および図4を参照して説明す
る。
Next, the operation of the first embodiment of the present invention will be described with reference to FIGS. 1, 2, 3 and 4.

【0014】まず本発明の利用者は、テスト対象プログ
ラム1をコマンドファイル11の内容で実行する。
First, the user of the present invention executes the test target program 1 with the contents of the command file 11.

【0015】テスト対象プログラム1が表示しようとす
る画面イメージは、画面IDとともにウインドウマネー
ジャ2に転送され、ウインドウマネージャ2が画面表示
装置12に画面イメージを表示する(ステップ21)。
The screen image to be displayed by the test target program 1 is transferred to the window manager 2 together with the screen ID, and the window manager 2 displays the screen image on the screen display device 12 (step 21).

【0016】次に利用者は、画面イメージ選択手段3を
起動する。
Next, the user activates the screen image selecting means 3.

【0017】ウインドウマネージャ2は、テスト対象プ
ログラム1が転送した画面イメージ以外にも画面イメー
ジを管理しているが、画面イメージ選択手段3は、ウイ
ンドウマネージャ2が管理している画面イメージの内、
画面IDをキーにして、テスト対象プログラム1の画面
イメージを選択する(ステップ31)。画面イメージ選
択手段3はステップ31終了後、画面イメージ記憶手段
4を起動し、選択した画面イメージを転送する(ステッ
プ32)。
The window manager 2 manages screen images in addition to the screen image transferred by the test target program 1. The screen image selecting means 3 selects one of the screen images managed by the window manager 2.
Using the screen ID as a key, a screen image of the test target program 1 is selected (step 31). After step 31, the screen image selecting means 3 activates the screen image storing means 4 and transfers the selected screen image (step 32).

【0018】画面イメージ記憶手段4は、画面イメージ
選択手段3が選択したテスト対象プログラム1の画面イ
メージを画面IDとともに現画面イメージ記憶ファイル
13に記憶する(ステップ41)。
The screen image storage means 4 stores the screen image of the test target program 1 selected by the screen image selection means 3 in the current screen image storage file 13 together with the screen ID (step 41).

【0019】利用者は一定時間が経過しテスト対象プロ
グラム1が終了したことを確認したら、テスト結果表示
手段6を起動する。
When the user confirms that the test target program 1 has been completed after a certain period of time, the user activates the test result display means 6.

【0020】テスト結果表示手段6は、現画面イメージ
記憶ファイル13に記憶されているテスト対象プログラ
ム1の画面イメージを画面IDをキーにして取り出し
(ステップ61)、テスト結果として結果表示装置15
に表示し(ステップ62)、利用者にテスト結果を確認
させる。
The test result display means 6 takes out the screen image of the test target program 1 stored in the current screen image storage file 13 using the screen ID as a key (step 61), and as a test result, the result display device 15
(Step 62) to make the user confirm the test result.

【0021】さらにテスト結果表示手段6は、テスト結
果であるテスト対象プログラム1の画面イメージを画面
IDとともに旧画面イメージファイル14に記憶する
(ステップ63)。ステップ63において、既に同一画
面IDの画面イメージが格納されていた場合には、デー
タを更新する。
Further, the test result display means 6 stores the screen image of the test target program 1 as the test result in the old screen image file 14 together with the screen ID (step 63). In step 63, if a screen image with the same screen ID has already been stored, the data is updated.

【0022】以上により、本発明の第1の実施例の動作
であるインタラクティブ型マルチウインドウプログラム
自動テスト装置の処理が完了する。
With the above, the processing of the interactive multi-window program automatic test apparatus, which is the operation of the first embodiment of the present invention, is completed.

【0023】本発明の第1の実施例であるインタラクテ
ィブ型マルチウインドウプログラム自動テスト装置は、
ウインドウマネージャを経由して表示される全ての画面
イメージを受け取り、テスト対象とする画面イメージだ
けを選択・記憶しておき、テスト終了後にテスト結果で
ある画面イメージを表示することができるようにしたこ
とにより、従来は常時、テスト者が監視していなければ
ならなかったインタラクティブ型マルチウインドウプロ
グラムのテストをバッチ型のプログラムと同様に自動的
に実行することができ、テストを容易に実施することが
できる効果がある。
An interactive multi-window program automatic test apparatus according to a first embodiment of the present invention comprises:
Receives all screen images displayed via the window manager, selects and stores only the screen image to be tested, and displays the screen image that is the test result after the test is completed. As a result, a test of an interactive multi-window program, which had to be constantly monitored by a tester in the past, can be automatically executed like a batch-type program, and the test can be easily performed. effective.

【0024】図1を参照すると、本発明の第2の実施例
であるインタラクティブ型マルチウインドウプログラム
自動テスト装置は、第1の発明のインタラクティブ型マ
ルチウインドウプログラム自動テスト装置において、テ
スト結果表示手段6からテスト結果であるテスト対象プ
ログラム1の画面イメージを受け取り、過去にテスト結
果表示手段6により旧画面イメージファイル14に記憶
されたテスト対象プログラム1の画面イメージと比較
し、検出した差分をテスト結果表示手段6へ転送する画
面イメージ比較手段7から構成されている。
Referring to FIG. 1, an interactive multi-window program automatic test apparatus according to a second embodiment of the present invention is the same as the interactive multi-window program automatic test apparatus according to the first embodiment, except that the test result display means 6 A screen image of the test target program 1 which is a test result is received, compared with the screen image of the test target program 1 stored in the old screen image file 14 by the test result display means 6 in the past, and the detected difference is compared with the test result display means. 6 comprises a screen image comparing means 7 for transferring the image data to the screen image comparing means 6.

【0025】次に本発明の第2の実施例の動作につい
て、図1、図2、図3、および図5を参照して説明す
る。
Next, the operation of the second embodiment of the present invention will be described with reference to FIGS. 1, 2, 3 and 5.

【0026】利用者がテスト対象プログラム1を実行し
て一定時間経過後にテスト結果表示手段6を起動する
と、テスト結果表示手段6は、現画面イメージ記憶ファ
イル13に記憶されているテスト対象プログラム1の画
面イメージを画面IDをキーにして取り出す(ステップ
61)。テスト結果表示手段6はステップ61終了後、
画面イメージ比較手段7を呼び出し、取り出した画面イ
メージを画面IDとともに転送する(ステップ64)。
When the user executes the test target program 1 and activates the test result display means 6 after a lapse of a predetermined time, the test result display means 6 reads the test target program 1 stored in the current screen image storage file 13. A screen image is taken out using the screen ID as a key (step 61). After step 61, the test result display means 6
The screen image comparing means 7 is called, and the extracted screen image is transferred together with the screen ID (step 64).

【0027】画面イメージ比較手段7は、ステップ64
において得た画面IDをキーとして、テスト結果表示手
段6が旧画面イメージファイル14に記憶した過去に実
施されたテスト対象プログラム1の画面イメージを抽出
し(ステップ71)、ステップ64において得た画面イ
メージと1バイト毎に比較し(ステップ72)、両画面
イメージに差異があれば、ステップ64において得た画
面イメージにおける差分を検出する(ステップ73)。
ステップ73終了後、制御がテスト結果表示手段6に戻
る。
The screen image comparison means 7 performs step 64
The test result display means 6 extracts the screen image of the previously executed test target program 1 stored in the old screen image file 14 by using the screen ID obtained in the above as a key (step 71), and the screen image obtained in the step 64 Are compared for each byte (step 72). If there is a difference between the two screen images, the difference between the screen images obtained in step 64 is detected (step 73).
After the end of step 73, the control returns to the test result display means 6.

【0028】なおステップ71の比較処理は、1ビット
毎、1ブロック毎などの単位で実施しても良い。
The comparison process in step 71 may be performed in units of one bit, one block, or the like.

【0029】テスト結果表示手段6は画面イメージ比較
手段7の処理終了後、画面イメージ比較手段7がテスト
対象プログラム1の画面イメージの差分を検出したか否
かを判定し(ステップ65)、差分を検出していれば、
その差分をテスト結果として結果表示装置15に表示し
(ステップ66)、利用者にテスト結果を確認させる。
After the processing of the screen image comparing means 7 is completed, the test result display means 6 determines whether or not the screen image comparing means 7 has detected a difference between the screen images of the test target program 1 (step 65). If detected,
The difference is displayed on the result display device 15 as a test result (step 66), and the user is allowed to confirm the test result.

【0030】さらにテスト結果表示手段6は、ステップ
61において現画面イメージ記憶ファイル13から取り
出したテスト対象プログラム1の画面イメージを画面I
Dとともに旧画面イメージファイル14に記憶する(ス
テップ67)。ステップ67において、既に同一画面I
Dの画面イメージが格納されていた場合には、データを
更新する。
Further, the test result display means 6 displays the screen image of the test target program 1 extracted from the current screen image storage file 13 in step 61 on the screen I.
It is stored in the old screen image file 14 together with D (step 67). In step 67, the same screen I
If the screen image of D is stored, the data is updated.

【0031】以上により、本発明の第2の実施例の動作
であるインタラクティブ型マルチウインドウプログラム
自動テスト装置の処理が完了する。
Thus, the processing of the interactive multi-window program automatic test apparatus, which is the operation of the second embodiment of the present invention, is completed.

【0032】本発明の第2の実施例であるインタラクテ
ィブ型マルチウインドウプログラム自動テスト装置は、
以前のテスト時に記憶された画面イメージと今回のテス
ト対象の画面イメージとの間に差異がないかどうかを判
定し、その差分をテスト結果として表示することができ
るようにしたことにより、過去と現在のテスト結果の比
較を自動的にかつ容易に実施することができる効果があ
る。
An interactive multi-window program automatic test apparatus according to a second embodiment of the present invention comprises:
By judging whether there is a difference between the screen image stored in the previous test and the screen image of the current test, and displaying the difference as a test result, the past and present This is advantageous in that the comparison of the test results can be automatically and easily performed.

【0033】図1を参照すると、本発明の第3の実施例
であるインタラクティブ型マルチウインドウプログラム
自動テスト装置は、第2の発明のインタラクティブ型マ
ルチウインドウプログラム自動テスト装置において、画
面イメージ選択手段3が選択した画面イメージを現画面
イメージ記憶ファイル13に記憶する際に、画面イメー
ジ、画面IDとともに記憶時刻を記憶する画面イメージ
記憶手段4と、テスト結果表示手段6からテスト結果で
あるテスト対象プログラム1の画面イメージを受け取
り、過去にテスト結果表示手段6により旧画面イメージ
ファイル14に記憶されたテスト対象プログラム1の画
面イメージとを、画面イメージ記憶手段が付与した記憶
時刻を条件として比較し、検出した差分をテスト結果表
示手段6へ転送する画面イメージ比較手段7から構成さ
れている。
Referring to FIG. 1, an interactive multi-window program automatic test apparatus according to a third embodiment of the present invention is the same as the interactive multi-window program automatic test apparatus according to the second embodiment of the present invention. When the selected screen image is stored in the current screen image storage file 13, the screen image storage means 4 for storing the storage time together with the screen image and the screen ID, and the test result display means 6 The screen image is received, the screen image of the test target program 1 previously stored in the old screen image file 14 by the test result display unit 6 is compared with the storage time given by the screen image storage unit as a condition, and the detected difference is detected. To the test result display means 6 And a surface image comparison means 7.

【0034】次に本発明の第3の実施例の動作につい
て、図1、図2、図3、図4、および図6を参照して説
明する。
Next, the operation of the third embodiment of the present invention will be described with reference to FIG. 1, FIG. 2, FIG. 3, FIG. 4, and FIG.

【0035】画面イメージ選択手段3にステップ32に
おいて起動された画面イメージ記憶手段4は、画面イメ
ージ選択手段3が選択したテスト対象プログラム1の画
面イメージを画面IDと、さらにこのテストを実施して
いるコンピュータまたはワークステーションが保持して
いるその時点の時刻ともに現画面イメージ記憶ファイル
13に記憶する(ステップ42)。
The screen image storing means 4 started by the screen image selecting means 3 in step 32 performs the test by setting the screen image of the test target program 1 selected by the screen image selecting means 3 to the screen ID and further performing this test. The current time held by the computer or the workstation is stored in the current screen image storage file 13 (step 42).

【0036】利用者は、テスト対象プログラム1を実行
して一定時間経過後にテスト結果表示手段6を起動す
る。利用者はこのテスト結果表示手段6の起動に際し
て、後述する画面イメージ比較手段7が旧画面イメージ
ファイル14内の画面イメージを抽出するときの抽出条
件となる記憶時刻を指定する。
The user executes the test target program 1 and activates the test result display means 6 after a lapse of a predetermined time. When the test result display means 6 is activated, the user designates a storage time serving as an extraction condition when a screen image comparison means 7 described later extracts a screen image in the old screen image file 14.

【0037】テスト結果表示手段6は、現画面イメージ
記憶ファイル13に記憶されているテスト対象プログラ
ム1の画面イメージを画面IDをキーにして取り出す
(ステップ61)。テスト結果表示手段6はステップ6
1終了後、画面イメージ比較手段7を呼び出し、取り出
した画面イメージを画面IDと記憶時刻とともに転送す
る(ステップ68)。
The test result display means 6 extracts the screen image of the test target program 1 stored in the current screen image storage file 13 using the screen ID as a key (step 61). The test result display means 6 performs step 6
After one, the screen image comparing means 7 is called, and the extracted screen image is transferred together with the screen ID and the storage time (step 68).

【0038】画面イメージ比較手段7は、ステップ68
において得た画面IDと、利用者が指定した記憶時刻を
キーとして、テスト結果表示手段6が旧画面イメージフ
ァイル14に記憶した過去に実施されたテスト対象プロ
グラム1の画面イメージを抽出する(ステップ74)。
利用者はステップ74における指定記憶時刻との比較処
理においては、例えば指定記憶時刻よりも後の時刻に旧
画面イメージファイル14に記憶された画面イメージの
みを抽出したり、または指定記憶時刻を区間としてその
区間内に旧画面イメージファイル14に記憶された画面
イメージのみを抽出するという処理を設定することがで
きる。
The screen image comparison means 7 performs step 68
Using the screen ID obtained in step 2 and the storage time designated by the user as keys, the screen image of the previously executed test target program 1 stored in the old screen image file 14 by the test result display means 6 is extracted (step 74). ).
In the comparison process with the designated storage time in step 74, the user extracts only the screen image stored in the old screen image file 14 at a time later than the designated storage time, or sets the designated storage time as a section. A process of extracting only the screen image stored in the old screen image file 14 within the section can be set.

【0039】次に画面イメージ比較手段7は、ステップ
68において得た画面イメージとステップ74において
得た画面イメージを1バイト毎に比較し(ステップ7
5)、両画面イメージに差異があれば、ステップ74に
おいて得た画面イメージにおける差分を検出する(ステ
ップ76)。ステップ76終了後、制御がテスト結果表
示手段6に戻る。
Next, the screen image comparison means 7 compares the screen image obtained in step 68 and the screen image obtained in step 74 byte by byte (step 7).
5) If there is a difference between the two screen images, the difference between the screen images obtained in step 74 is detected (step 76). After the end of step 76, the control returns to the test result display means 6.

【0040】なおステップ75の比較処理は、1ビット
毎、1ブロック毎などの単位で実施しても良い。
The comparison processing in step 75 may be performed in units of one bit or one block.

【0041】テスト結果表示手段6は画面イメージ比較
手段7の処理終了後、画面イメージ比較手段7がテスト
対象プログラム1の画面イメージの差分を検出したか否
かを判定し(ステップ69)、差分を検出していれば、
その差分をテスト結果として結果表示装置15に表示し
(ステップ6A)、利用者にテスト結果を確認させる。
After the processing by the screen image comparing means 7 is completed, the test result display means 6 determines whether or not the screen image comparing means 7 has detected a difference between the screen images of the test target program 1 (step 69). If detected,
The difference is displayed on the result display device 15 as a test result (step 6A), and the user is allowed to confirm the test result.

【0042】さらにテスト結果表示手段6は、ステップ
61において現画面イメージ記憶ファイル13から取り
出したテスト対象プログラム1の画面イメージを画面I
Dと記憶時刻ともに旧画面イメージファイル14に記憶
する(ステップ6B)。ステップ6Bにおいて、既に同
一画面IDの画面イメージが格納されていた場合には、
データを更新する。
Further, the test result display means 6 displays the screen image of the test target program 1 extracted from the current screen image storage file 13 in step 61 on the screen I.
Both D and the storage time are stored in the old screen image file 14 (step 6B). In step 6B, if a screen image with the same screen ID has already been stored,
Update data.

【0043】以上により、本発明の第3の実施例の動作
であるインタラクティブ型マルチウインドウプログラム
自動テスト装置の処理が完了する。
Thus, the processing of the interactive multi-window program automatic test apparatus, which is the operation of the third embodiment of the present invention, is completed.

【0044】本発明の第3の実施例であるインタラクテ
ィブ型マルチウインドウプログラム自動テスト装置は、
画面イメージを現画面イメージ記憶ファイルに記憶する
際に記憶時刻を付加し、以前のテスト時に記憶された画
面イメージと今回のテスト対象の画面イメージとの間に
差異がないかどうかを判定する際に、以前のテスト時に
記憶された画面イメージの抽出条件に記憶時刻を用いて
抽出するようにしたことにより、テスト結果の確認を部
分毎に実施することができる効果がある。例えば過去に
蓄積されたテスト結果の内、不要なテスト結果を採用し
ないようにすることを容易に実施することができる効果
がある。
An interactive multi-window program automatic test apparatus according to a third embodiment of the present invention comprises:
When storing the screen image in the current screen image storage file, the storage time is added to determine whether there is a difference between the screen image stored in the previous test and the screen image of the current test object. By extracting the screen image stored at the time of the previous test by using the storage time as the extraction condition, it is possible to confirm the test result for each part. For example, there is an effect that it is easy to prevent unnecessary test results from being adopted from the test results accumulated in the past.

【0045】図1を参照すると、本発明の第4の実施例
であるインタラクティブ型マルチウインドウプログラム
自動テスト装置は、第3の発明のインタラクティブ型マ
ルチウインドウプログラム自動テスト装置において、画
面イメージ記憶手段4が画面イメージ、画面IDを記憶
時刻とともに現画面イメージ記憶ファイル13に記憶す
る際に、直前に前記画面イメージ記憶手段4が現画面イ
メージ記憶ファイル13に記憶した画面イメージとの間
に差異が無いかを判断し、差異があった時のみ画面イメ
ージを記憶することを前記画面イメージ記憶手段4に指
示する画面イメージ変化検出手段5から構成されてい
る。
Referring to FIG. 1, an interactive multi-window program automatic test apparatus according to a fourth embodiment of the present invention is the same as the interactive multi-window program automatic test apparatus according to the third embodiment. When the screen image and the screen ID are stored in the current screen image storage file 13 together with the storage time, it is determined whether there is a difference between the screen image and the screen image stored in the current screen image storage file 13 by the screen image storage unit 4 immediately before. It comprises a screen image change detecting means 5 for instructing the screen image storing means 4 to judge and store a screen image only when there is a difference.

【0046】次に本発明の第4の実施例の動作につい
て、図1、図2、図3、図4、および図7を参照して説
明する。
Next, the operation of the fourth embodiment of the present invention will be described with reference to FIGS. 1, 2, 3, 4, and 7.

【0047】画面イメージ選択手段3にステップ32に
おいて起動された画面イメージ記憶手段4は、画面イメ
ージ変化検出手段5を呼び出し、画面イメージ選択手段
3が選択したテスト対象プログラム1の画面イメージを
画面IDと、さらにこのテストを実施しているコンピュ
ータまたはワークステーションが保持しているその時点
の時刻を転送する(ステップ43)。
The screen image storing means 4 started by the screen image selecting means 3 in step 32 calls the screen image change detecting means 5, and the screen image of the test target program 1 selected by the screen image selecting means 3 is stored as the screen ID and the screen ID. Then, the current time held by the computer or workstation performing the test is transferred (step 43).

【0048】画面イメージ変化検出手段5は、まずステ
ップ43において画面イメージ記憶手段4から得た画面
IDと同一画面IDの画面イメージが現画面イメージフ
ァイル13内に存在するか否かを判定し(ステップ5
1)、同一画面IDの画面イメージが存在すれば、ステ
ップ43において画面イメージ記憶手段4から得た時刻
に最も近い記憶時刻の現画面イメージファイル13内の
画面イメージとステップ43において画面イメージ記憶
手段4から得た画面イメージを1バイト毎に比較し(ス
テップ52)、差異があれば現画面イメージファイル1
3内の該画面イメージ、画面ID、そして記憶時刻を、
ステップ43において画面イメージ記憶手段4から得た
それぞれ画面イメージ、画面ID、そして時刻で更新す
る(ステップ53)。ステップ52において両画面イメ
ージに差異がなければ、制御を画面イメージ記憶手段4
に戻す。
The screen image change detecting means 5 first determines in step 43 whether or not a screen image having the same screen ID as the screen ID obtained from the screen image storage means 4 exists in the current screen image file 13 (step 43). 5
1) If a screen image with the same screen ID exists, the screen image in the current screen image file 13 at the storage time closest to the time obtained from the screen image storage means 4 in step 43 and the screen image storage means 4 in step 43 Is compared byte by byte (step 52), and if there is a difference, the current screen image file 1
3, the screen image, the screen ID, and the storage time,
In step 43, the screen image, the screen ID, and the time obtained from the screen image storage means 4 are updated (step 53). If there is no difference between the two screen images in step 52, control is passed to the screen image storage means 4.
Return to

【0049】なおステップ52の比較処理は、1ビット
毎、1ブロック毎などの単位で実施しても良い。
The comparison process in step 52 may be performed in units of one bit or one block.

【0050】ステップ51において同一画面IDの画面
イメージが存在しなければ、ステップ43において画面
イメージ記憶手段4から得た画面イメージ、画面ID、
そして時刻をそのままそれぞれ画面イメージ、画面I
D、そして記憶時刻として現画面イメージファイル13
に記憶する(ステップ54)。ステップ54終了後、制
御が画面イメージ記憶手段4に戻る。
If there is no screen image having the same screen ID in step 51, the screen image obtained from the screen image storage means 4 in step 43, the screen ID,
And screen time, screen I respectively
D, and current screen image file 13 as storage time
(Step 54). After the end of step 54, the control returns to the screen image storage means 4.

【0051】以上により、本発明の第4の実施例の動作
であるインタラクティブ型マルチウインドウプログラム
自動テスト装置の処理が完了する。
Thus, the processing of the interactive multi-window program automatic test apparatus, which is the operation of the fourth embodiment of the present invention, is completed.

【0052】本発明の第4の実施例であるインタラクテ
ィブ型マルチウインドウプログラム自動テスト装置は、
画面イメージを現画面イメージ記憶ファイルに記憶する
際に直前に記憶した画面イメージと比較し、差異があっ
た場合のみ現画面イメージ記憶ファイルに記憶するよう
にしたことにより、同一画面を記憶するという無駄な入
出力処理を省略することができ、テスト効率を向上させ
ることができる効果がある。
An interactive multi-window program automatic test apparatus according to a fourth embodiment of the present invention comprises:
When the screen image is stored in the current screen image storage file, it is compared with the screen image stored immediately before, and only when there is a difference, is stored in the current screen image storage file, so that the same screen is not stored. There is an effect that test input / output processing can be omitted and test efficiency can be improved.

【0053】[0053]

【発明の効果】以上説明したように、本発明のインタラ
クティブ型マルチウインドウプログラム自動テスト装置
は、ウインドウマネージャを経由して表示される全ての
画面イメージを受け取り、テスト対象とする画面イメー
ジだけを選択・記憶しておき、テスト終了後にテスト結
果である画面イメージを表示することができるようにし
たことにより、従来は常時、テスト者が監視していなけ
ればならなかったインタラクティブ型マルチウインドウ
プログラムのテストをバッチ型のプログラムと同様に自
動的に実行することができ、テストを容易に実施するこ
とができる効果を有している。
As described above, the interactive multi-window program automatic test apparatus of the present invention receives all screen images displayed via the window manager, and selects only the screen image to be tested. By storing it and displaying the screen image that is the test result after the test is completed, it is possible to batch test interactive multi-window programs that had to be constantly monitored by the tester in the past. It can be automatically executed like a type program, and has an effect that a test can be easily performed.

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

【図1】図1は本発明の第1、第2、第3、および第4
の実施例を示すブロック図である。
FIG. 1 illustrates first, second, third, and fourth embodiments of the present invention.
FIG. 3 is a block diagram showing an embodiment.

【図2】図2は本発明の第1、第2、第3、および第4
の実施例のコマンドファイル11の内容を示す図であ
る。
FIG. 2 illustrates first, second, third, and fourth embodiments of the present invention.
FIG. 8 is a diagram showing the contents of a command file 11 according to the embodiment.

【図3】図3は本発明の第1、第2、第3、および第4
の実施例の現画面イメージ記憶ファイル13に記憶され
ている画面イメージの例である。
FIG. 3 illustrates first, second, third, and fourth embodiments of the present invention.
13 is an example of a screen image stored in a current screen image storage file 13 of the embodiment.

【図4】図4は本発明の第1の実施例のウインドウマネ
ージャ2、画面イメージ選択手段3、画面イメージ記憶
手段4、およびテスト結果表示手段6の処理を示す流れ
図である。
FIG. 4 is a flowchart showing processing of a window manager 2, a screen image selecting means 3, a screen image storing means 4, and a test result displaying means 6 according to the first embodiment of the present invention.

【図5】図5は本発明の第2の実施例のテスト結果表示
手段6、および画面イメージ比較手段7の処理を示す流
れ図である。
FIG. 5 is a flowchart showing the processing of a test result display means 6 and a screen image comparison means 7 according to a second embodiment of the present invention.

【図6】図6は本発明の第3の実施例の画面イメージ記
憶手段4、テスト結果表示手段6、および画面イメージ
比較手段7の処理を示す流れ図である。
FIG. 6 is a flowchart showing processing of a screen image storage unit 4, a test result display unit 6, and a screen image comparison unit 7 according to a third embodiment of the present invention.

【図7】図7は本発明の第4の実施例の画面イメージ記
憶手段4、画面イメージ変化検出手段5の処理を示す流
れ図である。
FIG. 7 is a flowchart showing processing of a screen image storage means 4 and a screen image change detection means 5 according to a fourth embodiment of the present invention.

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

1 テスト対象プログラム 2 ウインドウマネージャ 3 画面イメージ選択手段 4 画面イメージ記憶手段 5 画面イメージ変化検出手段 6 テスト結果表示手段 7 画面イメージ比較手段 11 コマンドファイル 12 画面表示装置 13 現画面イメージファイル 14 旧画面イメージファイル 15 結果表示装置 DESCRIPTION OF SYMBOLS 1 Test target program 2 Window manager 3 Screen image selection means 4 Screen image storage means 5 Screen image change detection means 6 Test result display means 7 Screen image comparison means 11 Command file 12 Screen display device 13 Current screen image file 14 Old screen image file 15 Result display device

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 対話形式のマルチウインドウ画面を表示
するテストプログラムの実行時に、このテストプログラ
ムがウインドウマネージャを経由して表示する全ての画
面イメージを受取り、利用者が指定する画面イメージだ
けを選択する画面イメージ選択手段と、 この画面イメージ選択手段が選択した画面イメージを記
憶媒体に記憶する画面イメージ記憶手段と、 この画面イメージ記憶手段が記憶媒体に記憶した画面イ
メージをテスト結果として結果表示装置に表示し、この
画面イメージを記憶媒体に記憶するテスト結果表示手段
を備えることを特徴とするインタラクティブ型マルチウ
インドウプログラム自動テスト装置。
When a test program for displaying an interactive multi-window screen is executed, the test program receives all screen images to be displayed via a window manager and selects only a screen image specified by a user. Screen image selecting means, screen image storing means for storing the screen image selected by the screen image selecting means in a storage medium, and displaying the screen image stored in the storage medium by the screen image storing means on a result display device as a test result An interactive multi-window program automatic test apparatus comprising a test result display means for storing the screen image in a storage medium.
【請求項2】 前記画面イメージ選択手段が選択し、前
記画面イメージ記憶手段が記憶媒体に記憶した画面イメ
ージと、過去に前記テスト結果表示手段が記憶媒体に記
憶した画面イメージとの間に差異が無いかを比較する画
面イメージ比較手段と、 この画面イメージ比較手段が比較した両画面イメージの
差分を、テスト結果として結果表示装置に表示するテス
ト結果表示手段を備えることを特徴とする請求項1のイ
ンタラクティブ型マルチウインドウプログラム自動テス
ト装置。
2. A difference between a screen image selected by said screen image selection means and stored by said screen image storage means in a storage medium and a screen image previously stored in said storage medium by said test result display means. 2. A screen image comparing means for comparing whether there is a screen image, and a test result display means for displaying a difference between the two screen images compared by the screen image comparing means on a result display device as a test result. Interactive multi-window program automatic test equipment.
【請求項3】 前記画面イメージ選択手段が選択した画
面イメージを記憶媒体に記憶する際に、画面イメージと
ともに記憶時刻を記憶する画面イメージ記憶手段と、 前記画面イメージ記憶手段が記憶媒体に記憶した画面イ
メージと、過去に前記テスト結果表示手段が記憶媒体に
記憶した画面イメージとの間に差異が無いかを、前記画
面イメージ記憶手段が付与した記憶時刻を条件として比
較する画面イメージ比較手段を備えることを特徴とする
請求項2のインタラクティブ型マルチウインドウプログ
ラム自動テスト装置。
3. A screen image storage means for storing a storage time together with a screen image when the screen image selected by the screen image selection means is stored in a storage medium, and a screen stored in the storage medium by the screen image storage means. Screen image comparison means for comparing whether there is a difference between an image and a screen image stored in the storage medium by the test result display means in the past on the condition of the storage time given by the screen image storage means. 3. An automatic multi-window program automatic test apparatus according to claim 2, wherein:
【請求項4】 前記画面イメージ記憶手段が画面イメー
ジを記憶時刻とともに記憶媒体に記憶する際に、過去に
前記画面イメージ記憶手段が記憶媒体に記憶した画面イ
メージとの間に差異が無いかを判断し、差異があった時
のみ画面イメージを記憶することを前記画面イメージ記
憶手段に指示する画面イメージ変化検出手段を備えるこ
とを特徴とする請求項3のインタラクティブ型マルチウ
インドウプログラム自動テスト装置。
4. When the screen image storage means stores the screen image in the storage medium together with the storage time, it is determined whether there is a difference between the screen image and the screen image stored in the storage medium in the past. 4. An automatic multi-window program automatic test apparatus according to claim 3, further comprising a screen image change detecting means for instructing said screen image storing means to store a screen image only when there is a difference.
JP5231515A 1993-09-17 1993-09-17 Interactive multi-window program automatic test equipment Expired - Fee Related JP2570592B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5231515A JP2570592B2 (en) 1993-09-17 1993-09-17 Interactive multi-window program automatic test equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5231515A JP2570592B2 (en) 1993-09-17 1993-09-17 Interactive multi-window program automatic test equipment

Publications (2)

Publication Number Publication Date
JPH0784829A JPH0784829A (en) 1995-03-31
JP2570592B2 true JP2570592B2 (en) 1997-01-08

Family

ID=16924702

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5231515A Expired - Fee Related JP2570592B2 (en) 1993-09-17 1993-09-17 Interactive multi-window program automatic test equipment

Country Status (1)

Country Link
JP (1) JP2570592B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3008872B2 (en) 1997-01-08 2000-02-14 日本電気株式会社 GUI system automatic operation device and operation macro execution device
US7922899B2 (en) 2005-06-09 2011-04-12 Gambro Lundia Ab Medical apparatus and method for setting up a medical apparatus
JP5591072B2 (en) * 2010-11-18 2014-09-17 三菱電機株式会社 Software automatic test apparatus and software automatic test method
US20160048315A1 (en) * 2013-03-19 2016-02-18 Nec Solution Innovators, Ltd. Usability-check-result output method, device, and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01199240A (en) * 1988-02-03 1989-08-10 Toshiba Corp Dynamic test device for program
JPH0363837A (en) * 1989-08-02 1991-03-19 Nec Corp Software program inspection system
JPH0546435A (en) * 1991-08-19 1993-02-26 Matsushita Electric Ind Co Ltd Method and device for automatic test
JPH05173739A (en) * 1991-12-24 1993-07-13 Toshiba Corp Operation manipulating picture reproducing device

Also Published As

Publication number Publication date
JPH0784829A (en) 1995-03-31

Similar Documents

Publication Publication Date Title
US5960199A (en) Model trace view for object-oriented systems
US6184880B1 (en) Automatic GUI system operation device and operation macro execution device
JPH05346875A (en) Automation testing system for computer application software
US5315697A (en) Method for linking program execution status information
KR100425332B1 (en) Method of designating paper type after loading paper in output apparatus having multi-cassettes
JPH07104959A (en) Multimedia information addition system
US7007241B2 (en) Display device with a focus buoy facility
JPH06309426A (en) Method for inputting threshold
JP2570592B2 (en) Interactive multi-window program automatic test equipment
CN106411649A (en) Control method and device for remote playing system
JPH06215043A (en) Hypertext system and history information display method for the same
JPH10275093A (en) Program test support device
EP0273248A2 (en) Machine/user conversation windowing
JPH10149301A (en) Script generation device
JPH09152926A (en) Image information processor with changeable guide input function
JPH09185527A (en) Operation evaluating method for computer system
JP3138430B2 (en) User interface screen creation support device
US20060136426A1 (en) Method for automated control of an internet site, as well as a use
JP3068698B2 (en) Facsimile machine with storage device
JPH04107727A (en) Menu display device
JP2619487B2 (en) File operation method
JP2706472B2 (en) Sequence program editing method
JPH10198545A (en) Display controller and display control method
JP2822885B2 (en) Event recording device and event reproduction device
JP3057620B2 (en) Information processing device

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: 19960827

LAPS Cancellation because of no payment of annual fees