JPH0546435A - Method and device for automatic test - Google Patents

Method and device for automatic test

Info

Publication number
JPH0546435A
JPH0546435A JP3206742A JP20674291A JPH0546435A JP H0546435 A JPH0546435 A JP H0546435A JP 3206742 A JP3206742 A JP 3206742A JP 20674291 A JP20674291 A JP 20674291A JP H0546435 A JPH0546435 A JP H0546435A
Authority
JP
Japan
Prior art keywords
software
operation procedure
procedure
automatic test
test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3206742A
Other languages
Japanese (ja)
Inventor
Hirohiko Tanaka
裕彦 田中
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP3206742A priority Critical patent/JPH0546435A/en
Publication of JPH0546435A publication Critical patent/JPH0546435A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To automatize the system test of the same software operated in plural computers. CONSTITUTION:Operation procedures of test object soft are preliminarily stored in an operation storage means 1, and an operation generating means 2 reads out operation procedures from the means 1 to send them to an operation procedures sending means 3. This means 3 sends these operation procedures to the test object software operated in plural computers. Execution results of test object software are recorded by a result recording means 4 and are compared with one another by a result comparing means 5 to output the verification result to a picture or the like. Thus, effects of the reduction of the time and persons required for the system test, the improvement of accuracy of the test, the improvement of the fault detection rate in various conditions, etc., are obtained.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、対話型ソフトウェアの
システムテストを自動的におこなう自動テスト装置およ
び自動テスト方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic test device and an automatic test method for automatically performing a system test of interactive software.

【0002】[0002]

【従来の技術】近年、ソフトウェアの規模の増大に伴い
品質の向上がますます重要になってきている。とりわ
け、ワープロに代表される対話型アプリケーションソフ
トでは、外部仕様に沿った実使用環境でのテスト工程
(以下ではシステムテストと呼ぶ)の質・量によって品
質が大きく左右される。しかしながら以下〜に列挙
した理由により、システムテストの実施には多大な時間
と人員が必要とされてきた。
2. Description of the Related Art In recent years, it has become more and more important to improve quality as the scale of software increases. In particular, the quality of interactive application software typified by a word processor is greatly affected by the quality and quantity of a test process (hereinafter referred to as a system test) in an actual use environment according to external specifications. However, for the reasons listed below, conducting system tests has required a great deal of time and personnel.

【0003】アプリケーションソフト自身のバージョ
ンアップやバグ修正のたびに、変更が加えられていない
機能に関しても以前の品質を保証するために、前回と同
じテスト内容を繰り返して実施する必要がある。 他機種への移植やOS等のシステムのバージョンアッ
プの際には、アプリケーションソフトの機能変更がない
にもかかわらず、前回行ったテストと全く同じ内容のテ
ストを再度実施する必要がある。
Every time the version of the application software itself is revised or a bug is corrected, it is necessary to repeat the same test contents as the previous one in order to guarantee the previous quality of the function that has not been changed. When porting to another model or upgrading the system such as the OS, it is necessary to re-execute the test having exactly the same content as the previous test, although the function of the application software is not changed.

【0004】テスト結果が正しいかどうかの判定は、
多くの場合実行結果が外部仕様と等しいかを、人間が目
視で比較することにより行っている。そこで、これらの
システムテストを自動化するための自動テスト装置が提
案されている。図14は従来の自動テスト装置の構成を
示すものである。図において、121は操作記憶手段、
122は操作発生手段、123は正解ファイル比較手
段、124は結果記録手段、125は正解ファイル記憶
手段である。また図15は従来の自動テスト装置を使用
する形態を示したものである。図において131は従来
の自動テスト装置、132はテスト対象ソフトを実行さ
せる計算機である。なお図15は一般的な形態を示した
ものであって、UNIXのように1つの計算機で複数の
プロセスが実行可能な環境では、テスト対象ソフトが自
動テスト装置と同じ計算機であってもよい。
Whether the test result is correct or not is determined by
In many cases, humans visually compare whether the execution results are the same as the external specifications. Therefore, an automatic test device for automating these system tests has been proposed. FIG. 14 shows the structure of a conventional automatic test apparatus. In the figure, 121 is an operation storage means,
122 is an operation generating means, 123 is a correct answer file comparing means, 124 is a result recording means, and 125 is a correct answer file storing means. Further, FIG. 15 shows a form in which a conventional automatic test device is used. In the figure, 131 is a conventional automatic test apparatus, and 132 is a computer that executes software to be tested. Note that FIG. 15 shows a general form, and in an environment in which a plurality of processes can be executed by one computer such as UNIX, the test target software may be the same computer as the automatic test device.

【0005】以上のように構成された自動テスト装置
は、以下に列挙する順に処理を進行する。 (1)まずテスト対象ソフトを計算機132上で起動し
ておく。 (2)操作発生手段122が、操作記憶手段121から
操作手順を読み出しテスト対象ソフトを実行させる。 (3)結果記録手段124がテスト対象ソフトの実行結
果を記録する。 (4)正解ファイル比較手段123が、結果記録手段1
24で記録した実行結果と正解ファイル記憶手段125
の該当する正しい実行結果を比較し、比較結果を画面等
に出力する。 (5)操作記憶手段121にまだ実行していない操作が
残っていれば、上の(2)から(4)の処理を繰り返
す。
The automatic test apparatus configured as described above proceeds with processing in the order listed below. (1) First, the test target software is activated on the computer 132. (2) The operation generation unit 122 reads the operation procedure from the operation storage unit 121 and executes the test target software. (3) The result recording means 124 records the execution result of the software to be tested. (4) The correct answer file comparing means 123 is the result recording means 1
Execution result recorded in 24 and correct answer file storage means 125
The corresponding correct execution result of is compared and the comparison result is output to a screen or the like. (5) If there is an operation that has not been executed yet in the operation storage unit 121, the above processes (2) to (4) are repeated.

【0006】[0006]

【発明が解決しようとする課題】しかしながら上記のよ
うな構成では、テスト対象ソフトの正しい実行結果をあ
らかじめ正解ファイル記憶手段に格納しておかなければ
ならず、手間がかかるとともに大きな記憶装置が必要と
なる。さらに正解ファイル記憶手段に格納していない状
況でのテストが不可能であるという問題点を有してい
た。
However, in the above configuration, the correct execution result of the software to be tested must be stored in advance in the correct answer file storage means, which is troublesome and requires a large storage device. Become. Further, there is a problem that the test cannot be performed in a situation where the correct answer file storage means is not stored.

【0007】本発明は上記問題点に鑑み、あらかじめ正
解ファイルを記憶しておく必要がなく、しかも任意の時
点でのテストを可能とする自動テスト装置及び自動テス
ト方法を提供することを目的とする。
In view of the above problems, it is an object of the present invention to provide an automatic test apparatus and an automatic test method which do not require the correct answer file to be stored in advance and enable a test at any time. ..

【0008】[0008]

【課題を解決するための手段】上記問題点を解決するた
めに本発明の自動テスト装置は、テスト対象ソフトの操
作手順を記憶する操作記憶手段と、前記操作記憶手段か
ら操作手順を読み出す操作発生手段と、前記操作発生手
段から操作手順を受け取り、複数の環境で動作している
テスト対象ソフトに操作手順を送り実行させる操作手順
送出手段と、各テスト対象ソフトでの操作手順の実行結
果を記録する結果記録手段と、前記結果記録手段で記録
した各テスト対象ソフトの実行結果を比較する結果間比
較手段とを備えたものである。
In order to solve the above-mentioned problems, the automatic test apparatus of the present invention comprises an operation storage means for storing an operation procedure of software to be tested, and an operation generation for reading the operation procedure from the operation storage means. Means, an operation procedure sending means for receiving the operation procedure from the operation generating means, sending the operation procedure to the test target software operating in a plurality of environments, and recording the execution result of the operation procedure for each test target software. The result recording means and the inter-result comparison means for comparing the execution results of the respective test target software recorded by the result recording means.

【0009】又、本発明の自動テスト方法は、テスト対
象ソフトの操作手順を記憶している操作記憶手段から操
作手順を読み出すステップと、読出した操作手順を、複
数の環境で動作しているテスト対象ソフトに送り実行さ
せるステップと、各テスト対象ソフトでの操作手順の実
行結果を記録するステップと、記録した各テスト対象ソ
フトの実行結果を比較するステップとを備えたことを特
徴としている。
Further, the automatic test method of the present invention comprises a step of reading out the operating procedure from an operation storing means for storing the operating procedure of the software to be tested, and a test in which the read operating procedure is operating in a plurality of environments. The method is characterized by including a step of sending the target software to be executed, a step of recording the execution result of the operating procedure in each test target software, and a step of comparing the recorded execution results of the respective test target software.

【0010】[0010]

【作用】本発明は上記した構成によって、テスト時に複
数のテスト対象ソフト間の実行結果を比較することによ
り、正解ファイル記憶手段を省略できることになる。
According to the present invention, with the above configuration, the correct answer file storage means can be omitted by comparing the execution results among a plurality of software under test at the time of testing.

【0011】[0011]

【実施例】図1は本発明の一使用形態を示す図であり、
図において、111は自動テスト装置、112〜114
はテスト対象ソフトを実行させる計算機である。自動テ
スト装置111と各計算機112〜114はデータ伝送
の可能な線路115で接続されている。勿論、自動テス
ト装置と各計算機との接続はバス、LAN等公知の手法
を採用できる。又、図は一般的な使用形態を示したもの
であって、UNIXのように1つの計算機で複数のプロ
セスが実行可能な環境では、テスト対象ソフトは自動テ
スト装置と同じ計算機上で動作させるものであってもよ
い。更に図ではテスト対象ソフトを3つの計算機で実行
させる場合を示したが、これは2つでもよく、また4つ
以上でもよい。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a diagram showing a usage pattern of the present invention.
In the figure, 111 is an automatic test device, and 112 to 114.
Is a computer that executes the software to be tested. The automatic test equipment 111 and each of the computers 112 to 114 are connected by a line 115 capable of data transmission. Of course, a publicly known method such as a bus and a LAN can be adopted to connect the automatic test device and each computer. In addition, the figure shows a general usage pattern. In an environment where multiple processes can be executed by one computer such as UNIX, the test target software runs on the same computer as the automatic test equipment. May be Further, in the figure, the case where the software to be tested is executed by three computers is shown, but the number may be two, or four or more.

【0012】前記自動テスト装置111は図2に示すよ
うに操作記憶手段1、操作発生手段2、操作手順送出手
段3、結果記録手段4、及び結果間比較手段5からなっ
ている。操作記憶手段1は前もってオペレータによって
作成された操作を記憶している。ここに操作とは、例え
ばテスト対象ソフトがワードプロセッサのソフトである
場合なら、図2の操作記憶手段2の中に示すように、
「あ」「い」といった文字コードや「複写」「印刷」と
いった制御コードが所定の順序で配列されたものをい
う。操作記憶手段1に操作を記憶する形式としては、文
字コードや制御コードといったコードが一般的である
が、その他、音声信号等でもかまわない。
As shown in FIG. 2, the automatic test apparatus 111 comprises an operation storage means 1, an operation generation means 2, an operation procedure sending means 3, a result recording means 4 and a result comparison means 5. The operation storage unit 1 stores the operation created by the operator in advance. Here, the operation means, for example, when the software to be tested is the software of the word processor, as shown in the operation storage means 2 of FIG.
It means that character codes such as "A" and "I" and control codes such as "copy" and "print" are arranged in a predetermined order. A code such as a character code or a control code is generally used as a format for storing the operation in the operation storage means 1, but a voice signal or the like may be used.

【0013】操作発生手段2は、操作記憶手段1に記憶
されている操作を読出し、操作手順送出手段3に与え
る。この場合、操作記憶手段1に記憶されている言語形
式と、操作手順送出手段3の送出先である計算機112
〜114の処理できる言語とが異なるときには、計算機
111〜113で処理できる言語に変換する処理も行
う。又、操作記憶手段1からの操作の読出しは、記憶さ
れている順に全て読出す方法でもよいが、テスト対象ソ
フトの障害が発見しやすい任意の方法で読出すこともで
きる。そのような実施例は後述する。
The operation generation means 2 reads out the operation stored in the operation storage means 1 and supplies it to the operation procedure sending means 3. In this case, the language format stored in the operation storage unit 1 and the computer 112 that is the destination of the operation procedure transmission unit 3
If the language that can be processed by the computer is different, the process of converting to a language that can be processed by the computers 111 to 113 is also performed. The operations can be read from the operation storage means 1 in the order in which they are stored, but they can also be read by any method that makes it easy to find a failure in the software under test. Such an embodiment will be described later.

【0014】操作手順送出手段3は、操作発生手段2か
ら受け取った操作手順を各計算機111〜113に送出
する。この場合、各計算機111〜113が操作手順を
同時に実行できるよう、操作手順の送出は、一操作内容
毎若しくはそれ以下の単位(例えば数ビット乃至数十ビ
ット)毎にタイムシェアリングに行われる。結果記録手
段4は、各計算機111〜113の処理結果を記録する
ために、計算機111〜113の数に対応して存在す
る。記録すべき結果は、例えばテスト対象ソフトがワー
プロの場合は、画面イメージに相当するビットデータと
かプリントすべきプリントデータとか、更にはテスト対
象ソフトのデータファイルとか、要は発見しようとする
障害の種類に応じて選択できる。
The operation procedure sending means 3 sends the operation procedure received from the operation generating means 2 to each of the computers 111 to 113. In this case, the operation procedure is transmitted in time sharing for each operation content or for each unit (for example, several bits to several tens of bits) so that the computers 111 to 113 can simultaneously execute the operation procedure. The result recording unit 4 exists in correspondence with the number of the computers 111 to 113 in order to record the processing result of each of the computers 111 to 113. The results to be recorded are, for example, when the software to be tested is a word processor, bit data corresponding to a screen image, print data to be printed, a data file of the software to be tested, or the type of failure to be detected. Can be selected according to.

【0015】結果間比較手段5は、結果記録手段4の記
録している結果を比較する。比較の方法は、図3に示す
ように各結果記録手段4a、4b、4cの記録している
結果A、B、Cを共通の様式A’、B’、C’に変換し
て後比較する方法と、図4に示すように結果間比較手段
5の中に、各結果A、B、C間の様式の違いに関する情
報を持っており、そのため共通の様式に変換することな
く、直ちに結果の比較を行う方法とが実施できる。
The result comparison means 5 compares the results recorded by the result recording means 4. As a comparison method, as shown in FIG. 3, the results A, B, and C recorded by the result recording means 4a, 4b, and 4c are converted into common formats A ′, B ′, and C ′ for post-comparison. The method and the inter-result comparison means 5 as shown in FIG. 4 have information on the difference in the format among the results A, B, and C, so that the results are immediately converted without conversion into a common format. A method of making a comparison can be implemented.

【0016】結果間比較の結果は、例えばB、Cが同じ
結果であるが、Aが異なるというように3つの結果A、
B、Cの比較状況が出力される。オペレータはこの出力
から例えば多数決の原理に基づいてAの結果をもたらし
たテスト対象ソフトが障害であると判断する。なお、複
数のテスト対象ソフトのうち予め障害のないソフトが存
在すれば、結果間比較は、その障害のないソフトの処理
結果を基準として他の結果を比較し出力でき、その場合
は多数決の原理による必要がない。
As a result of the comparison between the results, for example, B and C are the same result, but A is different.
The comparison status of B and C is output. From this output, the operator determines that the software under test that has produced the result of A is a failure based on the principle of majority voting, for example. If there is software that has no faults in advance among multiple software to be tested, comparison between results can be performed by comparing other results based on the processing results of the software that does not have faults. In that case, the principle of majority voting You don't have to.

【0017】図5は、上記自動テスト装置の動作を説明
するフローである。#1でまず、テスト対象ソフトを計
算機111、112、113上で起動しておき、操作発
生手段2が、操作記録手段1から操作手順を読出す(#
2)。続いて、操作手順送出手段3が、操作発生手段2
から操作手順を受け取り、複数の計算機111、11
2、113で動作しているテスト対象ソフトに操作手順
を送り同時に実行させる(#3)。次に、結果記録手段
4が各計算機111〜113で実行された各テスト対象
ソフトの実行結果を記録する(#4)。最後に結果間比
較手段5が、結果記録手段4で記録した各テスト対象ソ
フトの実行結果を比較し、比較結果を画面等に出力する
(#5)。以上の処理を、操作記憶手段1にまだ実行し
ていない操作が残っていればなくなるまで実行する(#
6)。複数の計算機で操作している各テスト対象ソフト
に同じ操作を送って同時に実行させ、実行結果の違いを
検出することができる。そして、この場合、正しく動作
するテスト対象をある1つの計算機上で動かし、残りの
計算機でテスト中のテスト対象ソフトを動かすことによ
り、複数の計算機に移植されたテスト対象ソフトを1度
にテストすることができ、大幅な時間短縮が可能とな
る。
FIG. 5 is a flow chart for explaining the operation of the above automatic test device. In # 1, first, the software to be tested is started on the computers 111, 112, 113, and the operation generating means 2 reads the operation procedure from the operation recording means 1 (#
2). Then, the operation procedure sending means 3 causes the operation generating means 2 to
Operation procedure from a plurality of computers 111, 11
The operation procedure is sent to the software to be tested operating at 2 and 113 to be executed at the same time (# 3). Next, the result recording means 4 records the execution result of each test target software executed by each of the computers 111 to 113 (# 4). Finally, the result comparison unit 5 compares the execution results of the test target software recorded by the result recording unit 4 and outputs the comparison result on a screen or the like (# 5). The above processing is executed until there is any operation that has not been executed yet in the operation storage means 1 (#
6). It is possible to detect the difference in execution results by sending the same operation to each test target software operating on multiple computers and executing them simultaneously. Then, in this case, the test target software that operates correctly is moved on one computer, and the test target software under test is moved on the remaining computers to test the test target software that has been ported to multiple computers at once. Therefore, it is possible to significantly reduce the time.

【0018】次に、図6、図7は操作発生手段2におい
て採用可能な他の処理内容を示している。このうち、図
6は操作発生手段2が操作記憶手段1に対するアドレス
指定をランダムに行うことのできるランダムアドレス発
生機能をもったもののフローを示している。#21にお
いて、操作記憶手段1から任意の操作をランダムに選択
し、操作手順送出手段3に送る。#22において、予め
設定されている終了条件、例えば回数や経過時間を調
べ、条件に合致していれば処理を終了する。条件に合致
しなければ#21に戻る。
Next, FIGS. 6 and 7 show other processing contents that can be adopted in the operation generating means 2. Among them, FIG. 6 shows a flow of the operation generating means 2 having a random address generating function capable of randomly specifying an address for the operation storing means 1. In # 21, an arbitrary operation is randomly selected from the operation storage means 1 and sent to the operation procedure sending means 3. In # 22, a preset termination condition, for example, the number of times or elapsed time is checked, and if the conditions are met, the process is terminated. If the conditions are not met, the process returns to # 21.

【0019】この実施例のように、操作手順をランダム
に読出し各テスト対象ソフト上で実行させれば、障害が
より発見しやすいという利点がある。一方、図7の処理
内容は、操作記憶手段1から特定の操作を読出し(#3
1)、これを予め定めた終了条件(例えば回数又は経過
時間)に達するまで(#31)、操作手順送出手段3に
送る(#32)。
As in this embodiment, if the operation procedure is read out randomly and executed on each piece of software to be tested, there is an advantage that a fault can be more easily found. On the other hand, the processing content of FIG. 7 reads a specific operation from the operation storage means 1 (# 3
1) Until the predetermined end condition (for example, the number of times or the elapsed time) is reached (# 31), it is sent to the operation procedure sending means 3 (# 32).

【0020】操作手順送出手段3は各計算機111〜1
13に送出するので、各計算機上で動作しているテスト
対象ソフトは特定の操作を決められた回数若しくは時間
繰り返し実行する。このように各テスト対象ソフトに対
して特定の操作を繰り返して実行すると、過酷な使用環
境での障害を発見できる可能性を高めることができる。
The operation procedure sending means 3 is composed of the computers 111 to 1
Since the data is sent to 13, the test target software operating on each computer repeatedly executes a specific operation a predetermined number of times or for a predetermined time. In this way, by repeatedly executing a specific operation on each piece of software to be tested, it is possible to increase the possibility of finding a failure in a harsh usage environment.

【0021】図8、図9は操作手順送出手段3において
採用可能な他の処理内容を示している。このうち、図8
は、テスト対象ソフトを動作させている計算機111〜
113のマシン速度を考慮した場合の操作手順送出動作
を示している。#43においてウェイトする時間は、全
計算機のうち最も遅いもののマシン速度に合わせてあ
る。このようにマシン速度を考慮すれば、操作手順のい
くつかがいずれかのテスト対象ソフトで実行されないと
いった不都合を避けることができると共に、テスト対象
ソフトに操作を送る時間間隔を予め設定できることにな
り、結果記録手段4や結果間比較手段5の処理時間を考
慮に入れたテストの実施が可能となる。
8 and 9 show other processing contents that can be adopted in the operation procedure sending means 3. Of these, Figure 8
Is a computer running the software under test 111-
11 shows an operation procedure sending operation in consideration of the machine speed of 113. The time to wait in # 43 is adjusted to the machine speed of the slowest one of all the computers. By considering the machine speed in this way, it is possible to avoid the inconvenience that some of the operating procedures are not executed by any of the test target software, and it is possible to preset the time interval for sending the operation to the test target software, It is possible to carry out the test in consideration of the processing time of the result recording means 4 and the inter-result comparison means 5.

【0022】一方、図9は、各テスト対象ソフトの実行
終了を監視して操作データを送出する場合の手順を示し
ている。#53において、テスト対象ソフトの実行終了
を確認する方法は、ポーリングでもセンシングでもかま
わない。このような処理内容によれば、テスト対象ソフ
トに操作を送るタイミングと前回の操作実行終了とで同
期をとることができ、テスト対象ソフトが次の操作を受
け入れ可能な状態で確実な実行を行うことが可能とな
る。
On the other hand, FIG. 9 shows a procedure for monitoring the completion of execution of each test target software and transmitting the operation data. In # 53, the method of confirming the end of execution of the software to be tested may be polling or sensing. According to such processing contents, it is possible to synchronize the timing of sending an operation to the software to be tested and the end of the previous operation execution, and the software to be tested reliably executes the next operation in an acceptable state. It becomes possible.

【0023】次に図10〜12は、結果記録手段4にお
ける処理内容の3例を示している。図10の処理は、テ
スト対象ソフトの画面イメージを読取ったものである。
ここで画面イメージとは画面のビットマップ情報又は画
面記述言語等を指す。このように画面イメージで記録す
る方法であると、人間の目では見落としがちな差まで比
較することができ、画面イメージとして生じる障害をよ
り高精度に発見することが可能となる。
Next, FIGS. 10 to 12 show three examples of processing contents in the result recording means 4. The process of FIG. 10 is a reading of a screen image of the test target software.
Here, the screen image refers to screen bitmap information, a screen description language, or the like. According to the method of recording with a screen image in this way, it is possible to compare even differences that human eyes tend to overlook, and it is possible to detect a fault occurring as a screen image with higher accuracy.

【0024】図11は、テスト対象ソフトの印字イメー
ジを読取る場合の処理を示している。ここで印字イメー
ジとは、ワープロ等印刷機能を持つソフトの印刷要ビッ
トマップ情報又はページ記述言語等を指す。この処理内
容によれば、従来のように印字結果を、プリンタに紙で
出力して、外部仕様との比較検証を人手で行っていたの
に比べると、印刷時の微妙な差異、例えば文字フォント
の違いやレイアウトのずれなどを容易に発見することが
できる。又、紙の大幅な節約な可能となる。
FIG. 11 shows the processing for reading the print image of the software to be tested. Here, the print image refers to print-required bitmap information or page description language of software having a printing function such as a word processor. According to this processing content, as compared with the conventional method in which the print result is output to a printer on paper and the comparison and verification with external specifications are performed manually, there are subtle differences in printing, such as character fonts. It is possible to easily find differences in layout and layout. Also, a great saving of paper is possible.

【0025】図12はテスト対象ソフトのデータファイ
ルを読取る場合の処理を示している。ここでデータファ
イルとは、ワープロ文書ファイルやデータベースソフト
のデータベース等を指す。この処理内容によれば、従来
のようにデータファイルの内容をダンプして正しいかど
うかの比較検証を人手で行っていたのに比べて比較にか
かる時間を大幅に節約できると共に正確性も増すことが
可能となる。
FIG. 12 shows the processing when reading the data file of the software to be tested. Here, the data file refers to a word processing document file, a database of database software, or the like. According to this processing content, compared to the conventional method of dumping the contents of the data file and comparing and verifying whether it is correct by hand, the time required for comparison can be greatly saved and the accuracy can be increased. Is possible.

【0026】尚、上記実施例では操作記憶手段1に操作
手順のみが記憶されている場合について説明したが、操
作手順と共に、操作手順間の時間間隔を記憶しておくこ
ともできる。その場合、時間間隔の読出しは操作発生手
段2ではなく、操作手順送出手段3が行うのが合理的で
ある。図13は操作記憶手段1に時間間隔も記憶されて
いる場合における操作手順送出手段3の処理を示したフ
ローである。この図中、#104の時間乗数とは、各計
算機のマシン速度に反比例した値である。即ち、例えば
マシン速度が2倍の計算機においては他の計算機と同じ
待ち時間は必要でなく、その半分でよい。従って、マシ
ン速度が2倍の計算機に対しては時間乗数として1/2
を用意しておき、読出した時間間隔に時間乗数を掛けた
時間待って(#105)、各操作手順を送出するように
しているのである。
In the above embodiment, the case where only the operation procedure is stored in the operation storage means 1 has been described, but the time interval between the operation procedures may be stored together with the operation procedure. In that case, it is rational that the operation procedure sending means 3 does not read the time interval but the operation generating means 2. FIG. 13 is a flow chart showing the processing of the operation procedure sending means 3 when the time interval is also stored in the operation storage means 1. In this figure, the time multiplier of # 104 is a value inversely proportional to the machine speed of each computer. That is, for example, a computer with a double machine speed does not need the same waiting time as other computers, but may have half the waiting time. Therefore, it is 1/2 as a time multiplier for a computer with double machine speed.
Is prepared, and each operation procedure is transmitted after waiting for the time obtained by multiplying the read time interval by the time multiplier (# 105).

【0027】[0027]

【発明の効果】以上のように本発明は、テスト対象ソフ
トの操作手順を記憶する操作記憶手段から操作手順を読
出し、読出した操作手順を、複数の環境で動作している
テスト対象ソフトに送り実行させると共に、テスト対象
ソフトで実行された結果を記録し、比較するものである
から、システムテストにかかる時間と人員の削減、テス
トの正確性の増大、様々な条件での障害発見率の向上な
どの効果を得ることができるといった効果がある。
As described above, according to the present invention, the operation procedure is read from the operation storage means for storing the operation procedure of the test target software, and the read operation procedure is sent to the test target software operating in a plurality of environments. As it is executed and records the result executed by the software to be tested and compares it, it reduces the time and personnel required for the system test, increases the accuracy of the test, and improves the fault detection rate under various conditions. There is an effect that the effect such as can be obtained.

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

【図1】本発明の一実施例の自動テスト装置の使用形態
を示すシステム図である。
FIG. 1 is a system diagram showing a usage pattern of an automatic test apparatus according to an embodiment of the present invention.

【図2】本発明の一実施例としての自動テスト装置を示
す図である。
FIG. 2 is a diagram showing an automatic test apparatus as one embodiment of the present invention.

【図3】結果間比較手段の一例を示す図である。FIG. 3 is a diagram showing an example of a result comparison means.

【図4】結果間比較手段の他の一例を示す図である。FIG. 4 is a diagram showing another example of the result comparison means.

【図5】上記自動テスト装置の動作を説明するフローチ
ャートである。
FIG. 5 is a flow chart illustrating the operation of the automatic test device.

【図6】操作発生手段において採用可能な処理内容を示
すフローチャートである。
FIG. 6 is a flowchart showing processing contents that can be adopted by the operation generating means.

【図7】操作発生手段において採用可能な他の処理内容
を示すフローチャートである。
FIG. 7 is a flowchart showing another processing content that can be adopted by the operation generating means.

【図8】操作手順送出手段において採用可能な処理内容
を示すフローチャートである。
FIG. 8 is a flowchart showing processing contents that can be adopted by the operation procedure sending means.

【図9】操作手順送出手段において採用可能な他の処理
内容を示すフローチャートである。
FIG. 9 is a flowchart showing another processing content that can be adopted by the operation procedure sending means.

【図10】結果記録手段における処理内容を示すフロー
チャートである。
FIG. 10 is a flowchart showing the processing contents of the result recording means.

【図11】結果記録手段における処理内容を示すフロー
チャートである。
FIG. 11 is a flowchart showing the processing contents of the result recording means.

【図12】結果記録手段における処理内容を示すフロー
チャートである。
FIG. 12 is a flowchart showing the processing contents of the result recording means.

【図13】従来の自動テスト装置の使用形態を示すシス
テム図である。
FIG. 13 is a system diagram showing a usage pattern of a conventional automatic test apparatus.

【図14】従来の自動テスト装置の構成を示す図であ
る。
FIG. 14 is a diagram showing a configuration of a conventional automatic test device.

【図15】従来の自動テスト装置の使用形態を示す図で
ある。
FIG. 15 is a diagram showing a usage pattern of a conventional automatic test device.

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

1 操作記憶手段 2 操作発生手段 3 操作手順送出手段 4 結果記録手段 5 結果間比較手段 111 自動テスト装置 112 計算機 113 計算機 114 計算機 121 操作記憶手段 122 操作発生手段 123 正解ファイル比較手段 124 結果記録手段 125 正解ファイル記憶手段 131 自動テスト装置 132 計算機 1 Operation Storage Means 2 Operation Generation Means 3 Operation Procedure Sending Means 4 Result Recording Means 5 Result Comparison Means 111 Automatic Test Equipment 112 Calculator 113 Calculator 114 Calculator 121 Operation Storage Means 122 Operation Generating Means 123 Correct Answer File Comparison Means 124 Result Recording Means 125 Correct answer file storage means 131 Automatic test device 132 Computer

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】 テスト対象ソフトの操作手順を記憶する
操作記憶手段と、前記操作記憶手段から操作手順を読み
出す操作発生手段と、前記操作発生手段から操作手順を
受け取り、複数の環境で動作しているテスト対象ソフト
に操作手順を送り実行させる操作手順送出手段と、各テ
スト対象ソフトでの操作手順の実行結果を記録する結果
記録手段と、前記結果記録手段で記録した各テスト対象
ソフトの実行結果を比較する結果間比較手段とを備えた
ことを特徴とする自動テスト装置。
1. An operation storage unit that stores an operation procedure of software to be tested, an operation generation unit that reads the operation procedure from the operation storage unit, and an operation procedure that is received from the operation generation unit, and operates in a plurality of environments. Operation procedure sending means for sending the operation procedure to the test target software to be executed, result recording means for recording the execution result of the operation procedure for each test target software, and execution result of each test target software recorded by the result recording means And an inter-result comparison means for comparing the above.
【請求項2】 前記操作発生手段が、操作記憶手段から
ランダムに操作を読出し操作手順送出手段に送ることを
特徴とする請求項1記載の自動テスト装置。
2. The automatic test apparatus according to claim 1, wherein the operation generation means reads out an operation from the operation storage means at random and sends it to the operation procedure sending means.
【請求項3】 前記操作発生手段が、操作記憶手段から
特定の操作を読みだし繰り返して操作手順送出手段に送
ることを特徴とする請求項1記載の自動テスト装置。
3. The automatic test apparatus according to claim 1, wherein the operation generating means reads out a specific operation from the operation storing means and repeatedly sends it to the operation procedure sending means.
【請求項4】 前記操作手順送出手段が、操作発生手段
から受け取った操作手順を、前回テスト対象ソフトに操
作手順を送った時刻から一定時間間隔を空けてテスト対
象ソフトに送ることを特徴とする請求項1記載の自動テ
スト装置。
4. The operation procedure sending means sends the operation procedure received from the operation generating means to the test object software at a fixed time interval from the time when the operation procedure was sent to the test object software last time. The automatic test device according to claim 1.
【請求項5】 前記操作手順送出手段が、操作発生手段
から受け取った操作手順を、前回テスト対象ソフトに送
った操作手順に伴うテスト対象ソフトの実行終了を待っ
てからテスト対象ソフトに送ることを特徴とする請求項
1記載の自動テスト装置。
5. The operation procedure sending means sends the operation procedure received from the operation generating means to the test object software after waiting for completion of execution of the test object software associated with the operation procedure sent to the test object software last time. The automatic test apparatus according to claim 1, which is characterized in that.
【請求項6】 結果記録手段はテスト対象ソフトの画面
イメージ、印字イメージ若しくはデータファイルを読み
取り前記結果間比較手段に送ることを特徴とする請求項
1記載の自動テスト装置。
6. The automatic test apparatus according to claim 1, wherein the result recording means reads a screen image, a print image or a data file of the software to be tested and sends it to the result comparison means.
【請求項7】 操作記録手段は、テスト対象ソフトの操
作手順を操作手順間の時間間隔とともに記憶しているこ
とを特徴とする請求項1記載の自動テスト装置。
7. The automatic test apparatus according to claim 1, wherein the operation recording means stores an operation procedure of the software to be tested together with a time interval between the operation procedures.
【請求項8】 前記操作手段送出手段は、操作発生手段
から受け取った操作手順を、前回テスト対象ソフトに操
作手順を送った時刻から前記操作記憶手段に記憶されて
いる操作手順の時間間隔にある一定の数を掛けた時間間
隔を空けてテスト対象ソフトに送ることを特徴とする請
求項7記載の自動テスト装置。
8. The operation means sending means has the operation procedure received from the operation generating means at a time interval of the operation procedure stored in the operation storage means from the time when the operation procedure was sent to the software to be tested last time. 8. The automatic test apparatus according to claim 7, wherein the automatic test apparatus sends the test software at a time interval multiplied by a fixed number.
【請求項9】 テスト対象ソフトの操作手順を記憶して
いる操作記憶手段から操作手順を読み出すステップと、
読出した操作手順を、複数の環境で動作しているテスト
対象ソフトに送り実行させるステップと、各テスト対象
ソフトでの操作手順の実行結果を記録するステップと、
記録した各テスト対象ソフトの実行結果を比較するステ
ップとを備えたことを特徴とする自動テスト方法。
9. A step of reading an operating procedure from an operating storage means that stores the operating procedure of the software to be tested,
A step of sending the read operation procedure to a test target software operating in a plurality of environments for execution, and a step of recording the execution result of the operation procedure in each test target software,
An automatic test method comprising: a step of comparing execution results of the recorded software to be tested.
【請求項10】 前記操作記憶手段から操作手順を読出
すステップは、ランダムに読出しアドレスを指定するこ
とを特徴とする請求項9記載の自動テスト方法。
10. The automatic test method according to claim 9, wherein in the step of reading the operation procedure from the operation storage means, a read address is randomly designated.
【請求項11】 前記操作記憶手段から操作を読出すス
テップは、特定のアドレスから操作を読みだし繰り返し
てテスト対象ソフトに送出することを特徴とする請求項
9記載の自動テスト方法。
11. The automatic test method according to claim 9, wherein in the step of reading the operation from the operation storage means, the operation is read from a specific address and repeatedly sent to the software to be tested.
【請求項12】 前記操作手順をテスト対象ソフトに送
り実行させるステップは、操作発生手段から受け取った
操作手順を、前回テスト対象ソフトに操作手順を送った
時刻から一定時間間隔を空けて送ることを特徴とする請
求項9記載の自動テスト方法。
12. The step of sending the operating procedure to the test target software for execution includes sending the operating procedure received from the operation generating means at a fixed time interval from the time when the operating procedure was sent to the test target software last time. The automatic test method according to claim 9, which is characterized in that.
【請求項13】 前記操作手順をテスト対象ソフトに送
り実行させるステップは、操作発生手段から受け取った
操作手順を、前回テスト対象ソフトに送った操作手順に
伴うテスト対象ソフトの実行終了を待ってから送ること
を特徴とする請求項9記載の自動テスト方法。
13. The step of sending the operation procedure to the test target software for execution, after waiting for the operation procedure received from the operation generating means to wait for the execution end of the test target software associated with the operation procedure previously sent to the test target software, The automatic test method according to claim 9, wherein the automatic test method is sent.
【請求項14】 操作手順の実行結果を記録するステッ
プは、テスト対象ソフトの画面イメージを、印字若しく
はデータファイル読み取ることを特徴とする請求項9記
載の自動テスト方法。
14. The automatic test method according to claim 9, wherein the step of recording the execution result of the operation procedure includes printing or reading a screen image of the software to be tested.
JP3206742A 1991-08-19 1991-08-19 Method and device for automatic test Pending JPH0546435A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3206742A JPH0546435A (en) 1991-08-19 1991-08-19 Method and device for automatic test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3206742A JPH0546435A (en) 1991-08-19 1991-08-19 Method and device for automatic test

Publications (1)

Publication Number Publication Date
JPH0546435A true JPH0546435A (en) 1993-02-26

Family

ID=16528352

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3206742A Pending JPH0546435A (en) 1991-08-19 1991-08-19 Method and device for automatic test

Country Status (1)

Country Link
JP (1) JPH0546435A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0784829A (en) * 1993-09-17 1995-03-31 Nec Corp Automatic testing device for interactive multiwindow program
JP2007140954A (en) * 2005-11-18 2007-06-07 Nippon Telegr & Teleph Corp <Ntt> Operator simulation system and operator simulation method
WO2008099848A1 (en) * 2007-02-14 2008-08-21 Kabushiki Kaisha Win The Web Application analysis support system and program
JP2010015482A (en) * 2008-07-07 2010-01-21 Yokogawa Electric Corp Debugging device for ic tester
JP2010020562A (en) * 2008-07-10 2010-01-28 Ricoh Co Ltd Image processing device, information processing device, software operation testing method, software operation testing program, and recording medium to which the program is recorded
JP2010191705A (en) * 2009-02-18 2010-09-02 Ricoh Co Ltd Information processing apparatus, software operation testing system, software operation testing method, software operation testing program, and recording medium with the program recorded therein
JP2012027839A (en) * 2010-07-27 2012-02-09 Hitachi Information Systems Ltd System and method for detecting abnormality of command execution result
JP2012108773A (en) * 2010-11-18 2012-06-07 Mitsubishi Electric Corp Automatic software test device and automatic software test method
JP2013156875A (en) * 2012-01-31 2013-08-15 Mitsubishi Electric Corp Monitoring screen test support device
JP5998238B1 (en) * 2015-03-31 2016-09-28 エヌ・ティ・ティ・コムウェア株式会社 Software test apparatus, software test method, and software test program

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0784829A (en) * 1993-09-17 1995-03-31 Nec Corp Automatic testing device for interactive multiwindow program
JP2007140954A (en) * 2005-11-18 2007-06-07 Nippon Telegr & Teleph Corp <Ntt> Operator simulation system and operator simulation method
JP4672532B2 (en) * 2005-11-18 2011-04-20 日本電信電話株式会社 Operator simulation system and operator simulation method
WO2008099848A1 (en) * 2007-02-14 2008-08-21 Kabushiki Kaisha Win The Web Application analysis support system and program
JP2010015482A (en) * 2008-07-07 2010-01-21 Yokogawa Electric Corp Debugging device for ic tester
JP2010020562A (en) * 2008-07-10 2010-01-28 Ricoh Co Ltd Image processing device, information processing device, software operation testing method, software operation testing program, and recording medium to which the program is recorded
JP2010191705A (en) * 2009-02-18 2010-09-02 Ricoh Co Ltd Information processing apparatus, software operation testing system, software operation testing method, software operation testing program, and recording medium with the program recorded therein
JP2012027839A (en) * 2010-07-27 2012-02-09 Hitachi Information Systems Ltd System and method for detecting abnormality of command execution result
JP2012108773A (en) * 2010-11-18 2012-06-07 Mitsubishi Electric Corp Automatic software test device and automatic software test method
JP2013156875A (en) * 2012-01-31 2013-08-15 Mitsubishi Electric Corp Monitoring screen test support device
JP5998238B1 (en) * 2015-03-31 2016-09-28 エヌ・ティ・ティ・コムウェア株式会社 Software test apparatus, software test method, and software test program

Similar Documents

Publication Publication Date Title
CN109086199B (en) Method, terminal and storage medium for automatically generating test script
US20150347270A1 (en) Automatic test system and test method for computer, record medium, and program product
CN107256134B (en) Method and device for virtualizing POS terminal as computer printer and POS terminal
JPH0546435A (en) Method and device for automatic test
JP3182111B2 (en) Program test support device
JPH0647997A (en) Printing apparatus
JPH05177884A (en) Controller for printer
CN100382002C (en) Printing method and apparatus for rectifying error and computer readable recording medium
US5379389A (en) Method for transmitting commands excluded from a predefined command set
JP2003006001A (en) Test device of job processing software
JPH0752384B2 (en) Printer device
KR100366657B1 (en) Method of reverse-transforming print output image data to text data file and apparatus therefor
JP2508193B2 (en) Registered text conversion device
JPS59205642A (en) Information output device
JP5380145B2 (en) Image forming apparatus and status page evaluation program
JPH0822399A (en) Verifying system of information processor
JPH03142271A (en) Printer
JPH0820984B2 (en) File monitoring device
JPH05558A (en) Evaluation test system of printing device
JPH03255587A (en) Recorder
JPS63250735A (en) Image output device
JPH02166512A (en) Recorder
JPH0784738A (en) Printing controller and printing control method
JPH0593764A (en) Inspecting apparatus for logic circuit
JPH0224184A (en) Printer