JP6303591B2 - Control program, control method, and control apparatus - Google Patents
Control program, control method, and control apparatus Download PDFInfo
- Publication number
- JP6303591B2 JP6303591B2 JP2014033949A JP2014033949A JP6303591B2 JP 6303591 B2 JP6303591 B2 JP 6303591B2 JP 2014033949 A JP2014033949 A JP 2014033949A JP 2014033949 A JP2014033949 A JP 2014033949A JP 6303591 B2 JP6303591 B2 JP 6303591B2
- Authority
- JP
- Japan
- Prior art keywords
- screen
- unit
- input
- keyword
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Description
本発明は、制御プログラム等に関する。 The present invention relates to a control program and the like.
Web(World Wide Web)システム等のアプリケーションソフトウェアを開発する際に、テスト段階において、アプリケーションソフトウェアによる処理結果となる出力画面が、仕様通りの状態となっているか否かを確認する作業が行われる。例えば、アプリケーションソフトウェアにより出力される画面をキャプチャする従来技術を利用することで、確認対象となる画面の情報を記録することができる。以下の説明において、アプリケーションソフトウェアを単に、アプリと表記する。 When developing application software such as a Web (World Wide Web) system, an operation for confirming whether or not an output screen as a result of processing by the application software is in a specification state is performed in a test stage. For example, it is possible to record information on a screen to be confirmed by using a conventional technique for capturing a screen output by application software. In the following description, application software is simply referred to as an application.
しかしながら、上述した従来技術では、アプリが正しくテストされ確認がなされたことの証拠資料を生成することができないという問題がある。 However, the above-described conventional technique has a problem in that it is not possible to generate evidence that the application has been correctly tested and confirmed.
証拠資料を納品先に提出する場合には、画面の見た目が仕様通りになっていることはもちろんのこと、その画面に対する利用者の操作入力によって実行された処理が正しくデータベースに反映されたことを示すことが望ましい。 When submitting documentation to the delivery destination, not only the appearance of the screen is as specified, but also that the processing executed by the user's operation input on the screen is correctly reflected in the database. It is desirable to show.
このため、例えば、画面遷移と画面遷移に伴うデータベース内のデータの変更履歴とを、実際に遷移/変更された順序の通りに記憶することで、証拠資料を作成することが考えられる。しかし、証拠資料となるデータをデータベースから取得するべく、利用者がSQL(Structured Query Language)文を手入力することになるが、SQL文を誤った内容にしてしまう場合がある。誤った内容のSQL文では、当然ながら所望のデータをデータベースから取得できないため、証拠資料として利用できない。 For this reason, for example, it is conceivable to create the evidence material by storing the screen transition and the change history of the data in the database accompanying the screen transition in the actual transition / change order. However, a user manually inputs a SQL (Structured Query Language) sentence in order to obtain data as evidence data from the database, but the SQL sentence may be erroneously included. An SQL sentence with an incorrect content cannot be used as evidence material because desired data cannot be acquired from the database.
1つの側面では、アプリが正しくテストされ確認がなされたことの証拠資料を生成することができる制御プログラム、制御方法および制御装置を提供することを目的とする。 In one aspect, an object of the present invention is to provide a control program, a control method, and a control device that can generate evidence that an application has been correctly tested and confirmed.
第1の案では、コンピュータに下記の処理を実行させる。コンピュータに、キーワードと、データベースからのデータ取得に用いられる要求命令とを対応付けて記憶する記憶部を参照する処理を実行させる。コンピュータに、アプリケーションソフトウェアによりコンピュータの表示部に出力された第一の画面に、前記記憶部に記憶されている第一のキーワードが含まれていることを検出する処理を実行させる。コンピュータに、第一のキーワードと対応付けて前記記憶部に記憶されている第一の要求命令を読み出す処理を実行させる。コンピュータに、第一の画面の画像データを記録するとともに、前記データベースから前記第一の要求命令により取得したデータを記録する処理を実行させる。 In the first plan, the computer executes the following processing. A computer is caused to execute a process of referring to a storage unit that stores a keyword and a request command used for data acquisition from a database in association with each other. The computer is caused to execute a process of detecting that the first keyword stored in the storage unit is included in the first screen output to the display unit of the computer by the application software. The computer is caused to execute a process of reading the first request command stored in the storage unit in association with the first keyword. The computer causes the image data of the first screen to be recorded and the process of recording the data acquired by the first request command from the database.
本発明の1実施態様によれば、アプリが正しくテストされ確認がなされたことの証拠資料を生成することができるという効果を奏する。 According to one embodiment of the present invention, there is an effect that it is possible to generate evidence material that an application has been correctly tested and confirmed.
以下に、本願の開示する制御プログラム、制御方法および制御装置の実施例を図面に基づいて詳細に説明する。なお、この実施例によりこの発明が限定されるものではない。 Embodiments of a control program, a control method, and a control device disclosed in the present application will be described below in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.
図1は、本実施例に係るシステムの構成を示す図である。図1に示すように、このシステムは、Webシステム50と、入力支援サーバ60と、端末装置100a,100b,100cを有する。以下の説明では、端末装置100a,100b,100cをまとめて、適宜、端末装置100と表記する。Webシステム50と、入力支援サーバ60と、端末装置100a〜100cは、ネットワーク70を介して相互に接続される。
FIG. 1 is a diagram illustrating a configuration of a system according to the present embodiment. As shown in FIG. 1, this system includes a
Webシステム50は、Webサーバ51と、DBMS(DataBase Management System)52と、公開DB53と、DB54とを含む。
The
Webサーバ51は、アプリケーションソフトウェアを起動し、端末装置100からの要求に応答する装置である。
The web server 51 is a device that activates application software and responds to a request from the
Webサーバ51は、DBMS52と協働して、端末装置100で動作するブラウザからの要求に応答する。Webサーバ51は、HTML(Hyper Text Markup Language)で記述されたコンテンツや画像データをHTTP(Hyper Text Transfer Protocol)によって端末装置100に提供する。
The Web server 51 responds to a request from a browser operating on the
DBMS52は、公開DB53、DB54を管理する。DBMS52は、Webサーバ51や端末装置100からのデータ要求に応じて、公開DB53、DB54に格納されたデータを送信する。なお、DBMS52は、公開DB53に、端末装置100に公開するデータを格納し、非公開のデータをDB54に格納してもよい。
The DBMS 52 manages the
入力支援サーバ60は、入力支援DB61を有する装置である。入力支援DB61は、端末装置100の利用者が、Webシステム50で動作するアプリをテストする際に入力するSQL文の候補を保持する。入力支援サーバ60は、端末装置100からの要求に応じて、入力支援DB61の情報を端末装置100に通知する。
The
図2は、入力支援DBのデータ構造の一例を示す図である。図2に示すように、この入力支援DB61は、関連キーワードと、SQL文と、適用回数とを対応付ける。関連キーワードは、例えば、アプリによって表示される画面に含まれるキーワードに対応する。SQL文は、DBMS52にデータ要求を行う文である。DBMS52は、SQL文を受け付けた場合に、SQL文に指定されるデータを要求元に送信する。適用回数は、SQL文の適用回数である。入力支援DB61を用いた処理は、後述する。
FIG. 2 is a diagram illustrating an example of the data structure of the input support DB. As shown in FIG. 2, the
端末装置100は、Webシステム50上で動作するアプリをテストする装置である。端末装置100は、ブラウザを起動してWebサーバ51にアクセスし、ブラウザ上に表示される画面のイメージデータと、この画面に対する操作入力に基づいて生成されるデータを取得して記録する。
The
端末装置100は、記録した画面のイメージデータと、処理の結果であるデータとを取得した順に並べたエビデンス情報を生成する。このエビデンス情報は、アプリが正しくテストされ確認がなされたことの証拠資料となる。
The
図3は、本実施例に係る端末装置の構成を示す図である。図3に示すように、この端末装置100は、通信部110と、入力部120と、表示部130と、記憶部140と、制御部150とを有する。
FIG. 3 is a diagram illustrating the configuration of the terminal device according to the present embodiment. As illustrated in FIG. 3, the
通信部110は、ネットワーク70を介して、Webシステム50および入力支援サーバ60とデータ通信を実行する処理部である。例えば、通信部110は、通信カードや通信装置に対応する。後述する制御部150は、通信部110を介して、Webシステム50および入力支援サーバ60とデータをやりとりする。
The
入力部120は、各種の情報を端末装置100に入力するための入力装置である。例えば、入力部120は、キーボード、マウス、タッチパネル等に対応する。
The
表示部130は、制御部150から出力される情報を表示する表示装置である。例えば、表示部130は、液晶ディスプレイやタッチパネル等に対応する。
The
記憶部140は、エビデンス情報141を記憶する。例えば、記憶部140は、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ(Flash Memory)などの半導体メモリ素子や、HDD(Hard Disk Drive)などの記憶装置に対応する。
The
エビデンス情報141は、テスト対象となるアプリから出力される画面のイメージデータと、該画面に対する入力操作に基づいて実行された処理の結果であるデータとを順に保持するものである。以下の説明において、画面に対する入力操作に基づいて実行された処理の結果であるデータを、生成データと適宜表記する。
The
図4および図5は、エビデンス情報のデータ構造の一例を示す図である。図4には、画面のイメージデータ20a,20b、生成データ21a、SQL文22aが含まれる。このSQL文22aは、生成データ21aをDBMS52から取得するための命令文である。図5には、画面のイメージデータ20c、20d、生成データ21b、SQL文22bが含まれる。SQL文22bは、生成データ21bをDBMS52から取得するための命令文である。
4 and 5 are diagrams illustrating an example of the data structure of the evidence information. FIG. 4 includes
例えば、エビデンス情報141は、画面のイメージデータ20a、SQL文22a、生成データ21a、画面のイメージデータ20b,20c,20d、SQL文22b、生成データ21bの順に情報を保持する。
For example, the
図4および図5に示したエビデンス情報141から証明される内容は、例えば、ブラウザに画面のイメージデータ20aが表示された時点の、SQL文22aにより指定された部分のデータは、生成データ21aとなっていることである。また、ブラウザに画面のイメージデータ20b,20c,20dが表示された後の、SQL文22bにより指定された部分のデータは、生成データ21bとなる。
The content proved from the
図4および図5に示すエビデンス情報141は一例である。例えば、図4の画面のイメージデータ20bから、図5の画面のイメージデータ20cの間に、他の画面のイメージデータ、他の生成データ、他のSQL文が含まれていてもよい。
The
図3の説明に戻る。制御部150は、ブラウザ151およびエビデンス情報生成部152を有する。制御部150は、ASIC(Application Specific Integrated Circuit)や、FPGA(Field Programmable Gate Array)などの集積装置に対応する。また、制御部150は、例えば、CPU(Central Processing Unit)やMPU(Micro Processing Unit)等の電子回路に対応する。
Returning to the description of FIG. The
ブラウザ151は、Webサーバ51にアクセスして、HTMLファイルや画像データ、音声データ等をダウンロードし、レイアウトを解析してウインドウ画面を生成し、表示部130にウインドウ画面を表示させる。また、ブラウザ151は、入力フォームやボタン等をウインドウ画面上に表示させて、利用者からの操作入力を受け付け、受け付けた情報をWebサーバ51に送信する。
The browser 151 accesses the Web server 51, downloads an HTML file, image data, audio data, and the like, analyzes the layout, generates a window screen, and causes the
エビデンス情報生成部152は、エビデンス情報141を生成する処理部である。エビデンス情報生成部152は、イベント検知部152a、検出部152b、記録部152c、設定部152dを有する。
The evidence
例えば、エビデンス情報生成部152は、図6に示す入力画面30を表示部130に表示させる。図6は、エビデンス情報生成部が表示させる入力画面の一例を示す図である。例えば、入力画面30には、入力フォーム31、32,33と、出力先設定ボタン34、ブラウザ起動ボタン35、SQL発行ボタン36が含まれる。
For example, the evidence
入力フォーム31は、エビデンス情報141の出力先を指定するフォームである。例えば、利用者は入力部120を操作して、入力フォーム31に出力先を入力し、出力先設定ボタン34を押下することで、出力先を確定する。
The
入力フォーム32は、SQL文を入力するフォームである。入力フォーム33は、関連キーワードを入力するフォームである。
The
ブラウザ起動ボタン35は、ブラウザ151の機動を指示するボタンである。例えば、利用者が入力部120を操作して、ブラウザ起動ボタン35を押下することで、ブラウザ151が起動する。
The
SQL発行ボタン36は、入力フォーム32に入力されたSQL文の情報を、DBMS52に発行することを指示するボタンである。エビデンス情報生成部152は、SQL発行ボタン36が押下された場合に、SQL文の情報を、DBMS52に送信し、SQL文の情報に対応するデータを、DBMS52から受信する。
The
イベント検知部152aは、ブラウザ151によって表示される画面が切り替わるイベントを検知する処理部である。例えば、イベント検知部152aは、Windows(登録商標)等に備わっているイベント機能を利用して、画面の切り替わりを検知する。イベント検知部152aは、画面の切り替わりを検知した場合には、画面が切り替わった旨の情報を検出部152b、記録部152cに出力する。
The
検出部152bは、画面のイメージデータをスキャンし、画面のイメージデータに含まれるキーワードを抽出する。例えば、検出部152bは、画面のイメージデータを表示するためのHTMLデータをスキャンして、キーワードを抽出する。なお検出部152bは、画面のイメージデータをスキャンし、画面のイメージデータに含まれるキーワードを抽出するだけでなく、画面のイメージデータを表示するためのHTMLデータの例えばタグ以外のテキストデータを検索して、キーワードを抽出してもよい。
The detecting
検出部152bは、入力支援サーバ60の入力支援DB61にアクセスし、抽出したキーワードと、入力支援DB61の関連キーワードとを比較し、キーワードと同一の関連キーワードにヒットするか否かを判定する。
The
検出部152bは、キーワードと同一の関連キーワードにヒットした場合には、ヒットした関連キーワードに対応付けられたSQL文を、入力支援DB61から取得し、取得したSQL文を表示部130に表示させる。検出部152bは、複数の関連キーワードにヒットした場合には、複数の関連キーワードに対応付けられた複数のSQL文を表示部130に表示させる。検出部152bは、複数のSQL文を表示させる場合に、適用回数の多いSQL文を上位に優先的に表示させる。
When the
図7は、検出部が表示させる表示画面の一例を示す図である。表示画面40には、ラジオボタン41a〜41eと、設定ボタン41を有する。図7に示す例では、検出部152bが、入力支援DB61からSQL文「select*from C」と、SQL文「select*from C2」を取得したものとする。また、SQL文「select*from C」の適用回数が、SQL文「select*from C2」の適用回数よりも多いものとする。利用者は、入力部120を操作して、いずれかのラジオボタン41a〜41eを選択し、設定ボタン41を押下することで、処理を確定する。
FIG. 7 is a diagram illustrating an example of a display screen displayed by the detection unit. The
検出部152bは、ラジオボタン41aが選択されている場合には、SQL文「select*from C」を、図6に示した入力画面30の入力フォーム32に自動入力する。検出部152bは、SQL発行ボタン36が押下されると、SQL文「select*from C」をDBMS52に出力する。検出部152bは、SQL文の情報と、このSQL文の情報に対するDBMS52の応答を、記録部152cに出力する。
When the
また、検出部152bは、入力支援サーバ60の入力支援DB61にアクセスし、関連キーワードと、SQL文「select*from C」との組に対応する適用回数に1を加算する。
The detecting
検出部152bは、ラジオボタン41bが選択されている場合には、SQL文「select*from C2」を、図6に示した入力画面30の入力フォーム32に自動入力する。検出部152bは、SQL発行ボタン36が押下されると、SQL文「select*from C2」をDBMS52に出力する。検出部152bは、SQL文の情報と、このSQL文の情報に対するDBMS52の応答を、記録部152cに出力する。
When the
また、検出部152bは、入力支援サーバ60の入力支援DB61にアクセスし、関連キーワードと、SQL文「select*from C2」との組に対応する適用回数に1を加算する。
The detecting
検出部152bは、ラジオボタン41cが選択されている場合には、SQL文の入力支援を行わない。この場合には、利用者は、入力部120を操作して、利用者自身が入力フォーム32にSQL文を入力し、SQL発行ボタン36を押下してもよい。検出部152bは、SQL文の情報と、このSQL文の情報に対するDBMS52の応答を、記録部152cに出力する。
When the
検出部152bは、ラジオボタン41dが選択されている場合には、SQL文「select*from C」を、図6に示した入力画面30の入力フォーム32に自動入力した後に、利用者による編集を受け付ける。例えば、利用者は、入力部120を操作して、入力フォーム32に入力されたSQL文を編集した後に、SQL発行ボタン36を押下する。検出部152bは、SQL発行ボタン36が押下されると、編集後のSQL文をDBMS52に出力する。検出部152bは、SQL文の情報と、このSQL文の情報に対するDBMS52の応答を、記録部152cに出力する。
When the
また、検出部152bは、入力フォームに入力された編集後のSQL文と、関連キーワードとを組み合わせたレコードを、入力支援DB61に新規登録する。検出部152bは、新規登録したレコードに対応する適用回数を1に設定する。
In addition, the
検出部152bは、ラジオボタン41eが選択されている場合には、SQL文「select*from C2」を、図6に示した入力画面30の入力フォーム32に自動入力した後に、利用者による編集を受け付ける。例えば、利用者は、入力部120を操作して、入力フォーム32に入力されたSQL文を編集した後に、SQL発行ボタン36を押下する。検出部152bは、SQL発行ボタン36が押下されると、編集後のSQL文をDBMS52に出力する。検出部152bは、SQL文の情報と、このSQL文の情報に対するDBMS52の応答を、記録部152cに出力する。
When the
また、検出部152bは、入力フォームに入力された編集後のSQL文と、関連キーワードとを組み合わせたレコードを、入力支援DB61に新規登録する。検出部152bは、新規登録したレコードに対応する適用回数を1に設定する。
In addition, the
記録部152cは、イベント検知部152aから、画面が切り替わった旨の情報を取得したタイミングで、ブラウザ151によって表示される画面のイメージデータをキャプチャし、エビデンス情報141に記録する。また、記録部152cは、検出部152bおよび設定部152dから、SQL文の情報およびこのSQL文に対するDBMS52から応答を取得し、エビデンス情報141に記録する。DBMS52からの応答は、生成データに対応する。記録部152cは、画面のイメージデータ、SQL文、生成データを時系列順に、エビデンス情報141に記録する。
The
設定部152dは、入力支援サーバ60の入力支援DB61にレコードを登録する処理部である。例えば、SQL文の入力に長けている利用者が、前もって入力支援DB61に情報を登録する場合に、設定部152dが動作する。また、設定部152dは、検出部152bと同様にして、SQL文をDBMS52に出力し、DBMS52からSQL文に対する応答を取得する。設定部152dは、SQL文と、DBMS52からの応答を、記録部152cに出力する。
The
設定部152dは、図6に示した入力画面30を表示部130に表示させ、SQL文と関連キーワードとの入力を受け付ける。利用者は、入力部120を操作して、入力フォーム32にSQL文を入力し、入力フォーム33に関連キーワードを入力する。利用者は、ブラウザ151に表示された画面を参照し、参照した画面に表示されたキーワードのうち、いずれかのキーワードを選び、関連キーワードとして入力してもよい。
The
設定部152dは、入力支援DB61にアクセスし、入力されたSQL文と、関連キーワードとの組が既に入力支援DB61に登録されている場合には、該当するレコードの適用回数に1を加算する。これに対して、設定部152dは、入力されたSQL文と、関連キーワードとの組が既に入力支援DB61に登録されていない場合には、入力されたSQL文と、関連キーワードとの組を、入力支援DB61に新規登録し、適用回数を1に設定する。設定部152dは、SQL文または関連キーワードのうち、いずれか一方が異なっているのであれば、入力されたSQL文と、関連キーワードとの組を、入力支援DB61に新規登録する。
The
図8は、設定部の処理を説明するための図である。例えば、入力支援DB61を61aに示すものとする。また、入力されたSQL文を「select*from C2」とし、関連キーワードを「残高照会、履歴照会」とする。設定部152dは、SQL文「select*from C2」および関連キーワード「残高照会、履歴照会」の組と、入力支援DB61aとを比較する。そうすると、SQL文「select*from C2」および関連キーワード「残高照会、履歴照会」組が入力支援DB61aに存在しない。このため、設定部152dは、SQL文「select*from C2」および関連キーワード「残高照会、履歴照会」の組および適用回数「1」のレコードを、入力支援DB61aに登録し、61bに示すものとする。
FIG. 8 is a diagram for explaining the processing of the setting unit. For example, the
続いて、設定部152は、SQL文「select*from E」と、関連キーワード「振込、他行」を受け付けたものとする。設定部152は、SQL文「select*from E」および関連キーワード「振込、他行」と、入力支援DB61bとを比較すると、SQL文「select*from E」および関連キーワード「振込、他行」の組が存在しない。このため、設定部152dは、SQL文「select*from E」および関連キーワード「振込、他行」の組および適用回数「1」のレコードを、入力支援DB61bに登録し、61cに示すものとする。
Subsequently, it is assumed that the
次に、本実施例に係る端末装置100の処理手順について説明する。図9は、本実施例に係る端末装置の処理手順を示すフローチャートである。図9に示すように、端末装置100のエビデンス情報生成部152は、エビデンス出力先ファイルの指定を受け付け(ステップS101)、ブラウザ機能を起動する(ステップS102)。
Next, a processing procedure of the
エビデンス情報生成部152は、エビデンス取得処理を実行する(ステップS103)。エビデンス情報生成部152は、DBエビデンス取得処理を実行する(ステップS104)。
The evidence
図9のエビデンス取得処理の処理手順について説明する。図10は、エビデンス取得処理の処理手順を示すフローチャートである。図10に示すように、エビデンス情報生成部152は、ブラウザイベントを検知する(ステップS201)。
The procedure of the evidence acquisition process in FIG. 9 will be described. FIG. 10 is a flowchart showing a processing procedure of evidence acquisition processing. As illustrated in FIG. 10, the evidence
エビデンス情報生成部152は、画面遷移を検知したか否かを判定する(ステップS202)。エビデンス情報生成部152は、画面遷移を検知していない場合には(ステップS202,No)、再度ステップS201に移行する。
The evidence
一方、エビデンス情報生成部152は、画面遷移を検知した場合には(ステップS202,Yes)、ブラウザエビデンスを取得する(ステップS203)。ステップS203において、エビデンス情報生成部152は、ブラウザ151によって表示された画面をキャプチャし、キャプチャした画面のイメージデータを、エビデンス情報141に追記する。
On the other hand, when the screen information is detected (Yes in step S202), the evidence
エビデンス情報生成部152は、DBエビデンス提案取得処理を実行し(ステップS204)、ステップS201に移行する。
The evidence
次に、図10のステップS204に示したDBエビデンス提案取得処理の処理手順について説明する。図11は、DBエビデンス提案取得処理の処理手順を示すフローチャートである。 Next, the processing procedure of the DB evidence proposal acquisition process shown in step S204 of FIG. 10 will be described. FIG. 11 is a flowchart illustrating a processing procedure of DB evidence proposal acquisition processing.
図11に示すように、エビデンス情報生成部152は、入力支援DB61の各レコードの関連キーワードを読み込む(ステップS301)。エビデンス情報生成部152は、読み込んだ各レコードの関連キーワードで、現在表示中の画面のHTMLデータを検索する(ステップS302)。
As illustrated in FIG. 11, the evidence
エビデンス情報生成部152は、検索ヒットしない場合には(ステップS303,No)、DBエビデンス提案取得処理を終了する。
The evidence
エビデンス情報生成部152は、検索ヒットした場合には(ステップS303,Yes)、関連キーワードが検索ヒットしたレコードのSQL文をオペレータに表示し、各処理を表示する(ステップS304)。例えば、ステップS304において、エビデンス情報生成部152は、図7に示した表示画面40を表示させ、いずれかのラジオボタンを選択させる。
When the search hit is found (Yes in step S303), the evidence
エビデンス情報生成部152は、「一部流用する」を選択されていない場合には(ステップS305,No)、「そのまま適用する」を選択されたか否かを判定する(ステップS306)。「そのまま適用する」は、表示画面40に表示されたSQL文をそのまま利用することであり、例えば、図7に示したラジオボタン41aまたは41bを選択されたことを意味する。
If “partially divert” is not selected (No in step S305), the evidence
エビデンス情報生成部152は、「そのまま適用する」が選択されない場合には(ステップS306,No)、DBエビデンス提案取得処理を終了する。
If “apply as it is” is not selected (No in step S306), the evidence
一方、エビデンス情報生成部152は、「そのまま適用する」が選択された場合には(ステップS306,Yes)、SQL文に対応するレコードの適用回数に1を加算する(ステップS307)。エビデンス情報生成部152は、SQL文をDBMS52に送信し(ステップS308)、ステップS312に移行する。
On the other hand, when “apply as it is” is selected (Yes in step S306), the evidence
ところで、ステップS305において、エビデンス情報生成部152は、「一部流用する」が選択された場合には(ステップS305,Yes)、SQL文の編集を受け付ける(ステップS309)。
By the way, in step S305, the evidence
エビデンス情報生成部152は、編集されたSQLと関連キーワードとの組み合わせを、入力支援DB61に新規登録する(ステップS310)。エビデンス情報生成部152は、編集されたSQL文をDBMS52に送信する(ステップS311)。
The evidence
エビデンス情報生成部152は、DBMS52からデータを受信し(ステップS312)、SQL文をエビデンス出力先ファイルに追記する(ステップS313)。エビデンス情報生成部152は、受信したデータを、エビデンス出力先ファイルに追加し(ステップS314)、DBエビデンス提案取得処理を終了する。
The evidence
次に、図9のステップS104に示したDBエビデンス取得処理の処理手順について説明する。図12は、DBエビデンス取得処理の処理手順を示すフローチャートである。 Next, the procedure of the DB evidence acquisition process shown in step S104 of FIG. 9 will be described. FIG. 12 is a flowchart illustrating a processing procedure of DB evidence acquisition processing.
図12に示すように、エビデンス情報生成部152は、オペレータからのSQL文の入力を受け付け(ステップS401)、オペレータから関連キーワードの入力を受け付ける(ステップS402)。エビデンス情報生成部152は、SQL発行ボタン36が押下されていない場合には(ステップS403,No)、再度ステップS401に移行する。
As shown in FIG. 12, the evidence
エビデンス情報生成部152は、SQL発行ボタンが押下された場合には(ステップS403,Yes)、関連キーワードの入力があるか否かを判定する(ステップS404)。エビデンス情報生成部152は、関連キーワードの入力がない場合には(ステップS404,No)、SQL文をDBMS52に送信する(ステップS405)。
When the SQL issue button is pressed (step S403, Yes), the evidence
エビデンス情報生成部152は、DBMS52からデータを受信し(ステップS406)、SQL文を、エビデンス出力先ファイルに追記する(ステップS407)。エビデンス情報生成部152は、受信したデータをエビデンス出力先ファイルに追記し(ステップS408)、ステップS401に移行する。ステップS408において、例えば、エビデンス情報生成部152は、DBMS52から受信したデータをCSV(Comma-Separated Values)データとして追記する。
The evidence
ところで、ステップS404において、エビデンス情報生成部152は、関連キーワードの入力がある場合には(ステップS404,Yes)、関連キーワードを基にして、入力支援DB61を検索する(ステップS409)。エビデンス情報生成部152は、検索ヒットしない場合には(ステップS410,No)、ステップS414に移行する。
By the way, in step S404, when there is an input of a related keyword (step S404, Yes), the evidence
一方、エビデンス情報生成部152は、検索ヒットした場合には(ステップS410,Yes)、入力されたSQL文と、検索ヒットしたレコードのSQL文とを比較する(ステップS411)。
On the other hand, when there is a search hit (Yes in step S410), the evidence
エビデンス情報生成部152は、入力されたSQL文と、検索ヒットしたレコードのSQL文とが一致しない場合には(ステップS412,No)、ステップS414に移行する。一方、エビデンス情報生成部152は、入力されたSQL文と、検索ヒットしたレコードのSQL文とが一致する場合には(ステップS412,Yes)、検索ヒットしたレコードの適用回数に1を加算し(ステップS413)、ステップS405に移行する。
The evidence
ステップS410において、エビデンス情報生成部152は、検索ヒットしない場合には(ステップS410,No)、入力されたSQL文と関連キーワードとの組み合わせを入力支援DBに新規登録する(ステップS414)。
In step S410, when there is no search hit (No in step S410), the evidence
次に、本実施例に係る端末装置100の効果について説明する。端末装置100は、アプリをテストする場合に、画面のイメージデータに含まれるキーワードに関連付けられたSQL文を、入力支援DB61から読み出す。そして、端末装置100は、画面のイメージデータをエビデンス情報141に追加すると共に、入力支援DB61から読み出したSQL文をDBMS52に送信して得られるデータを、エビデンス情報141に追加する。これにより、利用者は、手入力でSQL文を入力しなくても良いので、SQL文の誤入力を防止でき、アプリをテストした証拠資料を生成することができる。また、本実施例に係る端末装置100を利用することで、SQL文の専門知識を有さない利用者であっても、証拠資料を作成することができる。
Next, effects of the
また、端末装置100によれば、入力支援DBから読み出したSQL文を含む表示画40面を出力し、修正を受け付けた場合には、SQL文を修正し、修正したSQL文をDBMS52に送信する。このため、SQL文が利用者の意図と異なる場合にも対応して、最適な証拠資料を生成することができる。
Further, according to the
また、端末装置100によれば、アプリの処理の実行に伴って複数の画面を出力し、画面のイメージデータと、画面に対応するSQL文により取得したデータとを、処理の実行に従った順にエビデンス情報141に記録する。このため、アプリが正しくテストされ確認がなされたか否かを適切に証明する証拠資料を生成することができる。
In addition, according to the
次に、上記実施例に示した端末装置100と同様の機能を実現する制御プログラムを実行するコンピュータの一例について説明する。図13は、制御プログラムを実行するコンピュータの一例を示す図である。
Next, an example of a computer that executes a control program that realizes the same function as the
図13に示すように、コンピュータ200は、各種演算処理を実行するCPU201と、利用者からのデータの入力を受け付ける入力装置202と、ディスプレイ203を有する。また、コンピュータ200は、記憶媒体からプログラム等を読取る読み取り装置204と、ネットワークを介して他のコンピュータとの間でデータの授受を行うインターフェース装置205とを有する。また、コンピュータ200は、各種情報を一時記憶するRAM206と、ハードディスク装置207を有する。そして、各装置201〜207は、バス208に接続される。
As illustrated in FIG. 13, the
ハードディスク装置207は、検出プログラム207a、記録プログラム207bを有する。CPU201は、各プログラム207a、207bを読み出してRAM206に展開する。
The
検出プログラム207aは、検出プロセス206aとして機能する。記録プログラム207bは、記録プロセス206bとして機能する。
The
例えば、検出プロセス206aは、検出部152bに対応する。記録プロセス206bは、記録部152cに対応する。
For example, the
なお、各プログラム207a,207bについては、必ずしも最初からハードディスク装置207に記憶させておかなくても良い。例えば、コンピュータ200に挿入されるフレキシブルディスク(FD)、CD−ROM、DVDディスク、光磁気ディスク、ICカードなどの「可搬用の物理媒体」に各プログラムを記憶させておく。そして、コンピュータ200がこれらから各プログラム207a,207bを読み出して実行するようにしてもよい。
Note that the
ところで上記実施例では、検出部152bが、表示画面40を表示させた後、利用者の入力操作に応じて、SQL文をDBMS52に送信していたが、これに限定されるものではない。検出部152bは、キーワードと同一の関連キーワードにヒットした場合には、ヒットした関連キーワードに対応付けられたSQL文を、入力支援DB61から取得し、取得したSQL文をそのまま、DBMS52に送信してもよい。
In the above embodiment, the
また、上記実施例では、入力支援サーバ60が、入力支援DB61を有していたがこれに限定されるものではない。例えば、端末装置100のいずれかが、入力支援サーバ60と同じ機能を有し、端末装置100が、入力支援DB61を有しても良い。例えば、端末装置100aが、入力支援DB61を保持し、端末装置100bが、端末装置100aの入力支援DB61にアクセスしてSQL文を読み出しても良い。または、端末装置100aが入力支援装置61を保持し、端末装置100aが自身の保持する入力支援DB61にアクセスし、SQL文を読み出しても良い。
Moreover, in the said Example, although the
以上の各実施例を含む実施形態に関し、さらに以下の付記を開示する。 The following supplementary notes are further disclosed with respect to the embodiments including the above examples.
(付記1)コンピュータに、
キーワードと、データベースからのデータ取得に用いられる要求命令とを対応付けて記憶する記憶部を参照し、アプリケーションソフトウェアによりコンピュータの表示部に出力された第一の画面に、前記記憶部に記憶されている第一のキーワードが含まれていることを検出すると、
前記第一のキーワードと対応付けて前記記憶部に記憶されている第一の要求命令を読み出し、
前記第一の画面の画像データを記録するとともに、前記データベースから前記第一の要求命令により取得したデータを記録する
処理を実行させることを特徴とする制御プログラム。
(Supplementary note 1)
Reference is made to a storage unit that stores a keyword and a request command used for data acquisition from a database in association with each other, and the first screen output to the computer display unit by application software is stored in the storage unit. If it detects that the first keyword is included,
Read the first request command stored in the storage unit in association with the first keyword,
A control program for recording the image data of the first screen and recording the data acquired by the first request command from the database.
(付記2)前記第一の要求命令を読み出す処理は、前記第一の要求命令を含む第二の画面を出力し、修正を受け付けた場合には、前記第一の要求命令を修正することを特徴とする付記1に記載の制御プログラム。
(Additional remark 2) The process which reads said 1st request command outputs the 2nd screen containing said 1st request command, and when correction is received, it corrects said 1st request command The control program according to
(付記3)前記アプリケーションソフトウェアは処理の実行に伴って複数の画面を出力し、前記記録する処理は、画面データと、画面に対応する第一の要求命令により取得したデータとを、前記処理の実行に従った順に記録することを特徴とする付記1または2に記載の制御プログラム。
(Supplementary Note 3) The application software outputs a plurality of screens as the process is executed, and the recording process includes screen data and data acquired by a first request instruction corresponding to the screen. 3. The control program according to
(付記4)コンピュータが実行する制御方法であって、
キーワードと、データベースからのデータ取得に用いられる要求命令とを対応付けて記憶する記憶部を参照し、アプリケーションソフトウェアによりコンピュータの表示部に出力された第一の画面に、前記記憶部に記憶されている第一のキーワードが含まれていることを検出すると、
前記第一のキーワードと対応付けて前記記憶部に記憶されている第一の要求命令を読み出し、
前記第一の画面の画像データを記憶するとともに、前記データベースから前記第一の要求命令により取得したデータを記録する
処理を実行することを特徴とする制御方法。
(Appendix 4) A control method executed by a computer,
Reference is made to a storage unit that stores a keyword and a request command used for data acquisition from a database in association with each other, and the first screen output to the computer display unit by application software is stored in the storage unit. If it detects that the first keyword is included,
Read the first request command stored in the storage unit in association with the first keyword,
A control method, comprising: storing image data of the first screen and recording data acquired by the first request command from the database.
(付記5)前記第一の要求命令を読み出す処理は、前記第一の要求命令を含む第二の画面を出力し、修正を受け付けた場合には、前記第一の要求命令を修正することを特徴とする付記4に記載の制御方法。
(Additional remark 5) The process which reads said 1st request command outputs the 2nd screen containing said 1st request command, and when correction is received, it corrects said 1st request command The control method according to
(付記6)前記アプリケーションソフトウェアは処理の実行に伴って複数の画面を出力し、前記記録する処理は、画面データと、画面に対応する第一の要求命令により取得したデータとを、前記処理の実行に従った順に記録することを特徴とする付記4または5に記載の制御方法。
(Supplementary note 6) The application software outputs a plurality of screens as the process is executed, and the recording process includes the screen data and the data acquired by the first request instruction corresponding to the screen. 6. The control method according to
(付記7)キーワードと、データベースからのデータ取得に用いられる要求命令とを対応付けて記憶する記憶部を参照し、アプリケーションソフトウェアによりコンピュータの表示部に出力された第一の画面に、前記記憶部に記憶されている第一のキーワードが含まれているか否かを判定し、第一のキーワードが含まれていると検出された場合に、前記第一のキーワードと対応付けて前記記憶部に記憶されている第一の要求命令を読み出す検出部と、
前記第一の画像の画像データを記録するとともに、前記データベースから前記第一の要求命令により取得したデータを記録する記録部と
を有することを特徴とする制御装置。
(Additional remark 7) The memory | storage part which refers to the memory | storage part which matches and memorize | stores a keyword and the request command used for the data acquisition from a database, and is output to the display part of a computer by application software on said memory | storage part Is stored in the storage unit in association with the first keyword when it is detected that the first keyword is included. A detection unit for reading out the first request command being performed;
And a recording unit that records image data of the first image and records data obtained by the first request command from the database.
(付記8)前記検出部は、前記第一の要求命令を含む第二の画面を出力し、修正を受け付けた場合には、前記第一の要求命令を修正することを特徴とする付記7に記載の制御装置。 (Supplementary note 8) The supplementary note 7 is characterized in that the detection unit outputs a second screen including the first request command and corrects the first request command when correction is accepted. The control device described.
(付記9)前記アプリケーションソフトウェアは処理の実行に伴って複数の画面を出力し、前記記録部は、画面データと、画面に対応する第一の要求命令により取得したデータとを、前記処理の実行に従った順に記録することを特徴とする付記7または8に記載の制御装置。 (Supplementary note 9) The application software outputs a plurality of screens as the process is executed, and the recording unit executes the process using the screen data and the data acquired by the first request instruction corresponding to the screen. 9. The control device according to appendix 7 or 8, wherein recording is performed in the order according to the above.
50 Webシステム
60 入力支援サーバ
70 ネットワーク
100a,100b,100c 端末装置
50
Claims (5)
キーワードと、データベースからのデータ取得に用いられる要求命令とを対応付けて記憶する記憶部を参照し、アプリケーションソフトウェアによりコンピュータの表示部に出力された第一の画面に、前記記憶部に記憶されている第一のキーワードが含まれていることを検出すると、
前記第一のキーワードと対応付けて前記記憶部に記憶されている第一の要求命令を読み出し、
前記第一の画面の画像データを記録するとともに、前記データベースから前記第一の要求命令により取得したデータを記録する
処理を実行させることを特徴とする制御プログラム。 On the computer,
Reference is made to a storage unit that stores a keyword and a request command used for data acquisition from a database in association with each other, and the first screen output to the computer display unit by application software is stored in the storage unit. If it detects that the first keyword is included,
Read the first request command stored in the storage unit in association with the first keyword,
A control program for recording the image data of the first screen and recording the data acquired by the first request command from the database.
キーワードと、データベースからのデータ取得に用いられる要求命令とを対応付けて記憶する記憶部を参照し、アプリケーションソフトウェアによりコンピュータの表示部に出力された第一の画面に、前記記憶部に記憶されている第一のキーワードが含まれていることを検出すると、
前記第一のキーワードと対応付けて前記記憶部に記憶されている第一の要求命令を読み出し、
前記第一の画面の画像データを記憶するとともに、前記データベースから前記第一の要求命令により取得したデータを記録する
処理を実行することを特徴とする制御方法。 A control method executed by a computer,
Reference is made to a storage unit that stores a keyword and a request command used for data acquisition from a database in association with each other, and the first screen output to the computer display unit by application software is stored in the storage unit. If it detects that the first keyword is included,
Read the first request command stored in the storage unit in association with the first keyword,
A control method, comprising: storing image data of the first screen and recording data acquired by the first request command from the database.
前記第一の画面の画像データを記録するとともに、前記データベースから前記第一の要求命令により取得したデータを記録する記録部と
を有することを特徴とする制御装置。 Reference is made to a storage unit that stores a keyword and a request command used for data acquisition from a database in association with each other, and the first screen output to the computer display unit by application software is stored in the storage unit. A first keyword stored in the storage unit in association with the first keyword when it is detected that the first keyword is included. A detection unit for reading one request command;
And a recording unit that records image data of the first screen and records data acquired from the database according to the first request command.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014033949A JP6303591B2 (en) | 2014-02-25 | 2014-02-25 | Control program, control method, and control apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014033949A JP6303591B2 (en) | 2014-02-25 | 2014-02-25 | Control program, control method, and control apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2015158842A JP2015158842A (en) | 2015-09-03 |
| JP6303591B2 true JP6303591B2 (en) | 2018-04-04 |
Family
ID=54182772
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2014033949A Expired - Fee Related JP6303591B2 (en) | 2014-02-25 | 2014-02-25 | Control program, control method, and control apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6303591B2 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011138416A (en) * | 2009-12-28 | 2011-07-14 | Canon It Solutions Inc | Information processing device, control method, program and recording medium |
| JP6016623B2 (en) * | 2012-03-16 | 2016-10-26 | 株式会社日立製作所 | Software execution result deliverable collection apparatus and method |
| JP6079265B2 (en) * | 2013-01-25 | 2017-02-15 | 富士通株式会社 | Control program, control method, and control apparatus |
-
2014
- 2014-02-25 JP JP2014033949A patent/JP6303591B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2015158842A (en) | 2015-09-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104252410B (en) | The method and apparatus that a kind of control in the page is tested | |
| US20150106723A1 (en) | Tools for locating, curating, editing, and using content of an online library | |
| US10353721B2 (en) | Systems and methods for guided live help | |
| CN108228861B (en) | Method and system for performing feature engineering for machine learning | |
| US9772932B2 (en) | Application test across platforms | |
| CN107209773B (en) | Automatically invoke a unified visual interface | |
| CN111737137A (en) | Interface test data generation method and device, host and storage medium | |
| JP4395761B2 (en) | Program test support apparatus and method | |
| US20130246402A1 (en) | Screen data generating apparatus for programmable display device | |
| KR102044614B1 (en) | Input method based website information providing method and device | |
| CN108885444A (en) | Information management device, information management method, and information management system | |
| JP7320211B1 (en) | Systems, methods and programs for testing website vulnerabilities | |
| CN112906358B (en) | Information processing device, information processing method, and recording medium | |
| JP6079265B2 (en) | Control program, control method, and control apparatus | |
| US20150356884A1 (en) | Learning support apparatus, data output method in learning support apparatus, and storage medium | |
| CN112380871A (en) | Semantic recognition method, apparatus, and medium | |
| US20130326466A1 (en) | Human Readable Software Program Test Step | |
| US10042638B2 (en) | Evaluating documentation coverage | |
| CN112416127B (en) | Electronic instruction device for laboratory and acquisition operation assisting method | |
| JP6355768B1 (en) | Operation automation equipment | |
| JP6303591B2 (en) | Control program, control method, and control apparatus | |
| US20160378871A1 (en) | Generating Search Results Using Current Software Application States | |
| CN114691499A (en) | Wearable device test method, device, wearable device and medium | |
| Elouali et al. | A model-based approach for engineering multimodal mobile interactions | |
| CN110096392A (en) | Method and apparatus for output information |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20161102 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170823 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170829 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170925 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20180206 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180219 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6303591 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |