JP2006221447A - System test device - Google Patents

System test device Download PDF

Info

Publication number
JP2006221447A
JP2006221447A JP2005034640A JP2005034640A JP2006221447A JP 2006221447 A JP2006221447 A JP 2006221447A JP 2005034640 A JP2005034640 A JP 2005034640A JP 2005034640 A JP2005034640 A JP 2005034640A JP 2006221447 A JP2006221447 A JP 2006221447A
Authority
JP
Japan
Prior art keywords
test
data
input data
parameter
execution request
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.)
Withdrawn
Application number
JP2005034640A
Other languages
Japanese (ja)
Inventor
Hideki Takasugi
秀樹 高杉
Yasushi Tadauchi
康 忠内
Tsutomu Okawa
勉 大川
Takao Okazaki
隆夫 岡崎
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2005034640A priority Critical patent/JP2006221447A/en
Publication of JP2006221447A publication Critical patent/JP2006221447A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To obtain a system test device which can reduce a workload for a system designer and obtain a reliable system. <P>SOLUTION: A test pattern generation part 210 generates a test pattern 301 including the test pattern and the test data from a program specification for a Web system 100. A confirmation screen data generation part 220 generates a Web page 302 embedded with output data obtained from the test pattern and the test data. A test specification generation part 230 creates a test specification 303 based on these test pattern 301 and Web page 302, and an automatic test execution part 240 executes a system test based on this test specification 303. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

この発明は、例えば、Webシステムといったシステムにおいて、これを構築するためのプログラム仕様を実行させた場合、所望の結果が得られるかをテストするシステムテスト装置に関するものである。   The present invention relates to a system test apparatus that tests whether a desired result is obtained when a program specification for constructing a system is executed in a system such as a Web system.

従来、Webシステムといった情報システムの試験を行う場合、人手により次のように行っていた。即ち、先ず、画面定義や画面遷移などを含む試験仕様書を作成する。次に、この試験仕様書に基づいて、Webブラウザより所定の値を入力し、サーバから返るWebページを目視で確認する。そして、再テストの場合は、再び同じテストデータを再入力するといったものであった。   Conventionally, when testing an information system such as a Web system, it has been performed manually as follows. That is, first, a test specification including a screen definition and screen transition is created. Next, based on this test specification, a predetermined value is input from the Web browser, and the Web page returned from the server is visually confirmed. In the case of a retest, the same test data is input again.

あるいは、試験仕様書に基づき、入力をトレースするツールを起動して、Webブラウザより所定の値を入力し、サーバから返るWebページを目視で確認し、再テストの場合は、トレースツールを利用して同じテストデータの入力の手間を省く場合もあった。   Alternatively, based on the test specification, start a tool that traces input, input a predetermined value from the Web browser, visually check the Web page returned from the server, and use the trace tool for retesting. In some cases, there was no need to input the same test data.

一方、従来、システムの開発方法や開発支援システムについて、設計開発作業の負担を軽減させ、かつ設計開発のスピードアップを図ることを目的としたものがあった(例えば、特許文献1参照)。これは、Webアプリケーション・システムの開発において、それぞれの画面に対応させて、サーブレット、JSP、およびBeanの各コンポーネントを1対1の関係で定義し、各コンポーネントの対応を明確にするようにしたものである。   On the other hand, there has conventionally been a system development method and a development support system aimed at reducing the burden of design development work and speeding up design development (for example, see Patent Document 1). In the development of a Web application system, each component of Servlet, JSP, and Bean is defined in a one-to-one relationship corresponding to each screen, and the correspondence of each component is clarified. It is.

特開2001−344105号公報JP 2001-344105 A

上述したように、従来、システムをテストする場合には、人手により試験仕様書に基づいて入力を行い、その結果を目視で確認するといった作業を行っていた。しかしながら、このようなテストのためには、色々な入力パターンや画面遷移、エラー出力などの確認が必要であり、その仕様作成、データ入力は非常に手間がかかるものであり、システム設計者の負担が大きいと共に、入力ミスや確認漏れは品質の低下を招くといった問題点があった。
また、上記のようにシステムの開発支援システムに対して自動化を行うようにしたものは存在するが、システムの試験そのものを自動化するような技術は実現されていなかった。
As described above, conventionally, when testing a system, the input is manually performed based on the test specification, and the result is visually confirmed. However, for such a test, it is necessary to check various input patterns, screen transitions, error output, etc., and the creation of specifications and data input are very laborious, and it is a burden on the system designer. In addition, there is a problem that an input error or a check omission causes a deterioration in quality.
In addition, although there is a system that automates the system development support system as described above, a technique for automating the system test itself has not been realized.

この発明は上記のような課題を解決するためになされたもので、システム設計者の負担を軽減し、かつ、信頼性の高いシステムを実現することのできるシステムテスト装置を得ることを目的とする。   The present invention has been made to solve the above-described problems, and it is an object of the present invention to obtain a system test apparatus capable of reducing the burden on the system designer and realizing a highly reliable system. .

この発明に係るシステムテスト装置は、プログラム仕様から実行要求を抽出し、実行要求と、この実行要求に対応するパラメータとデータ範囲に基づいて、想定される入力データに対応する出力データを作成することで、対象となるシステムに対するテストパターンとテストデータを生成するテストパターン生成部と、テストパターンとテストデータから求められた出力データを埋め込んだテスト結果確認画面となる確認画面データを生成する確認画面データ生成部と、テストパターンとテストデータに基づいて、実行要求と対応するパラメータおよび入力データと対応する出力データと、確認画面データとを組み合わせた試験仕様書を生成する試験仕様書生成部と、試験仕様書を解釈し、試験を実施してその結果を出力する自動試験実行部とを備えたものである。   The system test apparatus according to the present invention extracts an execution request from a program specification, and creates output data corresponding to assumed input data based on the execution request, a parameter corresponding to the execution request, and a data range. Confirmation screen data for generating a test pattern and test data for the target system, and confirmation screen data for generating a test result confirmation screen in which output data obtained from the test pattern and test data is embedded A test specification generation unit that generates a test specification combining the output data corresponding to the parameters and input data corresponding to the execution request and the confirmation screen data based on the test pattern and the test data, and the test Automatic test execution unit that interprets specifications, performs tests, and outputs the results It is those with a.

この発明のシステムテスト装置は、システムのプログラム仕様からテストパターンとテストデータを生成し、また、テストパターンとテストデータから求められる出力データを埋め込んで確認画面データを生成し、これらのテストパターン、テストデータおよび確認画面データに基づいて試験仕様書を作成し、この試験仕様書に基づいてシステムテストを実行するようにしたので、システム設計者の負担を軽減し、かつ、信頼性の高いシステムを実現することのできるシステムテスト装置を得ることができる。   The system test apparatus according to the present invention generates a test pattern and test data from a system program specification, and generates check screen data by embedding output data required from the test pattern and test data. Test specifications are created based on the data and confirmation screen data, and system tests are executed based on these test specifications, reducing the burden on system designers and realizing a highly reliable system It is possible to obtain a system test apparatus capable of performing the above.

実施の形態1.
図1は、この発明の実施の形態1によるシステムテスト装置を示す構成図である。
図において、Webシステム100は、テストの対象となるシステムであり、入力受付プログラム仕様101、システム制御プログラム仕様102、入力データ処理プログラム仕様103、業務ロジック実行プログラム仕様104、画面生成プログラム仕様105、設定ファイル106を用いてWebシステムを実現する機能部である。また、このWebシステム100は、コンピュータで実現されている。
Embodiment 1 FIG.
1 is a block diagram showing a system test apparatus according to Embodiment 1 of the present invention.
In the figure, a Web system 100 is a system to be tested, and includes an input reception program specification 101, a system control program specification 102, an input data processing program specification 103, a business logic execution program specification 104, a screen generation program specification 105, a setting. This is a functional unit that implements a Web system using a file 106. The web system 100 is realized by a computer.

入力受付プログラム仕様101は、Webブラウザなどのクライアントソフトウェアからの入力データに伴う処理要求を受け付けるためのプログラムである。システム制御プログラム仕様102は、入力受付プログラム仕様101の実行によって受け付けられた処理要求を解析し、対応する入力データ処理プログラム仕様103や業務ロジック実行プログラム仕様104による処理を起動し、結果を画面生成プログラム仕様105に渡す制御を司るプログラムである。入力データ処理プログラム仕様103は、クライアントソフトウェアからの処理要求に含まれるパラメータや、その値を解析するためのプログラムである。業務ロジック実行プログラム仕様104は、システム制御プログラム仕様102による処理からの呼び出しに応じて起動され、入力データを用いて対応する業務ロジックを実行するためのプログラムである。画面生成プログラム仕様105は、業務ロジック実行プログラム仕様104の実行結果を用いて、設定ファイル106等に指定された画面定義に基づいて画面データを生成するためのプログラムである。また、設定ファイル106は、実行要求と入力データ処理プログラム仕様103および業務ロジック実行プログラム仕様104との対応関係といった情報を有するファイルである。   The input receiving program specification 101 is a program for receiving a processing request accompanying input data from client software such as a Web browser. The system control program specification 102 analyzes the processing request received by the execution of the input receiving program specification 101, starts processing according to the corresponding input data processing program specification 103 and business logic execution program specification 104, and displays the result as a screen generation program It is a program that controls the control to be passed to the specification 105. The input data processing program specification 103 is a program for analyzing parameters and values included in processing requests from client software. The business logic execution program specification 104 is a program that is activated in response to a call from a process by the system control program specification 102 and executes a corresponding business logic using input data. The screen generation program specification 105 is a program for generating screen data based on the screen definition specified in the setting file 106 or the like using the execution result of the business logic execution program specification 104. The setting file 106 is a file having information such as the correspondence between the execution request and the input data processing program specification 103 and the business logic execution program specification 104.

システムテスト装置200は、Webシステム100のテストを行う装置であり、テストパターン生成部210、確認画面データ生成部220、試験仕様書生成部230、自動試験実行部240を備えている。テストパターン生成部210は、特定のソフトウェア構造を有するプログラム仕様を解析して実行要求を抽出し、この実行要求と、実行要求に対応するパラメータとデータ範囲に基づいて、想定される入力データに対応する出力データを作成することで、対象となるシステムに対するテストパターンとテストデータを生成する機能部であり、実行要求解析部211、パラメータ解析部212、データ範囲解析部213、テストパターン出力部214を備えている。   The system test device 200 is a device for testing the Web system 100 and includes a test pattern generation unit 210, a confirmation screen data generation unit 220, a test specification generation unit 230, and an automatic test execution unit 240. The test pattern generation unit 210 analyzes a program specification having a specific software structure, extracts an execution request, and responds to assumed input data based on the execution request, a parameter corresponding to the execution request, and a data range. This is a functional unit that generates test patterns and test data for the target system by creating output data to be executed, and includes an execution request analysis unit 211, a parameter analysis unit 212, a data range analysis unit 213, and a test pattern output unit 214. I have.

実行要求解析部211は、Webシステム100における設定ファイル106を解析し、入力受付プログラム仕様101で受け取る実行要求を抽出する機能を有している。即ち、実行要求解析部211は、設定ファイル106中の、どの部分がリクエスト文字列かを指定する情報に基づいてそのリクエスト文字列を識別し、該当部分から実行要求を抽出するものである。パラメータ解析部212は、入力データ処理プログラム仕様103を解析し、入力データ処理プログラム仕様103中のどの部分がパラメータかを指定する情報によってパラメータを識別し、この入力データ処理プログラム仕様103によって処理されるパラメータを抽出する機能を有している。データ範囲解析部213は、入力データ処理プログラム仕様103を解析し、入力データ処理プログラム仕様103中のどの部分がパラメータの型であるかを指定する情報によってパラメータの範囲を示す部分を識別し、その範囲を抽出する機能を有している。   The execution request analysis unit 211 has a function of analyzing the setting file 106 in the Web system 100 and extracting an execution request received by the input reception program specification 101. That is, the execution request analysis unit 211 identifies the request character string based on information specifying which part of the setting file 106 is a request character string, and extracts an execution request from the corresponding part. The parameter analysis unit 212 analyzes the input data processing program specification 103, identifies a parameter by information specifying which part of the input data processing program specification 103 is a parameter, and is processed by the input data processing program specification 103. It has a function to extract parameters. The data range analysis unit 213 analyzes the input data processing program specification 103, identifies the part indicating the parameter range by information specifying which part in the input data processing program specification 103 is the parameter type, It has a function to extract a range.

また、テストパターン出力部214は、これら実行要求解析部211〜データ範囲解析部213で解析された実行要求とその対応するパラメータおよびデータ範囲から想定される入力データによって、対応する出力データを作成し、テストパターン301を生成して出力する機能を有している。   Further, the test pattern output unit 214 creates corresponding output data based on the input data assumed from the execution request analyzed by the execution request analysis unit 211 to the data range analysis unit 213 and the corresponding parameter and data range. The test pattern 301 is generated and output.

確認画面データ生成部220は、テストパターン生成部210から出力されるテストパターンとテストデータから求められた出力データを埋め込んだテスト結果確認画面となる確認画面データを生成する機能部であり、画面定義解析部221とデータ出力部222を備えている。画面定義解析部221は、入力データ処理プログラム仕様103を参照し、画面生成プログラム仕様105とテストパターンおよびテストデータとの対応関係を解析し、画面生成プログラム仕様105によって生成される画面に、テストパターンおよびテストデータ中の入力データによって発生する出力データを埋め込む機能を有している。また、データ出力部222は、画面定義解析部221が決定した出力データを埋め込んだテスト結果確認画面となる確認画面データであるWebページ302を生成して出力する機能を有している。   The confirmation screen data generation unit 220 is a functional unit that generates confirmation screen data that becomes a test result confirmation screen in which the test pattern output from the test pattern generation unit 210 and the output data obtained from the test data are embedded. An analysis unit 221 and a data output unit 222 are provided. The screen definition analysis unit 221 refers to the input data processing program specification 103, analyzes the correspondence between the screen generation program specification 105, the test pattern, and the test data, and displays the test pattern on the screen generated by the screen generation program specification 105. And a function of embedding output data generated by input data in the test data. In addition, the data output unit 222 has a function of generating and outputting a Web page 302 that is confirmation screen data serving as a test result confirmation screen in which the output data determined by the screen definition analysis unit 221 is embedded.

試験仕様書生成部230は、テストパターン301の実行要求、対応するパラメータ、入力データおよび対応する出力データ、実行結果である対応するWebページ302を組み合わせた試験仕様書303を生成する機能部である。また、自動試験実行部240は、試験仕様書303を解釈し、テストパターンと対応するテストデータを用いてテストを実行した結果と確認画面データとを比較して合否を判定し、その結果を試験成績書304として出力する機能を有している。   The test specification generation unit 230 is a functional unit that generates a test specification 303 combining a test pattern 301 execution request, corresponding parameters, input data and corresponding output data, and a corresponding Web page 302 as an execution result. . Further, the automatic test execution unit 240 interprets the test specification 303, compares the result of the test using the test data corresponding to the test pattern with the confirmation screen data, determines pass / fail, and tests the result. It has a function of outputting as a report 304.

また、システムテスト装置200におけるテストパターン生成部210〜自動試験実行部240は、それぞれ対応する機能のソフトウェアと、これを実行するためのCPUやメモリ等のハードウェアから構成されている。   In addition, the test pattern generation unit 210 to the automatic test execution unit 240 in the system test apparatus 200 are configured by software having corresponding functions and hardware such as a CPU and a memory for executing the software.

次に、実施の形態1の動作について説明する。
図2は、実施の形態1のシステムテスト装置200の動作を示すフローチャートである。
また、図3〜図12に、各プログラム例と表示画面を示す。即ち、図3は、設定ファイル106のプログラム例を示し、以下、図4は、入力データ処理プログラム仕様103、図5は業務ロジック実行プログラム仕様104、図6および図7は画面生成プログラム仕様105、図8はテストパターン301、図9は試験仕様書303、図10および図11はWebページ302を示し、また、図12は、図10および図11のWebページ302による表示画面を示している。
Next, the operation of the first embodiment will be described.
FIG. 2 is a flowchart showing the operation of the system test apparatus 200 according to the first embodiment.
Moreover, each program example and a display screen are shown in FIGS. 3 shows a program example of the setting file 106. FIG. 4 shows an input data processing program specification 103, FIG. 5 shows a business logic execution program specification 104, FIGS. 6 and 7 show a screen generation program specification 105, 8 shows a test pattern 301, FIG. 9 shows a test specification 303, FIGS. 10 and 11 show a Web page 302, and FIG. 12 shows a display screen by the Web page 302 of FIGS.

先ず、テストパターン生成部210における実行要求解析部211は、Webシステム100における設定ファイル106を解析する(ステップST1)。例えば設定ファイル106として、図3に示すような記述が含まれているとした場合、予め、「url=…」といった文字列がリクエスト文字列であるとして指定されており、実行要求解析部211はこの情報に基づいてリクエスト文字列を識別し、該当部分から実行要求を抽出する。また、設定ファイル106には、実行要求に対応した図4に示すような入力データ処理プログラム仕様103と図5に示すような業務ロジック実行プログラム仕様104の対応関係が記されている。   First, the execution request analysis unit 211 in the test pattern generation unit 210 analyzes the setting file 106 in the Web system 100 (step ST1). For example, if the setting file 106 includes a description as shown in FIG. 3, a character string “url =...” Is designated in advance as a request character string, and the execution request analysis unit 211 Based on this information, a request character string is identified, and an execution request is extracted from the corresponding part. The setting file 106 describes the correspondence between the input data processing program specification 103 as shown in FIG. 4 corresponding to the execution request and the business logic execution program specification 104 as shown in FIG.

次に、パラメータ解析部212は、Webシステム100の図4に示すような入力データ処理プログラム仕様103に記述されているパラメータを解析し(ステップST2)、設定ファイル106中の実行要求に対応する入力パラメータがあるかを判定する(ステップST3)。即ち、「parameter」以降の部分が入力データ処理プログラム仕様103中でパラメータを示す部分であることが予め情報として与えられており、パラメータ解析部212は、この情報に基づいてパラメータを識別する。図4の入力データ処理プログラム仕様103では、入力パラメータに関する記述が含まれているため、ステップST3の判定処理では次のステップST4に進む。   Next, the parameter analysis unit 212 analyzes the parameters described in the input data processing program specification 103 as shown in FIG. 4 of the Web system 100 (step ST2), and inputs corresponding to the execution request in the setting file 106 It is determined whether there is a parameter (step ST3). That is, it is given in advance that the part after “parameter” is a part indicating a parameter in the input data processing program specification 103, and the parameter analysis unit 212 identifies the parameter based on this information. In the input data processing program specification 103 of FIG. 4, since the description about the input parameter is included, the determination process in step ST3 proceeds to the next step ST4.

ステップST4では、テストパターン生成部210におけるデータ範囲解析部213が、入力データ処理プログラム仕様103に記述されているパラメータの範囲を解析する。即ち、データ範囲解析部213は、入力データ処理プログラム仕様103中のどの部分がパラメータの型であるかを指定する情報に基づいてパラメータの範囲を示す部分を識別する。例えば、図4に示す入力データ処理プログラム仕様103中には、入力データ指定として、[A−Z][0−9]や1<price<10000といったパラメータの範囲を示す記述が含まれているため、これらのデータ範囲を解析する。次に、テストパターン出力部214は、これら実行要求解析部211〜データ範囲解析部213の解析結果に基づき、実行要求とその対応するパラメータおよびデータ範囲から、想定される入力データに対応した出力データを作成する(ステップST5)。次に、テストパターン出力部214は、実行要求と、その対応するパラメータおよび出力データを組み合わせ、テストパターンとテストデータを生成し、これをテストパターン301として出力する(ステップST6)。例えば、図8に示すテストパターン301では、入力データ処理プログラム仕様103中の[A−Z][0−9]といったパラメータの範囲では、“A0”といった値がテストデータとして埋め込まれている。   In step ST4, the data range analysis unit 213 in the test pattern generation unit 210 analyzes the parameter range described in the input data processing program specification 103. That is, the data range analysis unit 213 identifies a part indicating a parameter range based on information specifying which part in the input data processing program specification 103 is a parameter type. For example, the input data processing program specification 103 shown in FIG. 4 includes a description indicating a parameter range such as [AZ] [0-9] or 1 <price <10000 as input data designation. Analyze these data ranges. Next, the test pattern output unit 214 outputs output data corresponding to the assumed input data from the execution request and its corresponding parameter and data range based on the analysis results of the execution request analysis unit 211 to the data range analysis unit 213. Is created (step ST5). Next, the test pattern output unit 214 combines the execution request with the corresponding parameter and output data, generates a test pattern and test data, and outputs this as the test pattern 301 (step ST6). For example, in the test pattern 301 shown in FIG. 8, a value such as “A0” is embedded as test data in the parameter range [AZ] [0-9] in the input data processing program specification 103.

次に、確認画面データ生成部220は、その画面定義解析部221により、入力データ処理プログラム仕様103を参照し、図6および図7に示すような画面生成プログラム仕様105とテストパターン301との関係を解析する(ステップST7)。そして、画面生成プログラム仕様105に記述されている画面に、テストパターン中の入力データ(テストデータ)によって発生する出力データを決定する(ステップST8)。次に、データ出力部222は、画面定義解析部221が決定した出力データを埋め込んだテスト結果確認画面となるWebページを作成し、これをWebページ302として試験仕様書生成部230に出力する(ステップST9)。このWebページ302は、例えば図10および図11に示す記述であり、また、実際の画面としては図12に示すものとなる。   Next, the confirmation screen data generation unit 220 refers to the input data processing program specification 103 by the screen definition analysis unit 221, and the relationship between the screen generation program specification 105 and the test pattern 301 as shown in FIGS. 6 and 7. Is analyzed (step ST7). Then, output data generated by the input data (test data) in the test pattern is determined on the screen described in the screen generation program specification 105 (step ST8). Next, the data output unit 222 creates a Web page to be a test result confirmation screen in which the output data determined by the screen definition analysis unit 221 is embedded, and outputs this as a Web page 302 to the test specification generation unit 230 ( Step ST9). This Web page 302 has the description shown in FIGS. 10 and 11, for example, and the actual screen is as shown in FIG.

試験仕様書生成部230では、テストパターン生成部210から出力されるテストパターン301と、確認画面データ生成部220から出力されるWebページ302とに基づき、実行要求と対応するパラメータおよび入力データと対応する出力データと、Webページ302とを組み合わせた試験仕様書を作成し、これを出力する(ステップST10)。即ち、出力された試験仕様書303としては、図9に示すように、入力データとその結果を示す情報が含まれている。   The test specification generation unit 230 corresponds to the execution request and corresponding parameters and input data based on the test pattern 301 output from the test pattern generation unit 210 and the Web page 302 output from the confirmation screen data generation unit 220. A test specification combining the output data to be generated and the Web page 302 is created and output (step ST10). That is, the output test specification 303 includes input data and information indicating the result as shown in FIG.

尚、上記のステップST3において、実行要求に対応した入力パラメータがなかった場合は、この実行要求を単一のパターンとするテストパターン301を出力する(ステップST11)。また、確認画面データ生成部220では、そのテストパターン301で定義された出力データが存在するかを判定し(ステップST12)、存在した場合はステップST9に移行し、存在しない場合は、これに対応したWebページ302を作成してステップST10に移行する。   If there is no input parameter corresponding to the execution request in step ST3, a test pattern 301 having the execution request as a single pattern is output (step ST11). The confirmation screen data generation unit 220 determines whether there is output data defined by the test pattern 301 (step ST12). If it exists, the process proceeds to step ST9. The created Web page 302 is created, and the process proceeds to step ST10.

次に、自動試験実行部240では、試験仕様書303を解釈し、試験を実施する(ステップST13)。即ち、画面生成プログラム仕様105に対して、試験仕様書303中のテストパターンやテストデータを適用して画面データを生成し、これがWebページ302と一致しているかといった点に基づいて、その合否を判定する(ステップST14)。試験結果が正しい場合は、合格を記した試験成績書304を出力し(ステップST15)、試験結果が正しくなかった場合は、不合格を記した試験成績書304を出力する(ステップST16)。   Next, the automatic test execution unit 240 interprets the test specification 303 and performs the test (step ST13). That is, screen data is generated by applying the test pattern and test data in the test specification 303 to the screen generation program specification 105, and whether or not the screen data is consistent with the Web page 302 is determined. Determine (step ST14). If the test result is correct, the test result document 304 indicating acceptance is output (step ST15). If the test result is not correct, the test result document 304 indicating failure is output (step ST16).

尚、上記実施の形態では、システムの一例としてWebシステムの場合を説明したが、これに限定されるものではなく、特定のプログラム仕様を解析して実行要求や、これに対応するパラメータやデータ範囲が抽出できるものであれば、他のシステムであっても適用可能である。   In the above-described embodiment, the case of a Web system has been described as an example of the system. However, the present invention is not limited to this, and a specific program specification is analyzed and an execution request, a parameter and a data range corresponding thereto are analyzed. Any other system can be applied as long as it can be extracted.

以上のように、実施の形態1のシステムテスト装置によれば、特定のソフトウェア構造を有するプログラム仕様を解析して実行要求を抽出し、実行要求と、この実行要求に対応するパラメータとデータ範囲に基づいて、想定される入力データに対応する出力データを作成することで、対象となるシステムに対するテストパターンとテストデータを生成するテストパターン生成部と、テストパターンとテストデータから求められた出力データを埋め込んだテスト結果確認画面となる確認画面データを生成する確認画面データ生成部と、テストパターン生成部から出力されるテストパターンとテストデータに基づいて、実行要求と対応するパラメータおよび入力データと対応する出力データと、確認画面データ生成部から出力される確認画面データとを組み合わせた試験仕様書を生成する試験仕様書生成部と、試験仕様書を解釈し、試験を実施してその結果を出力する自動試験実行部とを備えたので、システム設計者の負担を軽減し、かつ、信頼性の高いシステムを容易に実現することができる。   As described above, according to the system test apparatus of the first embodiment, an execution request is extracted by analyzing a program specification having a specific software structure, and the execution request and the parameters and data ranges corresponding to the execution request are extracted. Based on the expected input data, the test pattern generation unit that generates the test pattern and test data for the target system, and the output data obtained from the test pattern and test data Corresponding parameters and input data corresponding to execution requests based on test pattern and test data output from the test pattern generation unit, a confirmation screen data generation unit that generates confirmation screen data to be an embedded test result confirmation screen Output data and confirmation screen data output from the confirmation screen data generator With a test specification generation unit that generates a test specification that combines the above and an automatic test execution unit that interprets the test specification, performs the test, and outputs the result. It is possible to easily realize a system that is reduced and highly reliable.

また、実施の形態1のシステムテスト装置によれば、テストパターン生成部は、対象となるシステムの実行要求とプログラム仕様との関係を記した設定ファイルを解析し、実行要求を抽出する実行要求解析部と、システムへの入力データを解析するための入力データ処理プログラム仕様によって処理される入力データのパラメータを抽出するパラメータ解析部と、入力データ処理プログラム仕様を解析し、パラメータ解析部で抽出したパラメータの範囲を抽出するパラメータ範囲解析部とを備えたので、更に、容易かつ確実にテストパターンとテストデータの生成を行うことができる効果がある。   Further, according to the system test apparatus of the first embodiment, the test pattern generation unit analyzes the setting file that describes the relationship between the execution request of the target system and the program specification, and extracts the execution request. A parameter analysis unit that extracts parameters of input data processed by an input data processing program specification for analyzing input data to the system, and a parameter that is analyzed by the input data processing program specification and extracted by the parameter analysis unit Since the parameter range analysis unit for extracting the range is provided, the test pattern and test data can be generated easily and reliably.

また、実施の形態1のシステムテスト装置によれば、実行要求解析部は、設定ファイル中の文字列の、どの部分がリクエスト文字列かを指定する情報に基づいてリクエスト文字列を識別し、該当部分から実行要求を抽出するようにしたので、更に、容易かつ確実に実行要求を抽出することができる効果がある。   Further, according to the system test apparatus of the first embodiment, the execution request analysis unit identifies the request character string based on the information specifying which part of the character string in the setting file is the request character string, and Since the execution request is extracted from the portion, there is an effect that the execution request can be easily and reliably extracted.

また、実施の形態1のシステムテスト装置によれば、パラメータ解析部は、入力データ処理プログラム仕様中のどの部分がパラメータかを指定する情報によってパラメータを識別し、データ範囲解析部は、入力データ処理プログラム仕様中のどの部分が前記パラメータの型であるかを指定する情報によってパラメータの範囲を示す部分を識別するようにしたので、更に、容易かつ確実にパラメータとその範囲を抽出することができる効果がある。   Further, according to the system test apparatus of the first embodiment, the parameter analysis unit identifies a parameter by information specifying which part in the input data processing program specification is a parameter, and the data range analysis unit performs the input data processing Since the part indicating the range of the parameter is identified by the information specifying which part in the program specification is the type of the parameter, it is possible to extract the parameter and its range easily and reliably. There is.

また、実施の形態1のシステムテスト装置によれば、確認画面データ生成部は、システムへの入力データを解析するための入力データ処理プログラム仕様を参照し、システムへの入力データに基づいて処理した結果の画面を生成するための画面生成プログラム仕様とテストパターンおよびテストデータとの対応関係を解析し、画面生成プログラム仕様によって生成される画面に、テストパターンおよびテストデータ中の入力データによって発生する出力データを埋め込む画面定義解析部を備えたので、容易かつ確実に確認画面データの生成を行うことができる効果がある。   In addition, according to the system test apparatus of the first embodiment, the confirmation screen data generation unit refers to the input data processing program specification for analyzing the input data to the system and performs processing based on the input data to the system Analyzes the correspondence between the screen generation program specifications for generating the resulting screen and the test patterns and test data, and outputs the output generated by the input data in the test patterns and test data to the screen generated by the screen generation program specifications Since the screen definition analysis unit for embedding data is provided, there is an effect that confirmation screen data can be generated easily and reliably.

また、実施の形態1のシステムテスト装置によれば、自動試験実行部は、テストパターンと対応するテストデータを用いて、テストパターンをテストとして実行した結果と確認画面データとを比較して合否を判定するようにしたので、更に、容易かつ確実にシステムテストを自動で行うことができる効果がある。   In addition, according to the system test apparatus of the first embodiment, the automatic test execution unit uses the test data corresponding to the test pattern, compares the result of executing the test pattern as a test with the confirmation screen data, and determines pass / fail. Since the determination is made, the system test can be automatically and easily performed automatically.

この発明の実施の形態1によるシステムテスト装置を示す構成図である。BRIEF DESCRIPTION OF THE DRAWINGS It is a block diagram which shows the system test apparatus by Embodiment 1 of this invention. この発明の実施の形態1によるシステムテスト装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the system test apparatus by Embodiment 1 of this invention. この発明の実施の形態1における設定ファイルの説明図である。It is explanatory drawing of the setting file in Embodiment 1 of this invention. この発明の実施の形態1における入力データ処理プログラム仕様の説明図である。It is explanatory drawing of the input data processing program specification in Embodiment 1 of this invention. この発明の実施の形態1における業務ロジック実行プログラム仕様の説明図である。It is explanatory drawing of the business logic execution program specification in Embodiment 1 of this invention. この発明の実施の形態1における画面生成プログラム仕様の説明図(その1)である。It is explanatory drawing (the 1) of the screen generation program specification in Embodiment 1 of this invention. この発明の実施の形態1における画面生成プログラム仕様の説明図(その2)である。It is explanatory drawing (the 2) of the screen generation program specification in Embodiment 1 of this invention. この発明の実施の形態1におけるテストパターンおよびテストデータの説明図である。It is explanatory drawing of the test pattern and test data in Embodiment 1 of this invention. この発明の実施の形態1における試験仕様書を示す説明図である。It is explanatory drawing which shows the test specification in Embodiment 1 of this invention. この発明の実施の形態1におけるWebページを示す説明図(その1)である。It is explanatory drawing (the 1) which shows the web page in Embodiment 1 of this invention. この発明の実施の形態1におけるWebページを示す説明図(その2)である。It is explanatory drawing (the 2) which shows the web page in Embodiment 1 of this invention. この発明の実施の形態1におけるWebページの画面例を示す説明図である。It is explanatory drawing which shows the example of a screen of the web page in Embodiment 1 of this invention.

符号の説明Explanation of symbols

100 Webシステム、103 入力データ処理プログラム仕様、105 画面生成プログラム仕様、106 設定ファイル、200 システムテスト装置、210 テストパターン生成部、211 実行要求解析部、212 パラメータ解析部、213 データ範囲解析部、220 確認画面データ生成部、221 画面定義解析部、230 試験仕様書生成部、240 自動試験実行部、301 テストパターン、302 Webページ(確認画面データ)、303 試験仕様書、304 試験成績書。
100 Web system, 103 Input data processing program specification, 105 Screen generation program specification, 106 Setting file, 200 System test device, 210 Test pattern generation unit, 211 Execution request analysis unit, 212 Parameter analysis unit, 213 Data range analysis unit, 220 Confirmation screen data generation unit, 221 Screen definition analysis unit, 230 Test specification generation unit, 240 Automatic test execution unit, 301 Test pattern, 302 Web page (confirmation screen data), 303 Test specification, 304 Test report

Claims (6)

特定のソフトウェア構造を有するプログラム仕様を解析して実行要求を抽出し、当該実行要求と、この実行要求に対応するパラメータとデータ範囲に基づいて、想定される入力データに対応する出力データを作成することで、対象となるシステムに対するテストパターンとテストデータを生成するテストパターン生成部と、
前記テストパターンとテストデータから求められた出力データを埋め込んだテスト結果確認画面となる確認画面データを生成する確認画面データ生成部と、
前記テストパターン生成部から出力されるテストパターンとテストデータに基づいて、前記実行要求と対応するパラメータおよび入力データと対応する出力データと、前記確認画面データ生成部から出力される前記確認画面データとを組み合わせた試験仕様書を生成する試験仕様書生成部と、
前記試験仕様書を解釈し、試験を実施してその結果を出力する自動試験実行部とを備えたシステムテスト装置。
Analyzes a program specification having a specific software structure, extracts an execution request, and creates output data corresponding to the assumed input data based on the execution request, a parameter corresponding to the execution request, and a data range A test pattern generator for generating test patterns and test data for the target system,
A confirmation screen data generation unit for generating confirmation screen data to be a test result confirmation screen in which output data obtained from the test pattern and test data is embedded;
Based on the test pattern and test data output from the test pattern generator, the output data corresponding to the parameter and input data corresponding to the execution request, and the confirmation screen data output from the confirmation screen data generator A test specification generation unit that generates a test specification that combines
A system test apparatus comprising: an automatic test execution unit that interprets the test specification, performs a test, and outputs the result.
テストパターン生成部は、
対象となるシステムの実行要求とプログラム仕様との関係を記した設定ファイルを解析し、当該実行要求を抽出する実行要求解析部と、
前記システムへの入力データを解析するための入力データ処理プログラム仕様によって処理される入力データのパラメータを抽出するパラメータ解析部と、
前記入力データ処理プログラム仕様を解析し、前記パラメータ解析部で抽出したパラメータの範囲を抽出するパラメータ範囲解析部とを備えたことを特徴とする請求項1記載のシステムテスト装置。
The test pattern generator
An execution request analysis unit that analyzes a setting file that describes a relationship between an execution request of a target system and a program specification, and extracts the execution request;
A parameter analysis unit that extracts parameters of input data processed according to an input data processing program specification for analyzing input data to the system;
The system test apparatus according to claim 1, further comprising: a parameter range analysis unit that analyzes the input data processing program specifications and extracts a range of parameters extracted by the parameter analysis unit.
実行要求解析部は、設定ファイル中の文字列の、どの部分がリクエスト文字列かを指定する情報に基づいて当該リクエスト文字列を識別し、該当部分から実行要求を抽出することを特徴とする請求項2記載のシステムテスト装置。   The execution request analysis unit identifies the request character string based on information specifying which part of the character string in the setting file is the request character string, and extracts the execution request from the corresponding part. Item 3. The system test device according to Item 2. パラメータ解析部は、入力データ処理プログラム仕様中のどの部分がパラメータかを指定する情報によってパラメータを識別し、
データ範囲解析部は、入力データ処理プログラム仕様中のどの部分が前記パラメータの型であるかを指定する情報によってパラメータの範囲を示す部分を識別することを特徴とする請求項2または請求項3記載のシステムテスト装置。
The parameter analysis unit identifies the parameter by information specifying which part of the input data processing program specification is a parameter,
4. The data range analysis unit identifies a part indicating a parameter range based on information specifying which part in the specification of the input data processing program is the type of the parameter. System test equipment.
確認画面データ生成部は、
システムへの入力データを解析するための入力データ処理プログラム仕様を参照し、前記システムへの入力データに基づいて処理した結果の画面を生成するための画面生成プログラム仕様とテストパターンおよびテストデータとの対応関係を解析し、前記画面生成プログラム仕様によって生成される画面に、前記テストパターンおよびテストデータ中の入力データによって発生する出力データを埋め込む画面定義解析部を備えたことを特徴とする請求項1記載のシステムテスト装置。
The confirmation screen data generator
Referring to the input data processing program specification for analyzing the input data to the system, the screen generation program specification for generating the screen of the result processed based on the input data to the system, the test pattern and the test data 2. A screen definition analysis unit that analyzes correspondence and embeds output data generated by input data in the test pattern and test data in a screen generated by the screen generation program specification. The system test device described.
自動試験実行部は、テストパターンと対応するテストデータを用いて、当該テストパターンをテストとして実行した結果と確認画面データとを比較して合否を判定することを特徴とする請求項1記載のシステムテスト装置。
The system according to claim 1, wherein the automatic test execution unit uses the test data corresponding to the test pattern to compare the result of executing the test pattern as a test with the confirmation screen data to determine pass / fail. Test equipment.
JP2005034640A 2005-02-10 2005-02-10 System test device Withdrawn JP2006221447A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005034640A JP2006221447A (en) 2005-02-10 2005-02-10 System test device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005034640A JP2006221447A (en) 2005-02-10 2005-02-10 System test device

Publications (1)

Publication Number Publication Date
JP2006221447A true JP2006221447A (en) 2006-08-24

Family

ID=36983741

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005034640A Withdrawn JP2006221447A (en) 2005-02-10 2005-02-10 System test device

Country Status (1)

Country Link
JP (1) JP2006221447A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009250908A (en) * 2008-04-10 2009-10-29 Yokogawa Electric Corp Shmoo parameter setting device and shmoo parameter setting method
JP2011034274A (en) * 2009-07-31 2011-02-17 Hitachi Solutions Ltd Automatic test execution system
JP2018200667A (en) * 2017-05-29 2018-12-20 株式会社リコー Information processing system, information processing unit and information processing method
JP2019153264A (en) * 2018-03-05 2019-09-12 キヤノンマーケティングジャパン株式会社 Information processing apparatus, processing method of the same and program
JP2019160267A (en) * 2018-03-08 2019-09-19 キヤノンマーケティングジャパン株式会社 Information processing unit, processing method thereof and program
WO2022074712A1 (en) * 2020-10-05 2022-04-14 日本電信電話株式会社 Specification information extraction device, specification information extraction method, and program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009250908A (en) * 2008-04-10 2009-10-29 Yokogawa Electric Corp Shmoo parameter setting device and shmoo parameter setting method
JP2011034274A (en) * 2009-07-31 2011-02-17 Hitachi Solutions Ltd Automatic test execution system
JP2018200667A (en) * 2017-05-29 2018-12-20 株式会社リコー Information processing system, information processing unit and information processing method
JP2019153264A (en) * 2018-03-05 2019-09-12 キヤノンマーケティングジャパン株式会社 Information processing apparatus, processing method of the same and program
JP2019160267A (en) * 2018-03-08 2019-09-19 キヤノンマーケティングジャパン株式会社 Information processing unit, processing method thereof and program
JP7323755B2 (en) 2018-03-08 2023-08-09 キヤノンマーケティングジャパン株式会社 Information processing system, its control method and program
WO2022074712A1 (en) * 2020-10-05 2022-04-14 日本電信電話株式会社 Specification information extraction device, specification information extraction method, and program

Similar Documents

Publication Publication Date Title
JP5437493B2 (en) Method and system for automatically testing web applications
CN108959068B (en) Software interface testing method, device and storage medium
US20060265475A9 (en) Testing web services as components
JP2006221447A (en) System test device
US8868976B2 (en) System-level testcase generation
Stocco et al. PESTO: A tool for migrating DOM-based to visual web tests
CA3157678A1 (en) Method and apparatus for automatically testing visual report tool based on vuex
KR101886203B1 (en) Apparatus and method for analyzing programs
US7272753B2 (en) Methods and apparatus for translating application tests for execution with simulation software tools
CN108572892B (en) PowerPC multi-core processor-based offline test method and device
US20220229767A1 (en) Test script generation apparatus, test script generation method and program
US10592703B1 (en) Method and system for processing verification tests for testing a design under test
JP5589901B2 (en) Software verification support apparatus, software verification support method, and software verification support program
JP2010102620A (en) User operation scenario generating device, method and program
JP2016031622A (en) Software verification system and control device
JP2008225683A (en) Screen operation system and program
EP1310882A2 (en) Method and Apparatus for Testing Embedded Examples in Documentation
CN114385258A (en) Automatic testing method and device, electronic equipment and storage medium
Tao et al. An Approach to Mobile Application Testing Based on Natural Language Scripting.
Ulmer et al. Virtual testing of high lift systems
JPWO2006072977A1 (en) Web server, Web application test method, Web application test program
JP2002157144A (en) Automatic test system for software
US20220206828A1 (en) Input value setting assisting apparatus, input value setting assisting method and program
JP6215033B2 (en) Test control apparatus, communication system, test control method, and test control program
KR101818712B1 (en) Simulation method and system using web-based workbench service

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071010

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080128

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080722

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091119

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20091208