JPS6270943A - Test system for screen interactive program - Google Patents

Test system for screen interactive program

Info

Publication number
JPS6270943A
JPS6270943A JP60210445A JP21044585A JPS6270943A JP S6270943 A JPS6270943 A JP S6270943A JP 60210445 A JP60210445 A JP 60210445A JP 21044585 A JP21044585 A JP 21044585A JP S6270943 A JPS6270943 A JP S6270943A
Authority
JP
Japan
Prior art keywords
data
screen
test
interactive program
screen interactive
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
JP60210445A
Other languages
Japanese (ja)
Inventor
Isamu Maruyama
勇 圓山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Software Engineering Co Ltd
Original Assignee
Hitachi Software Engineering 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 Hitachi Software Engineering Co Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP60210445A priority Critical patent/JPS6270943A/en
Publication of JPS6270943A publication Critical patent/JPS6270943A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To shorten the test time and also to confirm surely the test result by using the test data on a terminal equipment to carry out the test. CONSTITUTION:A test data storing means 10 stores previously plural pieces of test data. A picture data producing means 11 extracts the field picture data out of the test data stored in the means 10. A circuit simulating means 12 converts the picture data extracted for each field into a data stream type of a circuit which connects an actual keyboard and a CPU. This data stream is supplied to a screen interactive program 13 to be tested. Then the answer data stream is adversely converted again into the data style on the actual keyboard by the means 12 then supplied to the means 10 via the means 11. Thus it is possible to shorten the test time and also confirm surely the test result.

Description

【発明の詳細な説明】 産業上の利用分野 本発明はスクリーン対話型プログラムのテスト方式に係
り、特にテキスト・エディタ等のスクリーン対話型プロ
グラムを自動でテストするスクリーン対話型プログラム
のテスト方式に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a screen interactive program testing method, and more particularly to a screen interactive program testing method for automatically testing a screen interactive program such as a text editor.

従来の技術 例えばCRT画面に表示された文J:等をキーボード操
作によりデータ及びコマンドを入力し、文の変更、挿入
、削除等を対話形式で行なう例えばテキスト・エディタ
等のスクリーン対話型プログラムである。
Conventional technology A screen interactive program such as a text editor, in which data and commands are entered by keyboard operations such as a sentence J: displayed on a CRT screen, and sentences are changed, inserted, deleted, etc. in an interactive manner. .

ところで、端末装置のキーボードより入力されたデータ
及びコマンドは所定の形式に変換され、かつ制御文字及
び同明信号等を付加されて汎用回線用のデータストリー
ムどされ、汎用回線を介し中央処理装置のCPUに伝送
される。この後CPUにおいて上記スクリーン対話型プ
ログラムで処理され、このプログラムの応答データが汎
用回線を通って端末装置へ供給され、上記入力データ及
びコマンドと応答データとに対応した画面がCRTに表
示される。
By the way, data and commands entered from the keyboard of a terminal device are converted into a predetermined format, and control characters and signals are added to the data stream for the general-purpose line, and then sent to the central processing unit via the general-purpose line. It is transmitted to the CPU. Thereafter, it is processed by the screen interactive program in the CPU, and the response data of this program is supplied to the terminal device through a general-purpose line, and a screen corresponding to the input data, command, and response data is displayed on the CRT.

発明が解決しようとづる問題点 上記のスクリーン対話型プログラムを作成した場合、そ
のプログラムがエラーなく正常に動作するかどうかをテ
ストする必要がある。
Problems to be Solved by the Invention When the screen interactive program described above is created, it is necessary to test whether the program operates normally without errors.

しかし、スクリーン対話型プログラムをテストするには
、従来、汎用回線用のデータストリーム形式でテストデ
ータを作成しなければならなかったために、制御文字、
同期信号等を含めたデータストリーム形式のテストデー
タ作成が多大の手間を必要とする。このため、現実には
端末装置のキーボード入力によりテストずべきスクリー
ン対話型プログラムを動かし、その結果をCRT画面で
見ることによりテストが行なわれており、キーボード入
力を行なうためにテスト時間が長くなり、キーボードの
誤操作、CRT画面の見落し等により確実なテストが行
なえないという問題点があった。
However, in order to test screen-interactive programs, test data traditionally had to be created in the form of data streams for general-purpose lines.
Creating test data in data stream format including synchronization signals etc. requires a great deal of effort. For this reason, in reality, tests are performed by running the screen interactive program to be tested using keyboard input from a terminal device and viewing the results on a CRT screen, which increases test time due to keyboard input. There was a problem in that a reliable test could not be performed due to incorrect keyboard operations, oversight of the CRT screen, etc.

そこで、本発明は、端末装置のデータ形式のテストデー
タを用いてスクリーン対話型プログラムをテストするこ
とにより、上記の問題点を解決したスクリーン対話型プ
ログラムのテスト方式を提供りることを目的とプる。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a test method for a screen interactive program that solves the above problems by testing the screen interactive program using test data in the data format of a terminal device. Ru.

問題点を解決するための手段 本発明においては、端末装置のデータ形式で多め作成さ
れた複数のテストデータが格納されている。順次取り出
されたデスl−データに応じて表示画面中データが変更
され、変更された画面データはデータストリーム形式に
変換されてスクリーン対話型プログラムに供給される。
Means for Solving the Problems In the present invention, a plurality of test data created in a terminal device data format are stored. The data on the display screen is changed in accordance with the sequentially extracted data, and the changed screen data is converted into a data stream format and supplied to the screen interactive program.

このプログラムの応答データストリームは端末装置のデ
ータ形式の応答データに変換されて格納され、また応答
データに応じて表示画面中データが変更されて次のテス
トデータによるテストの準備が行なわれる。
The response data stream of this program is converted into response data in the data format of the terminal device and stored, and the data on the display screen is changed in accordance with the response data to prepare for a test using the next test data.

作用 本発明においては、予め格納された端末装置のデータ形
式のテストデータによりデータストリームが生成されて
スクリーン対話型プログラムのテストが行なわれ、この
プログラムの出力する応答データストリームが端末装置
のデータ形式の応答データに変換されて格納されるため
、テストデータの作成が簡単であり、自動テスl〜のた
めテスト時間が短縮され、格納された応答データの出力
によりナス1−結果の確認が確実に行なわれる。
In the present invention, a data stream is generated using pre-stored test data in the data format of the terminal device to test a screen interactive program, and the response data stream output by this program is generated in accordance with the data format of the terminal device. Since it is converted to response data and stored, test data creation is easy, test time is shortened due to automatic testing, and results can be confirmed reliably by outputting stored response data. It will be done.

実施例 第1図は本発明方式の動作環境を示す。同図中、テスト
データ格納手段10にはスクリーン対話型プログラムに
対するテストデータが予め複数記憶されている。このテ
ストデータは実際のキーボードで入力されるデータ及び
コマンドと同様のものである。例えばCRT画面の第2
フイールドの3列目に文字rABjを書き込み、かつ第
4フイールドの1列目に文字rA[3cJを書き込むこ
とを指示する場合には、パラメータ形式でデータ「2゜
3、AS、4.1.ABCJと入力コマンドとからなる
テストデータであり、この他、任意の文字を指定して削
除するテストデータ、任意の位置を指定して任意の文字
を挿入するテストデータ等が上記テストデータ格納手段
1oに記憶されている。
Embodiment FIG. 1 shows the operating environment of the system of the present invention. In the figure, test data storage means 10 stores in advance a plurality of test data for screen interactive programs. This test data is similar to data and commands entered on an actual keyboard. For example, the second part of the CRT screen
To write the character rABj in the third column of the field and write the character rA[3cJ in the first column of the fourth field, write the data "2゜3,AS,4.1.ABCJ" in the parameter format. In addition, test data for specifying and deleting an arbitrary character, test data for specifying an arbitrary position and inserting an arbitrary character, etc. are stored in the test data storage means 1o. remembered.

画像データ生成手段11は第2図に示す如き処理を行な
う。第2図において、まずテストデータ格納手段10よ
り単一のデス1−データが読み出される(ステップ20
>。画面データ生成手g111はCRT画面に表示され
ている全フィールドの画面データである表示中画面デー
タを記憶している。
The image data generating means 11 performs processing as shown in FIG. In FIG. 2, first, a single D1-data is read out from the test data storage means 10 (step 20).
>. The screen data generation hand g111 stores currently displayed screen data, which is screen data of all fields displayed on the CRT screen.

例えば第3図(A>に示す如く、CRT画面4゜上の第
7フイールド40a〜第4フイールド40d夫々に表示
があるとき、第1フイールド40a〜第4フイールド4
0d夫々の画面データがフィールド単位で表示中両面デ
ータとして記憶されでいる。
For example, as shown in FIG. 3 (A>), when there is a display in each of the seventh field 40a to fourth field 40d on the CRT screen 4°,
The screen data for each field is stored as double-sided data during display.

ステップ21では読み出されたテストデータを解析して
、このテストデータに応じて表示中画面データの書き換
えが行なわれる。例えばテストデータが前記の如く、デ
ータr2.3.AB、4゜1、AB(、Jと入力コマン
ドからなる場合、第3図(B)に示す如く表示中画面デ
ータの第2フイールドの画面データが「12△B」とさ
れ、かつ第4フイールドの画面データがrABCJとさ
れる。この後、上記表示中画面データ内で占き換えられ
たフィールドの画面データをフィールド単位で抽出する
(ステップ22)。つまり第3図(B)に示す如き表示
中画面データの第2.第4フイールドの画面データr1
2ABJとrABCJとが抽出される。この抽出された
フィールドの画面データが回線シミュレート手段12へ
供給される。
In step 21, the read test data is analyzed, and the currently displayed screen data is rewritten in accordance with this test data. For example, if the test data is data r2.3. AB, 4゜1, AB (, J) If the input command consists of the input command, the screen data of the second field of the currently displayed screen data is "12△B", and the fourth field The screen data of is set as rABCJ.After this, the screen data of the field that has been changed in the screen data being displayed is extracted field by field (step 22).In other words, the screen data as shown in FIG. 3(B) is extracted. Screen data r1 of the second and fourth fields of the middle screen data
2ABJ and rABCJ are extracted. The screen data of this extracted field is supplied to the line simulator 12.

(ステップ23)。(Step 23).

第1図に示す回線シミュレート手段12は画面データ生
成手段11より供給される抽出されたフィールド単位の
画面データを実際のキーボードとCPUを結ぶ回線のデ
ータストリーム形式に変換する。この変換により抽出フ
ィールド番号を指示する所定の形式の数値2画面データ
、画面データの変更を指示づる制御文7夫々に所定の形
式の同期信号が付加されたデータストリームが得られる
The line simulating means 12 shown in FIG. 1 converts the extracted field unit screen data supplied from the screen data generating means 11 into a data stream format of the line connecting the actual keyboard and the CPU. Through this conversion, a data stream is obtained in which a synchronization signal in a predetermined format is added to two numerical screen data in a predetermined format indicating an extraction field number and a control statement 7 indicating a change in screen data.

データストリームはテストされるスクリーン対話型プロ
グラム13に供給され、このスクリーン対話型プログラ
ム13による処理が行なわれ、スクリーン対話型プログ
ラム13の出力する応答データストリームが再び回線シ
ミュレート手段12に供給される。回線シミュレート手
段12はこの応答データストリームを実際キーボードに
おけるデータ形式に逆変換し、得られた応答データを画
面データ生成手段11に供給づる。
The data stream is supplied to the screen interactive program 13 to be tested, processed by the screen interactive program 13, and the response data stream output by the screen interactive program 13 is supplied again to the line simulating means 12. The line simulating means 12 converts this response data stream back into the data format for the actual keyboard, and supplies the obtained response data to the screen data generating means 11.

第2図に戻って説明するに、ステップ24で回線シミュ
レート手段12により応答データを受は取った後、この
応答データを応答データ格納手段14に書き込んで格納
する(ステップ25)。更に回線シミュレー1一手段1
2は、応答データに応じて表示中両面データを書き換え
る(ステップ26)。これによって次のデス1−データ
に対Jる準備が行なわれる。勿論応答データが表示画面
の変更を指示しない場合には表示中両面データの書き換
えはない。この後、ステップ27でテストデータ格納手
段10の全テストデータが読み出されたかどうかが判別
され、まだ残っていればステップ20に移行してステッ
プ20〜27を繰り返し、なければ第2図示の処理を終
了する。
Returning to FIG. 2, after receiving the response data by the line simulating means 12 in step 24, this response data is written and stored in the response data storage means 14 (step 25). Furthermore, line simulation 1-method 1
2 rewrites the displayed double-sided data in accordance with the response data (step 26). As a result, preparations are made for the next D1-data. Of course, if the response data does not instruct a change in the display screen, the double-sided data during display is not rewritten. After that, in step 27, it is determined whether all the test data in the test data storage means 10 has been read out. If there is still some remaining, the process moves to step 20 and steps 20 to 27 are repeated, and if not, the process shown in the second figure is performed. end.

第1図において、スクリーンイメージデータ生成手段1
5は、応答データ格納手段14の応答データとテストデ
ータ格納手段10のテストデータとを併合してCRT画
面上に表示されるスクリーンイメージデータを生成し、
このスクリーンイメージデータはスクリーンイメージデ
ータ出力手段16によりCR7画面と同様の形式で出力
される。
In FIG. 1, screen image data generation means 1
5 merges the response data in the response data storage means 14 and the test data in the test data storage means 10 to generate screen image data to be displayed on the CRT screen;
This screen image data is output by the screen image data output means 16 in the same format as the CR7 screen.

上記スクリーンイメージデータの生成は第2図示の処理
終了後又は処理途中にJ3いて任意に行なうことができ
る。
The above-mentioned screen image data can be generated arbitrarily at J3 after the processing shown in the second diagram is completed or during the processing.

ところで、テストデータ格納手段10及び応答データ格
納手段14としては例えば11気デイスク装置が用いら
れ、画面データ生成手段111回線シミュレ−1〜手段
12.スクリーンイメージデータ生成手段15夫々は例
えばプログラムであり、被テストスクリーン対話型プロ
グラムの実行されるCPUで処理され、スクリーンイメ
ージデータ出力手段16は例えばプリンタ、CRTが用
いられる。
By the way, as the test data storage means 10 and the response data storage means 14, for example, a 11 disk device is used, and the screen data generation means 111 line simulation means 1 to 12. Each of the screen image data generation means 15 is a program, for example, and is processed by a CPU on which a screen interactive program to be tested is executed, and the screen image data output means 16 is, for example, a printer or a CRT.

このように、テストデータは端末装首のデータ形式で作
成されるため、その作成が簡単であり、格納された複数
のテストデータによる一テストが自動的に行なわれるた
めテスト時間が短縮される。
In this way, the test data is created in the terminal neck data format, so it is easy to create, and because one test is automatically performed using a plurality of stored test data, the test time is shortened.

また、格納された応答データをテストデータと併合して
スクリーンイメージで出力するためテスト結果のMiA
が非常に容易でかつ確実に行なえる。
In addition, since the stored response data is merged with the test data and output as a screen image, the MiA of the test results is
can be done very easily and reliably.

なお、スクリーンイメージ生成手段15.スクリーンイ
メージ出力手段16を設けず甲に応答データ格納手段1
4に格納された応答データを出力するだけであっても良
く、上記実施例に限定されない。
Note that the screen image generating means 15. Response data storage means 1 is provided in Party A without providing screen image output means 16.
It is also possible to simply output the response data stored in No. 4, and the present invention is not limited to the above embodiment.

発明の効果 上述の如く、本発明方式は、テストデータは喘末装冒の
データ形式であるのでデス1〜デー4作成が簡単であり
、自動的にテストが行なわれるのでテスト時間が短縮さ
れ、格納された応答データの出力によりテスト結果の確
認を確実に行なうことができる等の特長を右している。
Effects of the Invention As mentioned above, in the method of the present invention, the test data is in the asthmatic data format, so it is easy to create Days 1 to 4, and the test is performed automatically, so the test time is shortened. Its features include the ability to reliably confirm test results by outputting stored response data.

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

第1図は本発明方式の一実施例の動fl環境を示す図、
第2図(よ画面データ生成手段の一実施例のフローチ1
7−1〜、第3図は表示画面の各個を示す図である。 10・・・テストデータ格納手段、11・・・画面デー
タ生成手段、12・・・回線シミュレート手段、13・
・・被テストスクリーン対話型プログラム、14・・・
応答データ格納手段、15・・・スクリーンイメージ生
成手段、16・・・スクリーンイメージデータ出力手段
、20〜27・・・ステップ。 特許出願人 日立ソフトウェアエンジニアリング株式会
社 第1図 第2図
FIG. 1 is a diagram showing the dynamic fl environment of an embodiment of the method of the present invention,
FIG. 2 (Flowchart 1 of an embodiment of screen data generation means)
7-1 to 7-1 and FIG. 3 are diagrams showing each display screen. 10... Test data storage means, 11... Screen data generation means, 12... Line simulation means, 13.
... Tested screen interactive program, 14...
Response data storage means, 15... Screen image generation means, 16... Screen image data output means, 20-27... Steps. Patent applicant Hitachi Software Engineering Co., Ltd. Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims] 実際にスクリーン対話型プログラムを使用する端末装置
のデータ形式で予め作成格納された複数のテストデータ
を順次取り出し、取り出されたテストデータに応じて該
端末装置の表示画面生成用の表示中画面データを変更し
、該表示中画面データ内の変更された画面データを回線
用のデータストリームに変換してテストされるスクリー
ン対話型プログラムに供給し該スクリーン対話型プログ
ラムの出力する応答データストリームを該端末装置のデ
ータ形式の応答データに変換し、該応答データを格納す
ると共に該応答データに応じて該表示中画面データを変
更し上記スクリーン対話型プログラムを自動でテストす
ることを特徴とするスクリーン対話型プログラムのテス
ト方式。
A plurality of test data created and stored in advance in the data format of the terminal device that actually uses the screen interactive program is sequentially retrieved, and the currently displayed screen data for generating the display screen of the terminal device is generated according to the retrieved test data. and converts the changed screen data in the currently displayed screen data into a data stream for the line and supplies it to the screen interactive program to be tested, and outputs a response data stream from the screen interactive program to the terminal device. A screen interactive program characterized in that the screen interactive program is automatically tested by converting the data into response data in a data format, storing the response data, changing the displayed screen data according to the response data, and automatically testing the screen interactive program. test method.
JP60210445A 1985-09-24 1985-09-24 Test system for screen interactive program Pending JPS6270943A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60210445A JPS6270943A (en) 1985-09-24 1985-09-24 Test system for screen interactive program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60210445A JPS6270943A (en) 1985-09-24 1985-09-24 Test system for screen interactive program

Publications (1)

Publication Number Publication Date
JPS6270943A true JPS6270943A (en) 1987-04-01

Family

ID=16589444

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60210445A Pending JPS6270943A (en) 1985-09-24 1985-09-24 Test system for screen interactive program

Country Status (1)

Country Link
JP (1) JPS6270943A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006072977A1 (en) * 2005-01-05 2006-07-13 Fujitsu Limited Web server, web application test method and web application test program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006072977A1 (en) * 2005-01-05 2006-07-13 Fujitsu Limited Web server, web application test method and web application test program
US8464220B2 (en) 2005-01-05 2013-06-11 Fujitsu Limited Web server, web application test method, and web application test program

Similar Documents

Publication Publication Date Title
US4893256A (en) Interactive video composition and presentation systems
US6308042B1 (en) Computer based training system
US4772206A (en) Multi-mode teaching simulator
US20070136672A1 (en) Simulation authoring tool
GB2425878A (en) Electronic learning environment
JP2001134469A (en) Program debug device for testing semiconductor
JPS6270943A (en) Test system for screen interactive program
WO2000038052A1 (en) Localization of software products
US7904290B2 (en) Method and apparatus for enhanced translation in an application simulation development environment
AU692775B2 (en) System for generating instructions for speech application
JPS62177637A (en) Display system for simulation result
EP0236746B1 (en) System and method for testing human factors
EP1014262A2 (en) Localization of software products
Barker MICROTEXT: a new dialogue programming language for microcomputers
JPH0635890A (en) Information processor
JPH01250109A (en) Robot simulation device
JPH10143061A (en) Foreign language learning device
JP3057191B2 (en) Logic simulation support system
JPH0371179A (en) Teaching aids preparing system
JPH021578A (en) Test item generating device
JPH07160536A (en) Program test supporting device for interactive system
JPH09160795A (en) Automatic testing device
JPS60217583A (en) Electronic dictionary device
JPS61208540A (en) Program design backup device
JPH05165677A (en) Test program generating device