JPH08171506A - Automatic inspection device - Google Patents

Automatic inspection device

Info

Publication number
JPH08171506A
JPH08171506A JP6316748A JP31674894A JPH08171506A JP H08171506 A JPH08171506 A JP H08171506A JP 6316748 A JP6316748 A JP 6316748A JP 31674894 A JP31674894 A JP 31674894A JP H08171506 A JPH08171506 A JP H08171506A
Authority
JP
Japan
Prior art keywords
inspection
result
file
program
inspected
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
JP6316748A
Other languages
Japanese (ja)
Inventor
Sadayoshi Shimazaki
定芳 島崎
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 Mobile Communications Ltd
Original Assignee
NEC Mobile Communications 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 NEC Mobile Communications Ltd filed Critical NEC Mobile Communications Ltd
Priority to JP6316748A priority Critical patent/JPH08171506A/en
Publication of JPH08171506A publication Critical patent/JPH08171506A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE: To improve the quality of a program incorporated in the device. CONSTITUTION: This automatic inspection device is equipped with a sequence scenario file 8 containing plural scenario file 8a, 8b, ...8x wherein plural inspection scenarios for a program to be inspected which is previously stored in a RAM 11, an input device 1 which inputs the start and stop of the inspection of the program to be inspected and a scenario file name, an inspection result file 7 which contains the inspection result of the inspected program, a criterion file 5 containing a criterion for the inspection result, an output device 2 which displays the contents of inspection in process, a decision result file 6 which contains the result of comparative collation between the inspection result and criterion, and a CPU 3 which inspects the object program according to the data of the scenario files by utilizing the respective files.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は自動試験装置に関し、特
に予め定められた装置を動作させるためのプログラムを
検査プログラムによって自動的に試験する自動検査装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic tester, and more particularly to an automatic tester that automatically tests a program for operating a predetermined device by an inspection program.

【0002】[0002]

【従来の技術】この種の従来の自動検査装置の一例につ
いて図面を参照して説明する。
2. Description of the Related Art An example of a conventional automatic inspection apparatus of this type will be described with reference to the drawings.

【0003】図3は従来の自動検査装置の一例を示すブ
ロック図である。
FIG. 3 is a block diagram showing an example of a conventional automatic inspection apparatus.

【0004】図3において、この従来例の自動試験装置
40は、特開平3−38956号公報に開示されたもの
であり、自動試験装置40の電源が試験者によって投入
されると、自動試験装置40が起動され、通話路系入出
力手段45は、中央処理装置50から送信される通話路
系の制御信号を受信する。この制御信号は、通話路系擬
似手段46によって解析され、電話網,トランク及び通
話路スイッチの接続動作を擬似すると共にその結果が試
験結果ファイル41へ記憶される。マンマシンインタフ
ェース入出力手段47は、中央処理装置50から受信し
たメッセージを試験結果ファイル41へ記憶する。自動
実行手段48は、あらかじめ作成された試験手順ファイ
ル44から試験指示情報を読取り、通話路系動作指示に
ついては、通話路系擬似手段46によって電話網やトラ
ンクの動作を擬似し、動作信号を通話路系入出力手段4
5によって中央処理装置50へ送信すると共にその動作
信号を試験結果ファイル41へ順次記憶する。試験指示
情報が、中央処理装置50へ投入すべきコマンドや制御
信号の場合には、マンマシンインタフェース入出力手段
47によって、それらを中央処理装置50へ送信すると
共に試験結果ファイル41へ順次記憶する。判定手段4
9は、ひとつの試験項目が終了するたびに、試験結果フ
ァイル41のデータと基準ファイル42のデータとを論
理的に比較し、試験項目に含まれる各試験番号ごとに試
験の良否判定を行い、その結果を試験項目管理ファイル
43へ記憶する。試験者は、試験終了後、試験結果確認
コマンドを入力することにより、試験項目管理ファイル
43から結果を読出し、試験の良否判定を判定手段49
の表示部に表示させることができる。
In FIG. 3, the conventional automatic test apparatus 40 is disclosed in Japanese Patent Laid-Open No. 3-38956, and when the power of the automatic test apparatus 40 is turned on by a tester, the automatic test apparatus 40 will be described. 40 is activated, and the communication channel input / output unit 45 receives the communication channel control signal transmitted from the central processing unit 50. This control signal is analyzed by the speech path system simulating means 46 to simulate the connection operation of the telephone network, the trunk and the speech path switch, and the result is stored in the test result file 41. The man-machine interface input / output unit 47 stores the message received from the central processing unit 50 in the test result file 41. The automatic execution means 48 reads the test instruction information from the test procedure file 44 created in advance, and for the call path operation instruction, the call path simulation means 46 simulates the operation of the telephone network or the trunk and calls the operation signal. Road system input / output means 4
5 to the central processing unit 50, and the operation signals thereof are sequentially stored in the test result file 41. When the test instruction information is a command or control signal to be input to the central processing unit 50, the man-machine interface input / output unit 47 transmits it to the central processing unit 50 and stores it in the test result file 41 sequentially. Judgment means 4
9, each time one test item is completed, the data of the test result file 41 and the data of the reference file 42 are logically compared, and the quality of the test is judged for each test number included in the test item. The result is stored in the test item management file 43. After the test is completed, the tester inputs a test result confirmation command to read the result from the test item management file 43 and judge the pass / fail of the test by the determination means 49.
Can be displayed on the display section of.

【0005】[0005]

【発明が解決しようとする課題】この従来の自動検査装
置に於いては、試験手順ファイルから試験指示情報を読
み込み、自動試験を実行し、その結果を試験結果ファイ
ルへと書き込むまでの過程が装置内部だけの事になって
いるので、実際目でみる事が出来きないという問題点が
ある。また自動試験を実行させる際の試験手順ファイル
としては、このファイル内の試験指示情報のみの試験を
行うだけで、別の試験を実行させる時は、別ファイルを
指定しなければならないという問題点がある。
In this conventional automatic inspection apparatus, the process of reading the test instruction information from the test procedure file, executing the automatic test, and writing the result into the test result file is an apparatus. Since it is internal only, there is a problem that you cannot actually see it. In addition, as a test procedure file when executing an automatic test, only the test instruction information in this file is tested, and when executing another test, another file must be specified. is there.

【0006】[0006]

【課題を解決するための手段】本発明の自動検査装置
は、被検査プログラムに対する複数の検査シナリオを記
述した複数のシナリオファイルを含むシーケンスシナリ
オファイルと、前記被検査プログラムの検査の開始・停
止及び前記シナリオファイル名を入力する入力手段と、
前記被検査プログラムの検査結果をファイルする検査結
果ファイルと、前記検査結果の正誤判定を行うための判
定基準がファイルされている判定基準ファイルと、前記
被検査プログラムの検査実行中の検査内容を表示する出
力手段と、前記検査結果と前記判定基準との比較照合の
結果をファイルする判定結果ファイルと、前記入力手段
から入力されたシナリオファイル名のシナリオファイル
を前記シーケンスシナリオファイルから読出し前記各手
段を利用して前記シナリオファイルのデータに従って前
記被検査プログラムの検査を実行する制御・処理手段と
を備え、前記制御・処理手段は前記入力手段から入力さ
れたシナリオファイル名のシナリオファイルを前記シー
ケンスシナリオファイルから読取る読取手段と、前記読
取ったシナリオファイルからデータを読出しコマンドを
抽出しそれを処理できるコマンドに変換するコマンド解
析手段と、変換したコマンドを前記被検査プログラムに
実行して検査を行う検査・実行手段と、実行中の検査内
容を前記出力手段に表示する出力表示手段と、前記検査
・実行手段による検査結果を前記検査結果ファイルへ格
納する検査結果格納手段と、前記検査結果と前記判定基
準との比較照合して前記検査結果の正誤判定を行う結果
照合手段と、前記正誤判定の結果を前記判定結果ファイ
ルへ格納する判定結果格納手段とを有している。
An automatic inspection apparatus according to the present invention includes a sequence scenario file including a plurality of scenario files describing a plurality of inspection scenarios for a program to be inspected, start / stop of inspection of the program to be inspected, and Input means for inputting the scenario file name,
Displaying an inspection result file that stores the inspection result of the inspected program, a determination standard file that stores the determination standard for performing the correctness determination of the inspection result, and the inspection content during the execution of the inspection of the inspected program Output means, a judgment result file for storing the result of comparison and collation of the inspection result and the judgment standard, and a scenario file having a scenario file name input from the input means, read from the sequence scenario file, Control / processing means for executing the inspection of the program to be inspected according to the data of the scenario file by using the scenario file having the scenario file name input from the input means. Reading means for reading from the Command analysis means for reading data from a file and extracting a command and converting it into a command capable of processing it; inspection / execution means for executing the converted command on the program to be inspected for inspection; The output display means for displaying on the output means, the inspection result storage means for storing the inspection result by the inspection / execution means in the inspection result file, and the correctness of the inspection result by comparing and collating the inspection result with the judgment standard. It has a result collating means for making a judgment and a judgment result storing means for storing the result of the correctness judgment in the judgment result file.

【0007】[0007]

【実施例】次に、本発明について図面を参照して説明す
る。
Next, the present invention will be described with reference to the drawings.

【0008】図1は本発明の一実施例を示すブロック
図、図2は本実施例における被検査プログラムに対する
テスト手順を示す流れ図である。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a flow chart showing a test procedure for a program to be inspected in this embodiment.

【0009】図1において、本実施例は検査対象のプロ
グラムに対して予め定められた複数の検査シナリオを格
納しているシーケンスシナリオファイル8と、検査シナ
リオの指定入力等を行う入力装置1と、検査結果を表示
出力する出力装置2と、検査の判定基準を格納する判定
基準ファイル5と、検査結果を格納する検査結果ファイ
ル7と、判定基準との照合結果判定を格納する判定結果
ファイル6と、検査手順のプログラムを格納するROM
4と、検査対象のプログラムを格納するRAM11と、
本実施例全体をROM4に格納されたプログラムに従っ
て制御し処理の実行を行うCPU3とを有している。
In FIG. 1, the present embodiment has a sequence scenario file 8 storing a plurality of inspection scenarios predetermined for a program to be inspected, an input device 1 for inputting designation of inspection scenarios, and the like. An output device 2 for displaying and outputting the inspection result, a determination standard file 5 for storing the inspection determination standard, an inspection result file 7 for storing the inspection result, and a determination result file 6 for storing the comparison result determination with the determination standard. , ROM for storing inspection procedure program
4, a RAM 11 that stores a program to be inspected,
It has a CPU 3 that controls the entire embodiment according to a program stored in a ROM 4 and executes processing.

【0010】次に、本実施例の動作について図1,図2
を参照して説明する。
Next, the operation of this embodiment will be described with reference to FIGS.
Will be described with reference to.

【0011】検査対象のプログラムがRAM11に書込
まれて、入力装置1から検査対象のプログラムに対する
複数の検査シナリオとその順序を指定すると(例えば
A,Bシナリオ)、CPU3は入力指定されたシナリオ
をシーケンスシナリオファイル8から読取る(S1)。
例えば、先ずAシナリオファイル8aを読取る。読取っ
たAシナリオファイル8aの中のデータの中からコマン
ドを読出してそのコマンドの解析を行って処理できるコ
マンドに変換する(S2)。変換したコマンドを使用し
てRAM11から読取った検査対象プログラムの検査を
実行する(S3)。
When the program to be inspected is written in the RAM 11 and a plurality of inspection scenarios for the program to be inspected and the order thereof are designated from the input device 1 (for example, A and B scenarios), the CPU 3 executes the input and designated scenarios. The sequence scenario file 8 is read (S1).
For example, first, the A scenario file 8a is read. A command is read from the read data in the A scenario file 8a, and the command is analyzed and converted into a command that can be processed (S2). Using the converted command, the inspection of the inspection target program read from the RAM 11 is executed (S3).

【0012】このとき実行中の試験内容を出力装置2に
表示する(S4)。検査結果のデータは検査結果ファイ
ル7に格納される(S5)。次に、検査結果のデータと
対応する判定基準データを判定基準ファイルから読出し
て比較照合し(S6)、その比較照合結果を判定結果フ
ァイル6に書込み(S7)、その後Aシナリオファイル
8aの総てのデータが終了したかのチェックをし(S
8)、終了していなければ再びシーケンスシナリオファ
イル8の読取り処理(S1)へ戻る。
At this time, the contents of the test being executed are displayed on the output device 2 (S4). The inspection result data is stored in the inspection result file 7 (S5). Next, the determination reference data corresponding to the inspection result data is read from the determination reference file and compared and collated (S6), the comparison and collation result is written in the determination result file 6 (S7), and then all of the A scenario files 8a. Check whether the data of
8) If not completed, the process returns to the reading process (S1) of the sequence scenario file 8.

【0013】このように本実施例では、複数のシナリオ
ファイルの組合わせを変化させて被検査プログラムが書
込まれたRAM11を試験することができる。
As described above, in this embodiment, it is possible to test the RAM 11 in which the program to be inspected is written by changing the combination of a plurality of scenario files.

【0014】従って、被検査プログラムにパグが発見さ
れた場合には、RAM11の変更個所が容易に書き替え
られ、修正されたのち、再検査され、最終的にROMへ
書き替えることができる。
Therefore, when a pug is found in the program to be inspected, the changed portion of the RAM 11 can be easily rewritten, corrected, re-inspected, and finally rewritten in the ROM.

【0015】[0015]

【発明の効果】以上説明したように本発明は、被検査プ
ログラムに対する複数の検査シナリオを記述した複数の
シナリオファイルを含むシーケンスシナリオファイル
と、被検査プログラムの検査の開始・停止及び前記シナ
リオファイル名を入力する入力手段と、被検査プログラ
ムの検査結果をファイルする検査結果ファイルと、検査
結果の正誤判定を行うための判定基準がファイルされて
いる判定基準ファイルと、被検査プログラムの検査実行
中の検査内容を表示する出力手段と、検査結果と判定基
準との比較照合の結果をファイルする判定結果ファイル
と、入力手段から入力されたシナリオファイル名のシナ
リオファイルをシーケンスシナリオファイルから読出し
前記各手段を利用してシナリオファイルのデータに従っ
て被検査プログラムの検査を実行する制御・処理手段と
を備えることにより、検査の経過を出力手段で見て、被
検査プログラムの良否を早く知ることができる効果があ
る。
As described above, according to the present invention, a sequence scenario file including a plurality of scenario files describing a plurality of inspection scenarios for a program to be inspected, start / stop of inspection of the program to be inspected, and the scenario file name. Input means for inputting, an inspection result file for filing the inspection result of the inspected program, a criterion file in which the criterion for judging whether the inspection result is right or wrong is stored, and An output means for displaying the inspection contents, a judgment result file for storing the result of comparison and comparison between the inspection result and the judgment standard, and a scenario file having the scenario file name input from the input means are read from the sequence scenario file Use the program to be inspected according to the data in the scenario file By providing a control and processing means for executing a test, look at the output means the course of the test, there is an effect that it is possible to know quickly the quality of the test program.

【0016】又、入力手段で複数の検査シナリオの組合
せ及び入力順序を自由に設定して、被検査プログラムに
対して複数の条件で検査できるので、被検査プログラム
の品質を従来より向上させることができる効果がある。
Further, the combination of a plurality of inspection scenarios and the input order can be freely set by the input means, and the inspection program can be inspected under a plurality of conditions, so that the quality of the inspection program can be improved more than before. There is an effect that can be done.

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

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

【図2】本実施例における被検査プログラムに対するテ
スト手順を示す流れ図である。
FIG. 2 is a flowchart showing a test procedure for a program to be inspected in this embodiment.

【図3】従来例を示すブロック図である。FIG. 3 is a block diagram showing a conventional example.

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

1 入力装置 2 出力装置 3 CPU 4 ROM 5 判定基準ファイル 6 判定結果ファイル 7 検査結果ファイル 8 シーケンスシナリオファイル 8a,8b,…,8n,A,B,…,X シナリオフ
ァイル 9,10 バス 11 RAM
1 Input Device 2 Output Device 3 CPU 4 ROM 5 Judgment Reference File 6 Judgment Result File 7 Inspection Result File 8 Sequence Scenario File 8a, 8b, ..., 8n, A, B, ..., X Scenario File 9, 10 Bus 11 RAM

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 被検査プログラムに対する複数の検査シ
ナリオを記述した複数のシナリオファイルを含むシーケ
ンスシナリオファイルと、前記被検査プログラムの検査
の開始・停止及び前記シナリオファイル名を入力する入
力手段と、前記被検査プログラムの検査結果をファイル
する検査結果ファイルと、前記検査結果の正誤判定を行
うための判定基準がファイルされている判定基準ファイ
ルと、前記被検査プログラムの検査実行中の検査内容を
表示する出力手段と、前記検査結果と前記判定基準との
比較照合の結果をファイルする判定結果ファイルと、前
記入力手段から入力されたシナリオファイル名のシナリ
オファイルを前記シーケンスシナリオファイルから読出
し前記各手段を利用して前記シナリオファイルのデータ
に従って前記被検査プログラムの検査を実行する制御・
処理手段とを備えることを特徴とする自動検査装置。
1. A sequence scenario file including a plurality of scenario files describing a plurality of inspection scenarios for a program to be inspected, input means for starting / stopping inspection of the program to be inspected, and inputting the scenario file name, It displays an inspection result file that stores the inspection result of the inspected program, a determination standard file that stores the determination standard for performing the correctness determination of the inspection result, and the inspection content during the inspection of the inspected program. Output means, a judgment result file that files the result of comparison and collation of the inspection result and the judgment standard, and a scenario file having the scenario file name input from the input means are read from the sequence scenario file and each of the means is used. Then, according to the data of the scenario file, Control to perform program inspection
An automatic inspection apparatus comprising: a processing unit.
【請求項2】 前記制御・処理手段は前記入力手段から
入力されたシナリオファイル名のシナリオファイルを前
記シーケンスシナリオファイルから読取る読取手段と、
前記読取ったシナリオファイルからデータを読出しコマ
ンドを抽出しそれを処理できるコマンドに変換するコマ
ンド解析手段と、変換したコマンドを前記被検査プログ
ラムに実行して検査を行う検査・実行手段と、実行中の
検査内容を前記出力手段に表示する出力表示手段と、前
記検査・実行手段による検査結果を前記検査結果ファイ
ルへ格納する検査結果格納手段と、前記検査結果と前記
判定基準との比較照合して前記検査結果の正誤判定を行
う結果照合手段と、前記正誤判定の結果を前記判定結果
ファイルへ格納する判定結果格納手段とを有することを
特徴とする請求項1記載の自動検査装置。
2. The reading means for reading the scenario file having the scenario file name input from the input means from the sequence scenario file, the control / processing means comprising:
Command analysis means for extracting data from the read scenario file and converting the read command into a command capable of processing the command; inspection / execution means for executing the converted command on the program to be inspected for inspection; Output display means for displaying the inspection content on the output means, inspection result storage means for storing the inspection result by the inspection / execution means in the inspection result file, and comparison and collation of the inspection result with the judgment standard The automatic inspection apparatus according to claim 1, further comprising: a result collating unit that determines whether the inspection result is correct or incorrect, and a determination result storage unit that stores the result of the correctness determination into the determination result file.
JP6316748A 1994-12-20 1994-12-20 Automatic inspection device Pending JPH08171506A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6316748A JPH08171506A (en) 1994-12-20 1994-12-20 Automatic inspection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6316748A JPH08171506A (en) 1994-12-20 1994-12-20 Automatic inspection device

Publications (1)

Publication Number Publication Date
JPH08171506A true JPH08171506A (en) 1996-07-02

Family

ID=18080479

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6316748A Pending JPH08171506A (en) 1994-12-20 1994-12-20 Automatic inspection device

Country Status (1)

Country Link
JP (1) JPH08171506A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009032134A (en) * 2007-07-30 2009-02-12 Hitachi Ltd Automatic inspection system of information processing apparatus

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63259739A (en) * 1987-04-17 1988-10-26 Nec Corp Automatic program inspection system
JPH0338956A (en) * 1989-07-05 1991-02-20 Nec Corp Automatic test equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63259739A (en) * 1987-04-17 1988-10-26 Nec Corp Automatic program inspection system
JPH0338956A (en) * 1989-07-05 1991-02-20 Nec Corp Automatic test equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009032134A (en) * 2007-07-30 2009-02-12 Hitachi Ltd Automatic inspection system of information processing apparatus

Similar Documents

Publication Publication Date Title
CN113133041B (en) Method and device for testing vehicle-to-vehicle communication function in dynamic interval train control vehicle
JPH08171506A (en) Automatic inspection device
JP3206096B2 (en) Input data processing device
CN114942890A (en) User interface testing method, device, equipment and medium
JP2765549B2 (en) Operation evaluation system in computer system
JPH0981415A (en) Testing method for graphic user interface program
JPH0338956A (en) Automatic test equipment
JPH0713809A (en) Program evaluation system
JPH09259006A (en) Program evaluation system
JPH04281536A (en) Program retest system for conversational tool
JP3033723B2 (en) Simulated test method and program recording medium for stored exchange program controlled electronic exchange
JP2746180B2 (en) Program test support management device and program test support management method
JPH06214770A (en) Controller
CN117271237A (en) Automatic decision method for vehicle alarm information correction based on bench environment
JPH06250889A (en) Fault processing system in data processing system
JPH08328897A (en) Analysis method and device for operation of parallel program
JPH06214695A (en) Keyboard interface test device
JPH0497448A (en) Interactive type simplex testing system
JPH0667926A (en) Program evaluating system
JPH04273341A (en) Automatic test device for program
JPH05110672A (en) Automatic program test system for electronic exchange
CN111031089A (en) Test method for web conference control client and computer equipment
JPH04338851A (en) Test system for output private control part
JPH05100906A (en) On-line program test support device
JPS62117042A (en) Automatic test control system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19970819