JP6781688B2 - Programs, information processing equipment and screen test systems - Google Patents

Programs, information processing equipment and screen test systems Download PDF

Info

Publication number
JP6781688B2
JP6781688B2 JP2017239556A JP2017239556A JP6781688B2 JP 6781688 B2 JP6781688 B2 JP 6781688B2 JP 2017239556 A JP2017239556 A JP 2017239556A JP 2017239556 A JP2017239556 A JP 2017239556A JP 6781688 B2 JP6781688 B2 JP 6781688B2
Authority
JP
Japan
Prior art keywords
screen
test
identification information
displayed
information
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.)
Active
Application number
JP2017239556A
Other languages
Japanese (ja)
Other versions
JP2019106107A (en
Inventor
洋忠 山▲崎▼
洋忠 山▲崎▼
豊 上村
豊 上村
桜子 大竹
桜子 大竹
はづき 下園
はづき 下園
卓也 山口
卓也 山口
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.)
Fujitsu FIP Corp
Original Assignee
Fujitsu FIP 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 Fujitsu FIP Corp filed Critical Fujitsu FIP Corp
Priority to JP2017239556A priority Critical patent/JP6781688B2/en
Publication of JP2019106107A publication Critical patent/JP2019106107A/en
Application granted granted Critical
Publication of JP6781688B2 publication Critical patent/JP6781688B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Description

本発明は、プログラム、情報処理装置及び画面テストシステムに関する。 The present invention relates to a program, an information processing device and a screen test system.

システム開発において画面テストを自動化するツールは従来から知られている。例えばグラフィカルユーザーインターフェース(GUI)アプリケーションのテストでは、テスト支援装置を用い、ユーザの操作を記録し、その記録した操作をテスト支援装置が再現・検証することによって、テストの自動実行、すなわちテストの自動化を実現していた(例えば特許文献1参照)。 Tools for automating screen tests in system development have long been known. For example, in the testing of a graphical user interface (GUI) application, a test support device is used to record the user's operation, and the test support device reproduces and verifies the recorded operation to automatically execute the test, that is, to automate the test. (See, for example, Patent Document 1).

特開2010−198479号公報Japanese Unexamined Patent Publication No. 2010-198479

画面テストを自動化する従来のツールは、設定されたテストシナリオに従ってテスト対象のアプリケーションを動作させることでテストを行っている。例えば画面テストで利用されるテストシナリオには、テスト対象のアプリケーションの画面へのユーザ操作がスクリプトにより設定されていた。したがって、従来のツールを利用して画面テストを自動化する為にはスクリプトの知識が必要という問題があった。 Traditional tools that automate screen testing perform testing by running the application under test according to a set test scenario. For example, in the test scenario used in the screen test, the user operation on the screen of the application to be tested was set by the script. Therefore, there is a problem that knowledge of scripts is required to automate screen tests using conventional tools.

上記した特許文献1には、テスト実行者が行う対象アプリケーションへの操作をテストスクリプトとして保存する内容が記載されている。しかしながら、上記した特許文献1の内容では、テスト対象の画面に表示されているオブジェクトにIDが付与されていない場合に、そのオブジェクトの指定をディスプレイ上の座標などで行う必要があり、ウインドウサイズなどに依存する汎用性に乏しいテストシナリオ(テスト手順)になってしまうという問題があった。 The above-mentioned Patent Document 1 describes the content of saving the operation of the test executor on the target application as a test script. However, in the content of Patent Document 1 described above, when an ID is not assigned to the object displayed on the screen to be tested, it is necessary to specify the object by the coordinates on the display, the window size, etc. There was a problem that the test scenario (test procedure) was not versatile and depended on.

本発明は、汎用性の高いテスト手順の作成と、作成したテスト手順による画面テストとを実現できるプログラム、情報処理装置及び画面テストシステムを提供することを目的とする。 An object of the present invention is to provide a program, an information processing apparatus, and a screen test system capable of creating a highly versatile test procedure and performing a screen test by the created test procedure.

上記した課題を解決するために本願請求項1のプログラムは、コンピュータに、テスト対象の第1の画面に表示されているオブジェクトを指定したテスト手順作成指示のための操作をユーザから受け付ける受付ステップ、前記第1の画面に表示されているオブジェクトに第2の識別情報が設定されていない場合に、前記第1の画面に表示されているオブジェクトの位置情報を取得し、前記位置情報により決めた順位に従って前記オブジェクトに採番を行い、採番した第1の識別情報を前記オブジェクトに設定する設定ステップ、前記第1の識別情報又は前記第2の識別情報が前記オブジェクトの特定情報として指定されている1つ以上の前記オブジェクトに対するテスト手順を前記オブジェクトに対する操作内容から作成する作成ステップ、前記第1の画面と同じ構造であって、前記第1の画面で作成された前記テスト手順で画面テストを行うことが可能なテスト対象の第2の画面を表示し、前記テスト手順で指定された前記特定情報により前記第2の画面に表示されているオブジェクトを特定できれば、前記第2の識別情報が前記オブジェクトの特定情報として指定されている前記テスト手順に従って前記第2の画面の画面テストを行い、前記特定情報により前記オブジェクトを特定できなければ、前記設定ステップと同様に前記第2の画面に表示されているオブジェクトに採番を行い、採番した第1の識別情報を前記オブジェクトに設定し、前記第1の識別情報が前記オブジェクトの特定情報として指定されている前記テスト手順に従って前記第2の画面の画面テストを行う実行ステップ、を実行させるためのプログラムであることを特徴とする。

In order to solve the above-mentioned problems, the program of claim 1 of the present application receives from the user an operation for instructing the computer to create a test procedure by designating an object displayed on the first screen to be tested. When the second identification information is not set for the object displayed on the first screen, the position information of the object displayed on the first screen is acquired, and the order determined by the position information is obtained. According to the setting step of assigning a number to the object and setting the numbered first identification information to the object, the first identification information or the second identification information is designated as the specific information of the object. A screen test is performed by the creation step of creating a test procedure for one or more objects from the operation contents for the object, the test procedure having the same structure as the first screen, and the test procedure created on the first screen. it displays a second screen of the test object can, if certain objects displayed on the second screen by the specifying information specified in the test procedure, the second identification information is the object deeds screen test before Symbol second screen in accordance with the test procedure that is specified as the specific information, said to be able to identify the object by the specific information, the setting step in the same manner as before Symbol displayed on the second screen is performed numbering objects are, the first identification information numbered set to the object, the first identification information is pre-Symbol second according to the test procedure that is specified as the specific information of the object It is characterized by being a program for executing an execution step of performing a screen test of the screen of.

本発明によれば、汎用性の高いテスト手順の作成と、作成したテスト手順による画面テストとを実現できる。 According to the present invention, it is possible to create a highly versatile test procedure and to perform a screen test using the created test procedure.

本実施形態に係る画面テストシステムの一例の構成図である。It is a block diagram of an example of the screen test system which concerns on this embodiment. コンピュータの一例のハードウェア構成図である。It is a hardware block diagram of an example of a computer. 本実施形態に係る画面テストシステムの一例のソフトウェア構成図である。It is a software configuration diagram of an example of the screen test system which concerns on this embodiment. 本実施形態に係る画面テストシステムの処理の一例のフローチャートである。It is a flowchart of an example of the processing of the screen test system which concerns on this embodiment. 入力補助ツールを利用したテストシナリオ設定処理の一例の説明図である。It is explanatory drawing of an example of the test scenario setting process using an input assist tool. テスト対象画面及びテストシナリオ画面の一例のイメージ図である。It is an image diagram of an example of a test target screen and a test scenario screen. オブジェクトに関する情報にオブジェクトのIDが含まれていなかった場合のテストシナリオ画面の一例のイメージ図である。It is an image diagram of an example of a test scenario screen when the ID of an object is not included in the information about an object. 入力補助ツールを利用したテストシナリオ設定処理の一例のフローチャートである。It is a flowchart of an example of a test scenario setting process using an input assist tool. 画面テスト実行処理及びテスト結果出力処理の一例の説明図である。It is explanatory drawing of an example of screen test execution processing and test result output processing. テストシナリオ設定画面の一例のイメージ図である。It is an image diagram of an example of a test scenario setting screen. ログイン画面の一例のイメージ図である。It is an image diagram of an example of a login screen. 検索画面の一例のイメージ図である。It is an image diagram of an example of a search screen. 検索結果画面の一例のイメージ図である。It is an image diagram of an example of a search result screen. テスト結果レポートが表示された画面の一例のイメージ図である。It is an image diagram of an example of the screen on which the test result report is displayed. 画面テスト実行処理及びテスト結果出力処理の一例のフローチャートである。It is a flowchart of an example of a screen test execution process and a test result output process.

以下、本発明の実施形態について図面を参照しながら説明する。
[第1の実施形態]
<システム構成>
図1は、本実施形態に係る画面テストシステムの一例の構成図である。本実施形態に係る画面テストシステムは、図1(A)に示すように一台の情報処理装置1により構成されてもよいし、図1(B)に示すように複数台の情報処理装置2及び3により構成されてもよい。図1(B)の画面テストシステムではサーバ装置として機能する情報処理装置2とクライアント装置として機能する情報処理装置3とがローカルエリアネットワーク(LAN)やインターネットなどのネットワーク4を介してデータ通信可能に接続されている。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[First Embodiment]
<System configuration>
FIG. 1 is a configuration diagram of an example of a screen test system according to the present embodiment. The screen test system according to the present embodiment may be configured by one information processing device 1 as shown in FIG. 1 (A), or may be configured by a plurality of information processing devices 2 as shown in FIG. 1 (B). And 3 may be configured. In the screen test system of FIG. 1B, the information processing device 2 functioning as a server device and the information processing device 3 functioning as a client device can perform data communication via a network 4 such as a local area network (LAN) or the Internet. It is connected.

図1(A)の情報処理装置1は、画面テストを行うユーザが操作する端末装置の一例であり、パーソナルコンピュータ(PC)やスマートデバイス、携帯電話等である。例えば図1(A)の画面テストシステムは情報処理装置1にダウンロードし、情報処理装置1で実行するクライアントアプリの画面テストや、WebブラウザからWebサービスを介して実行されるWebアプリの画面テストに適用できる。 The information processing device 1 of FIG. 1A is an example of a terminal device operated by a user who performs a screen test, and is a personal computer (PC), a smart device, a mobile phone, or the like. For example, the screen test system of FIG. 1A is downloaded to the information processing device 1 and used for a screen test of a client application executed by the information processing device 1 or a screen test of a Web application executed from a Web browser via a Web service. Applicable.

図1(B)の情報処理装置2はWebアプリを実行するサーバ装置の一例であり、PCやワークステーション、メインフレーム等である。また、情報処理装置3は画面テストを行うユーザが操作するクライアント装置の一例であって、PCやスマートデバイス、携帯電話等である。情報処理装置3はWebブラウザが搭載されており、そのWebブラウザからWebサービスを介してWebアプリを操作する。例えば図1(B)の画面テストシステムはWebアプリの画面テストや、クライアントアプリの画面テストに適用できる。 The information processing device 2 in FIG. 1B is an example of a server device that executes a Web application, and is a PC, a workstation, a mainframe, or the like. Further, the information processing device 3 is an example of a client device operated by a user who performs a screen test, and is a PC, a smart device, a mobile phone, or the like. The information processing device 3 is equipped with a Web browser, and operates a Web application from the Web browser via a Web service. For example, the screen test system of FIG. 1B can be applied to a screen test of a Web application and a screen test of a client application.

なお、図1の画面テストシステムは一例であって、用途や目的に応じて様々なシステム構成例があることは言うまでもない。例えば図1(B)の画面テストシステムではサーバ装置として機能する情報処理装置2が一台の例であるが、複数台であってもよく、様々な構成が可能である。 It should be noted that the screen test system of FIG. 1 is an example, and it goes without saying that there are various system configuration examples depending on the application and purpose. For example, in the screen test system of FIG. 1B, the information processing device 2 that functions as a server device is one example, but a plurality of information processing devices 2 may be used, and various configurations are possible.

<ハードウェア構成>
図1の画面テストシステムの情報処理装置1、2及び3は例えば図2のハードウェア構成のコンピュータにより実現される。図2はコンピュータの一例のハードウェア構成図である。
<Hardware configuration>
The information processing devices 1, 2 and 3 of the screen test system of FIG. 1 are realized by, for example, the computer having the hardware configuration of FIG. FIG. 2 is a hardware configuration diagram of an example of a computer.

図2に示したコンピュータ500は、入力装置501、表示装置502、外部I/F503、RAM504、ROM505、CPU506、通信I/F507及びHDD508などを備え、それぞれがバスBで相互に接続されている。なお、入力装置501及び表示装置502は必要なときに接続して利用する形態であってもよい。 The computer 500 shown in FIG. 2 includes an input device 501, a display device 502, an external I / F 503, a RAM 504, a ROM 505, a CPU 506, a communication I / F 507, an HDD 508, and the like, and are connected to each other by a bus B. The input device 501 and the display device 502 may be connected and used when necessary.

入力装置501はキーボードやマウス、タッチパネルなどであり、ユーザ等が各操作信号を入力するのに用いられる。表示装置502はディスプレイ等であり、コンピュータ500による処理結果を表示する。通信I/F507はコンピュータ500をネットワーク4に接続するインタフェースである。HDD508は、プログラムやデータを格納している不揮発性の記憶装置の一例である。 The input device 501 is a keyboard, a mouse, a touch panel, or the like, and is used by a user or the like to input each operation signal. The display device 502 is a display or the like, and displays a processing result by the computer 500. The communication I / F 507 is an interface for connecting the computer 500 to the network 4. The HDD 508 is an example of a non-volatile storage device that stores programs and data.

外部I/F503は、外部装置とのインタフェースである。コンピュータ500は外部I/F503を介してSDメモリカードなどの記録媒体503aの読み取り及び/又は書き込みを行うことができる。ROM505は、プログラムやデータが格納された不揮発性の半導体メモリ(記憶装置)の一例である。RAM504はプログラムやデータを一時保持する揮発性の半導体メモリ(記憶装置)の一例である。 The external I / F 503 is an interface with an external device. The computer 500 can read and / or write to a recording medium 503a such as an SD memory card via an external I / F 503. The ROM 505 is an example of a non-volatile semiconductor memory (storage device) in which programs and data are stored. RAM 504 is an example of a volatile semiconductor memory (storage device) that temporarily holds programs and data.

CPU506は、ROM505やHDD508などの記憶装置からプログラムやデータをRAM504上に読み出し、処理を実行することで、コンピュータ500全体の制御や機能を実現する演算装置である。図1の画面テストシステムの情報処理装置1、2及び3は例えば図2のコンピュータ500のハードウェア構成により、後述するような各種機能を実現できる。 The CPU 506 is an arithmetic unit that realizes control and functions of the entire computer 500 by reading a program or data from a storage device such as a ROM 505 or an HDD 508 onto the RAM 504 and executing processing. The information processing devices 1, 2 and 3 of the screen test system of FIG. 1 can realize various functions as described later by, for example, the hardware configuration of the computer 500 of FIG.

<ソフトウェア構成>
以下では図1(A)の画面テストシステムの場合のソフトウェア構成を一例として説明する。図1(A)の画面テストシステムの情報処理装置1は、例えば図3のソフトウェア構成により実現される。
<Software configuration>
Hereinafter, the software configuration in the case of the screen test system of FIG. 1A will be described as an example. The information processing device 1 of the screen test system of FIG. 1A is realized by, for example, the software configuration of FIG.

図3は本実施形態に係る画面テストシステムの一例のソフトウェア構成図である。図3の情報処理装置1は入力補助ツール10、テスト対象アプリ12及び画面テストツール14が搭載されている。入力補助ツール10は画面テストを実行するために必要なテストシナリオの作成を後述のように補助するツールである。テスト対象アプリ12は画面テストを実行するテスト対象のアプリである。画面テストツール14はテストシナリオに従ってテスト対象アプリ12の画面テストを後述のように行うツールである。なお、図3に示したソフトウェア構成は一例であって、例えば入力補助ツール10及び画面テストツール14が一体化された構成や、入力補助ツール10及び画面テストツール14が細分化された構成であってもよい。なお、入力補助ツール10及び画面テストツール14により実現される機能ブロックについては、後述する。 FIG. 3 is a software configuration diagram of an example of the screen test system according to the present embodiment. The information processing device 1 of FIG. 3 is equipped with an input assist tool 10, a test target application 12, and a screen test tool 14. The input assist tool 10 is a tool that assists in creating a test scenario necessary for executing a screen test as described later. The test target application 12 is a test target application that executes a screen test. The screen test tool 14 is a tool that performs a screen test of the test target application 12 according to a test scenario as described later. The software configuration shown in FIG. 3 is an example, for example, a configuration in which the input assist tool 10 and the screen test tool 14 are integrated, or a configuration in which the input assist tool 10 and the screen test tool 14 are subdivided. You may. The functional blocks realized by the input assist tool 10 and the screen test tool 14 will be described later.

<処理>
本実施形態に係る画面テストシステムは、例えば図4に示すような手順でテスト対象のアプリの画面テストを行う。図4は本実施形態に係る画面テストシステムの処理の一例のフローチャートである。
<Processing>
The screen test system according to the present embodiment performs a screen test of the application to be tested by a procedure as shown in FIG. 4, for example. FIG. 4 is a flowchart of an example of processing of the screen test system according to the present embodiment.

ステップS11においてユーザは入力補助ツール10を利用し、テスト対象アプリ12の画面テストに必要なテストシナリオの作成を行う。入力補助ツール10はテスト対象の画面(第1の画面)をキャプチャすることで、その画面に表示されているオブジェクト(画面項目)を特定して後述のようにテストシナリオを設定できる。 In step S11, the user uses the input assist tool 10 to create a test scenario necessary for the screen test of the application to be tested 12. By capturing the screen to be tested (first screen), the input assist tool 10 can identify the object (screen item) displayed on the screen and set the test scenario as described later.

ステップS12においてユーザは画面テストツール14に対して画面テスト実行の指示を行い、画面テストツール14にステップS11で作成したテストシナリオに従った画面テストを行わせる。画面テストツール14はテストシナリオに従い、テスト対象アプリ12の画面(第2の画面)への操作を後述のように行う。 In step S12, the user instructs the screen test tool 14 to execute the screen test, and causes the screen test tool 14 to perform the screen test according to the test scenario created in step S11. The screen test tool 14 operates the screen (second screen) of the test target application 12 according to the test scenario as described later.

ステップS13において画面テストツール14はテスト対象アプリ12への画面テストの結果(テスト結果画像やテスト結果レポートなど)を出力する。なお、ステップS11で作成したテストシナリオは保存しておくことができる。保存しておいたテストシナリオを利用する場合はステップS11の処理が省略される。 In step S13, the screen test tool 14 outputs the result of the screen test (test result image, test result report, etc.) to the test target application 12. The test scenario created in step S11 can be saved. When using the saved test scenario, the process of step S11 is omitted.

なお、図4の手順は一例であって、ステップS11の入力補助ツール10を利用したテストシナリオ設定処理に替えて、ユーザが表形式で表されるテストシナリオを手入力するようにしてもよい。この場合は、予め決まっている後述のIDを手入力するか、テスト対象の画面に表示されているオブジェクト(画面項目)の順番を出力するツールに出力させたIDを手入力する。 Note that the procedure of FIG. 4 is an example, and the user may manually input the test scenario represented in the tabular format instead of the test scenario setting process using the input assist tool 10 in step S11. In this case, manually input a predetermined ID described later, or manually input the ID output to the tool that outputs the order of the objects (screen items) displayed on the screen to be tested.

《ステップS11の詳細》
図5は入力補助ツールを利用したテストシナリオ設定処理の一例の説明図である。図5の入力補助ツール10は、テスト対象アプリ指定部22、オブジェクト操作受付部24、オブジェクト情報処理部26及びテストシナリオ出力部28を有する構成である。
<< Details of step S11 >>
FIG. 5 is an explanatory diagram of an example of the test scenario setting process using the input assist tool. The input assist tool 10 of FIG. 5 has a configuration including a test target application designation unit 22, an object operation reception unit 24, an object information processing unit 26, and a test scenario output unit 28.

テスト対象アプリ指定部22は例えば図6(A)に示すようなテスト対象アプリ12の画面(テスト対象画面1000)を指定する。また、テストシナリオ出力部28は図6(B)に示すようなテストシナリオ画面1100の表示を制御する。図6はテスト対象画面及びテストシナリオ画面の一例のイメージ図である。 The test target application designation unit 22 specifies, for example, the screen of the test target application 12 (test target screen 1000) as shown in FIG. 6 (A). Further, the test scenario output unit 28 controls the display of the test scenario screen 1100 as shown in FIG. 6 (B). FIG. 6 is an image diagram of an example of the test target screen and the test scenario screen.

オブジェクト操作受付部24は例えば図6(A)に示すテスト対象画面1000に表示されている入力欄への入力やボタンのクリックなどの操作(オブジェクト操作)をユーザから受け付ける。図6(A)のテスト対象画面は「ユーザID:」の入力欄1001に対してユーザが「f000001」を入力した例を示している。 The object operation receiving unit 24 receives, for example, an operation (object operation) such as input to the input field displayed on the test target screen 1000 shown in FIG. 6A and click of a button from the user. The test target screen of FIG. 6A shows an example in which the user inputs "f000001" to the input field 1001 of "user ID:".

オブジェクト情報処理部26はテスト対象画面1000をキャプチャすることで、テスト対象画面1000に表示された入力欄やボタンなどのオブジェクトに関する情報を取得する。オブジェクトに関する情報は、オブジェクトのID、オブジェクトのタイプ、オブジェクトの画面上の位置情報、オブジェクトの入力値などである。なお、テスト対象画面1000に表示されたオブジェクトはIDが振られていない場合もある。IDが振られていないオブジェクトの場合は、オブジェクトに関する情報にオブジェクトのIDが含まれていない。 By capturing the test target screen 1000, the object information processing unit 26 acquires information about objects such as input fields and buttons displayed on the test target screen 1000. Information about the object includes the ID of the object, the type of the object, the position information of the object on the screen, the input value of the object, and the like. The object displayed on the test target screen 1000 may not have an ID assigned. In the case of an object for which an ID has not been assigned, the ID of the object is not included in the information about the object.

オブジェクト情報処理部26は、取得したオブジェクトに関する情報にオブジェクトのIDが含まれていなければ、独自ルールでIDを決め、そのIDをオブジェクトに付与する。オブジェクト情報処理部26が利用する独自ルールは、画面の構造(オブジェクトの配置順など)が同じであれば、画面のサイズ、画面を表示する情報処理装置1の種類又は画面の構造について記述するプログラミング言語等の違いに関わらず、同一のIDに決まるルールである。例えばオブジェクト情報処理部26が利用する独自ルールでは、一意に定まる識別子になるようにIDを採番する。また、オブジェクト情報処理部26が利用する独自ルールでは、オブジェクトのタイプごとの連番となるようにIDを採番してもよく、全体連番となるようにIDを採番してもよい。さらに、オブジェクト情報処理部26が利用する独自ルールでは、複数のオブジェクトに紛らわしいIDが採番されていた場合、区別が付くようにIDの末尾に別途、識別子を付与することもできる。なお、独自ルールの詳細は後述する。 If the acquired information about the object does not include the ID of the object, the object information processing unit 26 determines the ID according to its own rule and assigns the ID to the object. The original rule used by the object information processing unit 26 is programming that describes the size of the screen, the type of the information processing device 1 that displays the screen, or the structure of the screen if the screen structure (object arrangement order, etc.) is the same. It is a rule that the same ID is determined regardless of the difference in language and the like. For example, in the original rule used by the object information processing unit 26, the ID is numbered so as to be a uniquely determined identifier. Further, in the original rule used by the object information processing unit 26, the ID may be numbered so as to be a serial number for each object type, or the ID may be numbered so as to be a total serial number. Further, in the original rule used by the object information processing unit 26, when a confusing ID is assigned to a plurality of objects, an identifier can be separately added to the end of the ID so as to distinguish them. The details of the original rule will be described later.

テストシナリオ出力部28はオブジェクト操作受付部24が受け付けたオブジェクト操作に基づくテストシナリオを例えば図6(B)のようにテストシナリオ画面1100に表示する。図6(B)のテストシナリオ画面1100は、オブジェクト情報処理部26が取得したオブジェクトに関する情報にオブジェクトのIDが含まれていた場合の例である。 The test scenario output unit 28 displays a test scenario based on the object operation received by the object operation reception unit 24 on the test scenario screen 1100 as shown in FIG. 6B, for example. The test scenario screen 1100 of FIG. 6B is an example in which the object ID is included in the information about the object acquired by the object information processing unit 26.

図6(B)のテストシナリオ画面1100に表されたテストシナリオはID「loginUserId」が付与されているオブジェクトに値「f000001」を入力する操作が設定されたものである。 In the test scenario shown on the test scenario screen 1100 of FIG. 6B, an operation of inputting the value "f000001" to the object to which the ID "loginUserId" is assigned is set.

一方、オブジェクト情報処理部26が取得したオブジェクトに関する情報にオブジェクトのIDが含まれていなかった場合、テストシナリオ出力部28はオブジェクト操作受付部24が受け付けたオブジェクト操作に基づくテストシナリオを例えば図7(B)のようにテストシナリオ画面1200に表示する。図7はオブジェクトに関する情報にオブジェクトのIDが含まれていなかった場合のテストシナリオ画面の一例のイメージ図である。 On the other hand, when the information about the object acquired by the object information processing unit 26 does not include the object ID, the test scenario output unit 28 sets the test scenario based on the object operation received by the object operation reception unit 24, for example, FIG. 7 ( It is displayed on the test scenario screen 1200 as shown in B). FIG. 7 is an image diagram of an example of a test scenario screen when the ID of the object is not included in the information about the object.

図7(A)のオブジェクトに関する情報は、name属性及びid属性の値が設定されていない。そこで、オブジェクト情報処理部26は独自ルールでID「.1」を決め、そのIDをオブジェクトに付与する。結果として、図7(B)のテストシナリオ画面1200に表されたテストシナリオは、ID「.1」が付与されているオブジェクトに値「f000001」を入力する操作が設定されたものとなる。 In the information about the object of FIG. 7A, the values of the name attribute and the id attribute are not set. Therefore, the object information processing unit 26 determines the ID ".1" according to its own rule, and assigns the ID to the object. As a result, in the test scenario shown on the test scenario screen 1200 of FIG. 7B, the operation of inputting the value "f000001" to the object to which the ID ".1" is assigned is set.

図8は、入力補助ツールを利用したテストシナリオ設定処理の一例のフローチャートである。ステップS31において、ユーザは例えば図6(A)に示すテスト対象画面1000の入力欄1001に「f000001」を入力したあと、テストシナリオ作成指示のための操作(例えば入力欄1001の位置にマウスカーソルを移動して「Ctrl+Shift+z」キーを押下するなど)を行う。入力補助ツール10のオブジェクト操作受付部24はオブジェクトを指定したテストシナリオ作成指示のための操作を受け付ける。 FIG. 8 is a flowchart of an example of the test scenario setting process using the input assist tool. In step S31, for example, after inputting "f000001" in the input field 1001 of the test target screen 1000 shown in FIG. 6A, the user moves the mouse cursor to the position of the test scenario creation instruction (for example, the position of the input field 1001). Move and press the "Ctrl + Shift + z" key, etc.). The object operation reception unit 24 of the input assist tool 10 accepts an operation for instructing the creation of a test scenario in which an object is specified.

ステップS32に進み、入力補助ツール10のオブジェクト情報処理部26はテストシナリオ作成指示のための操作を受け付けたオブジェクト(例えば入力欄1001)に関する情報を取得する。ステップS33に進み、オブジェクト情報処理部26はオブジェクトに関する情報からオブジェクトのタイプ(ButtonやText等)を取得し、オブジェクトのタイプに応じた操作とオブジェクトの入力値とを決定する。 Proceeding to step S32, the object information processing unit 26 of the input assist tool 10 acquires information about the object (for example, the input field 1001) that has received the operation for the test scenario creation instruction. Proceeding to step S33, the object information processing unit 26 acquires an object type (Button, Text, etc.) from the information about the object, and determines an operation according to the object type and an input value of the object.

ステップS34に進み、オブジェクト情報処理部26はステップS32で取得したオブジェクトに関する情報に基づき、テストシナリオ作成指示のための操作を受け付けたオブジェクトにIDが振られている(付与されている)か否かを判定する。テストシナリオ作成指示のための操作を受け付けたオブジェクトにIDが振られていれば、テストシナリオ出力部28はステップS35に進み、項目ID列にIDを指定、かつ、ステップS33で決定した操作及びオブジェクトの入力値を操作列及び値列に指定する。そして、テストシナリオ出力部28は図6(B)に示すテストシナリオ画面1100を表示する。 Proceeding to step S34, the object information processing unit 26 determines whether or not an ID is assigned (assigned) to the object that has received the operation for the test scenario creation instruction based on the information about the object acquired in step S32. To judge. If an ID is assigned to the object that has received the operation for the test scenario creation instruction, the test scenario output unit 28 proceeds to step S35, specifies the ID in the item ID column, and the operation and object determined in step S33. Specify the input value of in the operation column and value column. Then, the test scenario output unit 28 displays the test scenario screen 1100 shown in FIG. 6 (B).

テストシナリオ作成指示のための操作を受け付けたオブジェクトにIDが振られていなければ、オブジェクト情報処理部26はステップS36に進み、テスト対象アプリ12の画面に表示されている全てのオブジェクトに関する情報と位置情報(相対座標)を取得する。ステップS37に進み、オブジェクト情報処理部26はステップS36で取得したオブジェクトから採番対象のオブジェクトを決定する。例えばオブジェクト情報処理部26は予めIDありのオブジェクトを採番対象として含めてもよいし、採番対象から削除するようにしてもよい。 If no ID is assigned to the object that has received the operation for creating the test scenario, the object information processing unit 26 proceeds to step S36, and the information and position regarding all the objects displayed on the screen of the test target application 12 are displayed. Get information (relative coordinates). Proceeding to step S37, the object information processing unit 26 determines the object to be numbered from the objects acquired in step S36. For example, the object information processing unit 26 may include an object having an ID in advance as a numbering target, or may delete the object from the numbering target.

例えばオブジェクト情報処理部26は、予めIDありのオブジェクトを含め、全てのオブジェクトを採番対象とする。オブジェクト情報処理部26は予めIDありのオブジェクトの予めのIDを退避用のキャッシュ(一時領域)に退避させておく。 For example, the object information processing unit 26 targets all objects, including objects having an ID in advance, for numbering. The object information processing unit 26 saves the advance ID of the object having an ID in the cache (temporary area) for saving in advance.

ステップS38に進み、オブジェクト情報処理部26は例えばX軸、Y軸の順で優先順位を決め、採番対象のオブジェクトのタイプごとに採番を行う。採番後、オブジェクト情報処理部26は退避用のキャッシュ(一時領域)に退避させておいた、予めIDを予めIDありのオブジェクトに採用する。 Proceeding to step S38, the object information processing unit 26 determines priorities in the order of, for example, the X-axis and the Y-axis, and performs numbering for each type of object to be numbered. After the numbering, the object information processing unit 26 adopts the ID saved in the cache (temporary area) for saving in advance for the object having the ID in advance.

例えばオブジェクト情報処理部26は予めID「なし」、「Login」及び「なし」のオブジェクトに一旦「.1」「.2」「.3」を採番し、退避させておいた予めID「Login」を適用することで、「.1」「Login」「.3」のIDを採用できる。 For example, the object information processing unit 26 assigns ".1", ".2", and ".3" to the objects with IDs "None", "Login", and "None" in advance, and saves them in advance with the ID "Login". By applying ".1", ".1", "Login", and ".3" IDs can be adopted.

また、オブジェクト情報処理部26はステップS36で取得したオブジェクトのうち、予めIDありのオブジェクトを採番対象から削除してもよい。この場合、オブジェクト情報処理部26は予めID「Login」のオブジェクトを採番対象から除外し、予めID「なし」のオブジェクトに「.1」「.2」を採番することで、「.1」「Login」「.2」のIDを採用できる。また、オブジェクト情報処理部26は予めIDの列とステップS38で採番したIDの列とを両方設け、別の項目IDとして扱うようにしてもよい。この場合は、画面テスト実行時に予めIDが変わっていた場合などに、採番したIDを利用できる。 Further, the object information processing unit 26 may delete the object having an ID in advance from the numbering targets among the objects acquired in step S36. In this case, the object information processing unit 26 excludes the object with the ID "Login" from the numbering target in advance, and assigns ".1" and ".2" to the object with the ID "none" in advance to obtain ".1". "Login" ".2" ID can be adopted. Further, the object information processing unit 26 may provide both an ID column and an ID column numbered in step S38 in advance and treat them as different item IDs. In this case, the numbered ID can be used when the ID has changed in advance when the screen test is executed.

ステップS39に進み、テストシナリオ出力部28は項目ID列にステップS38で採番したIDを指定、かつ、ステップS33で決定した操作及びオブジェクトの入力値を操作列及び値列に指定する。そして、テストシナリオ出力部28は図7(B)に示すテストシナリオ画面1200を表示する。ユーザは図8の入力補助ツールを利用したテストシナリオ設定処理を1回以上行うことによりテストシナリオを設定できる。 Proceeding to step S39, the test scenario output unit 28 designates the ID numbered in step S38 in the item ID column, and specifies the input value of the operation and the object determined in step S33 in the operation column and the value string. Then, the test scenario output unit 28 displays the test scenario screen 1200 shown in FIG. 7B. The user can set the test scenario by performing the test scenario setting process using the input assist tool of FIG. 8 one or more times.

《ステップS12及びS13の詳細》
図9は画面テスト実行処理及びテスト結果出力処理の一例の説明図である。図9の画面テストツール14は、テストシナリオ設定受付部52、テスト実行要求処理部54及びテスト結果出力部56を有する構成である。
<< Details of Steps S12 and S13 >>
FIG. 9 is an explanatory diagram of an example of the screen test execution process and the test result output process. The screen test tool 14 of FIG. 9 has a configuration including a test scenario setting reception unit 52, a test execution request processing unit 54, and a test result output unit 56.

テストシナリオ設定受付部52は例えば図10に示すようなテストシナリオ設定画面1300の表示を制御する。図10はテストシナリオ設定画面の一例のイメージ図である。テストシナリオ設定受付部52は例えば図10のテストシナリオ設定画面1300へのテストシナリオ設定操作をユーザから受け付ける。なお、ユーザは図6(B)に示したテストシナリオ画面1100又は図7(B)に示したテストシナリオ画面1200に表示されたテストシナリオをコピーし、テストシナリオ設定画面1300に貼り付けることで、テストシナリオ設定操作を行ってもよい。 The test scenario setting reception unit 52 controls the display of the test scenario setting screen 1300 as shown in FIG. 10, for example. FIG. 10 is an image diagram of an example of the test scenario setting screen. The test scenario setting reception unit 52 receives, for example, a test scenario setting operation on the test scenario setting screen 1300 of FIG. 10 from the user. The user can copy the test scenario displayed on the test scenario screen 1100 shown in FIG. 6B or the test scenario screen 1200 shown in FIG. 7B and paste it on the test scenario setting screen 1300. You may perform a test scenario setting operation.

テスト実行要求処理部54は、例えば図10のテストシナリオ設定画面1300のテスト実行ボタン1302の押下など、ユーザから画面テスト実行の指示を受け付ける。テスト実行要求処理部54はライブラリ62のデータを読み出し、テストシナリオに従ったテストコードを生成する。テスト実行要求処理部54は生成したテストコードをコンパイルする。 The test execution request processing unit 54 receives an instruction for screen test execution from the user, such as pressing the test execution button 1302 on the test scenario setting screen 1300 of FIG. The test execution request processing unit 54 reads the data in the library 62 and generates a test code according to the test scenario. The test execution request processing unit 54 compiles the generated test code.

テスト実行要求処理部54はコンパイルした画面テストモジュールを実行することで、テストシナリオに従った画面テストを行う。テスト結果出力部56はテスト対象アプリ12への画面テストの結果(テスト結果画像ファイル64やテスト結果レポート66など)を出力する。 The test execution request processing unit 54 executes the compiled screen test module to perform a screen test according to the test scenario. The test result output unit 56 outputs the result of the screen test (test result image file 64, test result report 66, etc.) to the test target application 12.

なお、テスト実行要求処理部54が行う画面テストは、様々なテストシナリオに基づくテストが想定されるが、ここではユーザIDとパスワードとをログイン画面に入力し、検索画面に検索条件を入力し、検索結果画面で検索結果を確認する例を説明する。 The screen test performed by the test execution request processing unit 54 is assumed to be a test based on various test scenarios. Here, the user ID and password are input to the login screen, and the search conditions are input to the search screen. An example of checking the search result on the search result screen will be described.

図11はログイン画面の一例のイメージ図である。図12は検索画面の一例のイメージ図である。図13は検索結果画面の一例のイメージ図である。例えばテスト実行要求処理部54は図10に表示されているテストシナリオに基づき、画面テストを行う。テスト実行要求処理部54は図11のログイン画面にユーザIDとパスワードとを入力してログインボタンのクリック操作を行うことで図12の検索画面に遷移させる。 FIG. 11 is an image diagram of an example of the login screen. FIG. 12 is an image diagram of an example of the search screen. FIG. 13 is an image diagram of an example of the search result screen. For example, the test execution request processing unit 54 performs a screen test based on the test scenario displayed in FIG. The test execution request processing unit 54 transitions to the search screen of FIG. 12 by inputting the user ID and password on the login screen of FIG. 11 and clicking the login button.

テスト実行要求処理部54は図12の検索画面のクリアボタンをクリックし、対象月度のドロップダウンから「2017/01」を選択し、氏名「1」を入力することで検索条件を入力し、検索ボタンのクリック操作を行うことでテスト対象アプリ12に検索を実行させることで、図13の検索結果画面に遷移させる。 The test execution request processing unit 54 clicks the clear button on the search screen of FIG. 12, selects "2017/01" from the dropdown of the target month, inputs the name "1", inputs the search condition, and searches. By causing the test target application 12 to execute the search by clicking the button, the screen transitions to the search result screen shown in FIG.

テスト実行要求処理部54は図13の検索結果画面に表示された検索結果の項目の値に「100001」が含まれているか否かを検証する。図10のテストシナリオは検証項目の一例として「あいまい検証」の例が示されている。検証項目は、画面テストの結果が正しいか否かの検証に使用される情報の一例である。 The test execution request processing unit 54 verifies whether or not "100001" is included in the value of the search result item displayed on the search result screen of FIG. In the test scenario of FIG. 10, an example of "fuzzy verification" is shown as an example of verification items. The verification item is an example of information used for verifying whether or not the result of the screen test is correct.

全てのテストシナリオが終了すると、テスト結果出力部56は例えば図14のようなテスト結果レポート66を画面に表示する。図14はテスト結果レポートが表示された画面の一例のイメージ図である。図14のテスト結果レポート66は画面テストごとにテスト結果が表示される。テスト結果レポート66はテストシナリオのどこで失敗したかを表示する。また、本件実施形態はテストシナリオが表形式であるため(例えば、失敗時のレポートに「仕様書の9行目」(図14参照)とあれば、表形式のテストシナリオの9行目を見れば済み)、失敗箇所を追いやすいというメリットもある。図14の「画面テストB」の画面テストは、画面テストの結果が正しくなかった場合の例を表しており、正しくない理由が記載されている。また、図14のテスト結果レポート66はテスト結果画像を表示する画面へのリンク67を設け、そのリンク67がクリックされた場合に、テスト結果画像ファイル64を表示する。なお、テスト結果レポート66はリンク67がクリックされた場合、失敗時のテスト結果画像ファイル64だけでなく、成功時のテスト結果画像ファイル64、又は、失敗時及び成功時のテスト結果画像ファイル64、を一覧表示してもよい。 When all the test scenarios are completed, the test result output unit 56 displays the test result report 66 as shown in FIG. 14, for example, on the screen. FIG. 14 is an image diagram of an example of a screen on which the test result report is displayed. In the test result report 66 of FIG. 14, the test result is displayed for each screen test. The test result report 66 shows where in the test scenario it failed. In addition, since the test scenario in this embodiment is in tabular format (for example, if the report at the time of failure says "9th line of the specification" (see Fig. 14), see the 9th line of the tabular test scenario. It has the advantage that it is easy to follow the failed part. The screen test of "Screen test B" in FIG. 14 shows an example when the result of the screen test is not correct, and the reason why it is not correct is described. Further, the test result report 66 of FIG. 14 is provided with a link 67 to a screen for displaying the test result image, and when the link 67 is clicked, the test result image file 64 is displayed. When the link 67 is clicked, the test result report 66 shows not only the test result image file 64 at the time of failure, but also the test result image file 64 at the time of success, or the test result image file 64 at the time of failure and success. May be displayed in a list.

また、図15は画面テスト実行処理及びテスト結果出力処理の一例のフローチャートである。ステップS51においてテスト実行要求処理部54は、例えば図10のテストシナリオ設定画面1300のテスト実行ボタン1302の押下など、ユーザから画面テスト実行の指示を受け付ける。 Further, FIG. 15 is a flowchart of an example of the screen test execution process and the test result output process. In step S51, the test execution request processing unit 54 receives an instruction to execute the screen test from the user, such as pressing the test execution button 1302 on the test scenario setting screen 1300 of FIG.

ステップS52に進み、テスト実行要求処理部54はテストシナリオで指定された項目IDを使ってテスト対象アプリ12の画面に表示されているオブジェクトを取得できるか否かを判定する。取得できなければテスト実行要求処理部54はテストシナリオの項目IDに指定されている値を、入力補助ツール10によって採番された番号(第1の識別情報)と判断する。また、テスト実行要求処理部54はテスト対象アプリ12の画面から全てのオブジェクトに関する情報と、その相対座標を取得する。ステップS54に進み、テスト実行要求処理部54はステップS53で取得したオブジェクトから採番対象のオブジェクトを決定する。例えばオブジェクト情報処理部26は図8のステップS37と同様に、予めIDありのオブジェクトを採番対象として含めてもよいし、採番対象から削除するようにしてもよい。 Proceeding to step S52, the test execution request processing unit 54 determines whether or not the object displayed on the screen of the test target application 12 can be acquired using the item ID specified in the test scenario. If it cannot be acquired, the test execution request processing unit 54 determines that the value specified for the item ID of the test scenario is the number assigned by the input assist tool 10 (first identification information). Further, the test execution request processing unit 54 acquires information on all objects and their relative coordinates from the screen of the test target application 12. Proceeding to step S54, the test execution request processing unit 54 determines the object to be numbered from the objects acquired in step S53. For example, the object information processing unit 26 may include an object having an ID in advance as a numbering target, or may delete the object from the numbering target, as in step S37 of FIG.

ステップS55に進み、テスト実行要求処理部54は入力補助ツール10の採番ルールと同様に、例えばX軸、Y軸の順で優先順位を決め、オブジェクトのタイプごとの採番を行う。ステップS56に進み、テスト実行要求処理部54はテストシナリオの項目IDに指定されている値(第1の識別情報又は第2の識別情報)を基に、ステップS55で採番した番号(第1の識別情報)のうち、番号が一致するものを特定し、ステップS57に進む。なお、ステップS52において、テストシナリオで指定された項目IDを使ってテスト対象アプリ12の画面に表示されているオブジェクトを特定できれば、テスト実行要求処理部54はステップS57に進む。 Proceeding to step S55, the test execution request processing unit 54 determines priorities in the order of, for example, the X-axis and the Y-axis in the same manner as the numbering rule of the input assist tool 10, and performs numbering for each object type. Proceeding to step S56, the test execution request processing unit 54 uses the number (first) assigned in step S55 based on the value (first identification information or second identification information) specified in the item ID of the test scenario. Of the identification information), the ones having the same numbers are identified, and the process proceeds to step S57. If the object displayed on the screen of the test target application 12 can be specified by using the item ID specified in the test scenario in step S52, the test execution request processing unit 54 proceeds to step S57.

ステップS57において、テスト実行要求処理部54は特定できたオブジェクトに対してテストシナリオで指定された操作または検証と値とを使用して実操作処理(クリックや入力など)を行う。ステップS58に進み、テスト結果出力部56はテスト対象アプリ12の画面のテスト結果画像ファイル64を保存する。ステップS58に進み、テスト結果出力部56はテストシナリオが終了したか否かを判定する。ステップS52〜S59の処理はテストシナリオが終了するまで繰り返し行われる。テストシナリオが終了したと判定すると、テスト結果出力部56はステップS60に進み、各操作や検証が正しかったか否かを例えばHTMLのテスト結果レポート66として出力する。 In step S57, the test execution request processing unit 54 performs an actual operation process (click, input, etc.) on the identified object by using the operation or verification and the value specified in the test scenario. Proceeding to step S58, the test result output unit 56 saves the test result image file 64 of the screen of the test target application 12. Proceeding to step S58, the test result output unit 56 determines whether or not the test scenario is completed. The processes of steps S52 to S59 are repeated until the test scenario is completed. When it is determined that the test scenario is completed, the test result output unit 56 proceeds to step S60 and outputs whether or not each operation or verification is correct, for example, as an HTML test result report 66.

以上、本実施形態によれば、アプリケーションパッケージの改修や、マイグレーション案件における繰り返し画面テストや、新旧比較の画面テスト等において、画面のサイズ、画面を表示する情報処理装置1の種類又は画面の構造について記述するプログラミング言語の違いに依存しない汎用性の高いテストシナリオの作成と、そのテストシナリオによる画面テストとを実現できる。 As described above, according to the present embodiment, the screen size, the type of the information processing device 1 for displaying the screen, or the screen structure in the renovation of the application package, the repeated screen test in the migration project, the screen test comparing old and new, and the like. It is possible to create a highly versatile test scenario that does not depend on the difference in the programming language to be described, and to perform a screen test using that test scenario.

なお、マイグレーション案件は、ソフトウェアやシステム、データなどを別の環境に移転したり、新しい環境に切り替えたりする案件である。マイグレーション案件は、マイグレーション作業前とマイグレーション作業後とでユーザの操作感が変わらないように画面の構造が同じになる場合が多い。 A migration project is a project for transferring software, systems, data, etc. to another environment or switching to a new environment. In many cases, the screen structure of a migration project is the same so that the user's operability does not change before and after the migration work.

したがって、マイグレーション案件では、マイグレーション作業前とマイグレーション作業後とでテストシナリオに変化が無い場合が多く、マイグレーション作業前の画面でテストシナリオを作成しておき、そのテストシナリオをマイグレーション作業後の画面テストで利用できる。このように、本実施形態はマイグレーション案件など、同じ画面テストを繰り返し行うような場合に、特に優れた効果を奏する。また、本実施形態はテストシナリオが表形式で表示されるので、テストシナリオの修正が容易であるという優れた効果も奏する。 Therefore, in migration projects, there are many cases where there is no change in the test scenario before and after the migration work, so create a test scenario on the screen before the migration work and use that test scenario in the screen test after the migration work. Available. As described above, this embodiment is particularly effective when the same screen test is repeated, such as in a migration project. In addition, since the test scenarios are displayed in a table format in this embodiment, the excellent effect that the test scenarios can be easily modified is also obtained.

[その他の実施形態]
上記した第1の実施形態では、図1(A)の画面テストシステムの場合の例を説明したが図1(B)の画面テストシステムであってもよい。
[Other Embodiments]
In the first embodiment described above, an example in the case of the screen test system of FIG. 1 (A) has been described, but the screen test system of FIG. 1 (B) may be used.

本発明は、具体的に開示された上記の実施形態に限定されるものではなく、特許請求の範囲から逸脱することなく、種々の変形や変更が可能である。なお、本実施形態で説明した画面テストシステムは一例であって、用途や目的に応じて様々なシステム構成例があることは言うまでもない。なお、特許請求の範囲に記載した「テスト手順作成指示のための操作」は第1の実施形態の「テストシナリオ作成指示のための操作」に相当し、ステップS31で例示した入力欄1001の位置にマウスカーソルを移動して「Ctrl+Shift+z」キーを押下する操作の他、入力欄への入力やボタンのクリックなどの操作(オブジェクト操作)であってもよい。 The present invention is not limited to the above-described embodiments specifically disclosed, and various modifications and modifications can be made without departing from the scope of claims. It goes without saying that the screen test system described in this embodiment is an example, and there are various system configuration examples depending on the application and purpose. The "operation for instruction to create a test procedure" described in the claims corresponds to the "operation for instruction to create a test scenario" of the first embodiment, and the position of the input field 1001 exemplified in step S31. In addition to the operation of moving the mouse cursor to and pressing the "Ctrl + Shift + z" key, an operation (object operation) such as inputting to an input field or clicking a button may be performed.

1,2,3 情報処理装置
4 ネットワーク
10 入力補助ツール
12 テスト対象アプリ
14 画面テストツール
22 テスト対象アプリ指定部
24 オブジェクト操作受付部
26 オブジェクト情報処理部
28 テストシナリオ出力部
52 テストシナリオ設定受付部
54 テスト実行要求処理部
56 テスト結果出力部
62 ライブラリ
64 テスト結果画像ファイル
66 テスト結果レポート
1000 テスト対象画面
1100,1200 テストシナリオ画面
1300 テストシナリオ設定画面
1302 テスト実行ボタン
1, 2, 3 Information processing device 4 Network 10 Input assist tool 12 Test target application 14 Screen test tool 22 Test target application specification unit 24 Object operation reception unit 26 Object information processing unit 28 Test scenario output unit 52 Test scenario setting reception unit 54 Test execution request processing unit 56 Test result output unit 62 Library 64 Test result image file 66 Test result report 1000 Test target screen 1100, 1200 Test scenario screen 1300 Test scenario setting screen 1302 Test execution button

Claims (9)

コンピュータに、
テスト対象の第1の画面に表示されているオブジェクトを指定したテスト手順作成指示のための操作をユーザから受け付ける受付ステップ、
前記第1の画面に表示されているオブジェクトに第2の識別情報が設定されていない場合に、前記第1の画面に表示されているオブジェクトの位置情報を取得し、前記位置情報により決めた順位に従って前記オブジェクトに採番を行い、採番した第1の識別情報を前記オブジェクトに設定する設定ステップ、
前記第1の識別情報又は前記第2の識別情報が前記オブジェクトの特定情報として指定されている1つ以上の前記オブジェクトに対するテスト手順を前記オブジェクトに対する操作内容から作成する作成ステップ、
前記第1の画面と同じ構造であって、前記第1の画面で作成された前記テスト手順で画面テストを行うことが可能なテスト対象の第2の画面を表示し、前記テスト手順で指定された前記特定情報により前記第2の画面に表示されているオブジェクトを特定できれば、前記第2の識別情報が前記オブジェクトの特定情報として指定されている前記テスト手順に従って前記第2の画面の画面テストを行い、前記特定情報により前記オブジェクトを特定できなければ、前記設定ステップと同様に前記第2の画面に表示されているオブジェクトに採番を行い、採番した第1の識別情報を前記オブジェクトに設定し、前記第1の識別情報が前記オブジェクトの特定情報として指定されている前記テスト手順に従って前記第2の画面の画面テストを行う実行ステップ、
を実行させるためのプログラム。
On the computer
A reception step that accepts from the user an operation for creating a test procedure that specifies the object displayed on the first screen to be tested.
When the second identification information is not set for the object displayed on the first screen, the position information of the object displayed on the first screen is acquired, and the order determined by the position information is obtained. A setting step in which the object is numbered according to the above and the numbered first identification information is set in the object.
A creation step of creating a test procedure for one or more objects for which the first identification information or the second identification information is designated as specific information for the object from the operation contents for the object.
A second screen to be tested, which has the same structure as the first screen and can be screen-tested by the test procedure created on the first screen, is displayed and designated by the test procedure. wherein if a particular object displayed in the second screen by the specific information, the second identification information screen test before Symbol second screen in accordance with the test procedure that is specified as the specific information of the object was carried out, to be able to identify the object by the specifying information, performs numbering to object displayed before Symbol second screen similarly to the setting step, the first identification information numbered objects execution step of setting, the first identification information is a screen test before Symbol second screen in accordance with the test procedure that is specified as the specific information of the object,
A program to execute.
前記作成ステップは、前記第1の画面に表示されているオブジェクトを指定したテスト手順作成指示のための操作をユーザから受け付けると、前記オブジェクトのタイプに応じた操作、及び前記オブジェクトに入力されている値を前記操作内容として出力して、前記オブジェクトに対するテスト手順の作成を補助すること
を特徴とする請求項1記載のプログラム。
The creation step, when receiving an operation for pre-Symbol test procedure generation instruction specifying an object displayed on the first screen the user, the operation for the type of the object, and is input to the object The program according to claim 1, wherein the value is output as the operation content to assist the creation of a test procedure for the object.
前記作成ステップは、前記オブジェクトに対するテスト手順の作成に必要な前記オブジェクトのタイプに応じた操作、及び前記オブジェクトに入力される値を前記操作内容として、表形式でユーザに入力又は修正させること
を特徴とする請求項2記載のプログラム。
The creation step is characterized in that an operation according to the type of the object required for creating a test procedure for the object, and a value input to the object as the operation content are input or modified by a user in a tabular format. The program according to claim 2.
前記設定ステップは、前記第1の画面の構造が前記第2の画面の構造と同様であれば、前記第1及び第2の画面のサイズの違い、前記第1及び第2の画面を表示する前記コンピュータの種類の違い、又は、前記第1及び第2の画面の構造について記述するプログラミング言語の違い、に関わらず、前記位置情報により決めた順位が前記実行ステップと同じとなること
を特徴とする請求項1乃至3何れか一項記載のプログラム。
The setting step displays the difference in size between the first and second screens and the first and second screens if the structure of the first screen is similar to the structure of the second screen. The feature is that the order determined by the position information is the same as the execution step regardless of the difference in the type of the computer or the difference in the programming language that describes the structure of the first and second screens. The program according to any one of claims 1 to 3.
前記設定ステップで前記位置情報を取得する前記オブジェクトが表示されている前記第1の画面は、マイグレーション作業前の画面であり、前記実行ステップで前記画面テストを行う前記第2の画面は、マイグレーション作業後の画面であること
を特徴とする請求項1乃至4何れか一項記載のプログラム。
The setting before Symbol first screen the object is displayed to acquire the position information in step is a screen before the migration process, the screen before Symbol second screen testing in the executing step, The program according to any one of claims 1 to 4, wherein the screen is a screen after migration work.
前記設定ステップは、前記オブジェクトに設定した前記第1の識別情報の末尾に別途、識別子を付与できること
を特徴とする請求項1乃至5何れか一項記載のプログラム。
The program according to any one of claims 1 to 5, wherein the setting step can separately add an identifier to the end of the first identification information set in the object.
前記コンピュータに、前記画面テストの結果を出力する出力ステップ、を更に実行させ、前記出力ステップは、表形式で表される前記テスト手順の成功時又は失敗時の少なくとも一方の画面データを一覧表示させるリンクを、前記画面テストの結果画面に表示すること
を特徴とする請求項1乃至6何れか一項記載のプログラム。
The computer is further executed with an output step for outputting the result of the screen test, and the output step lists at least one screen data of success or failure of the test procedure represented in a tabular format. The program according to any one of claims 1 to 6, wherein the link is displayed on the result screen of the screen test.
テスト対象の第1の画面に表示されているオブジェクトを指定したテスト手順作成指示のための操作をユーザから受け付ける受付手段と、
前記第1の画面に表示されているオブジェクトに第2の識別情報が設定されていない場合に、前記第1の画面に表示されているオブジェクトの位置情報を取得し、前記位置情報により決めた順位に従って前記オブジェクトに採番を行い、採番した第1の識別情報を前記オブジェクトに設定する設定手段と、
前記第1の識別情報又は前記第2の識別情報が前記オブジェクトの特定情報として指定されている1つ以上の前記オブジェクトに対するテスト手順を前記オブジェクトに対する操作内容から作成する作成手段と、
前記第1の画面と同じ構造であって、前記第1の画面で作成された前記テスト手順で画面テストを行うことが可能なテスト対象の第2の画面を表示し、前記テスト手順で指定された前記特定情報により前記第2の画面に表示されているオブジェクトを特定できれば、前記第2の識別情報が前記オブジェクトの特定情報として指定されている前記テスト手順に従って前記第2の画面の画面テストを行い、前記特定情報により前記オブジェクトを特定できなければ、前記設定手段と同様に前記第2の画面に表示されているオブジェクトに採番を行い、採番した第1の識別情報を前記オブジェクトに設定し、前記第1の識別情報が前記オブジェクトの特定情報として指定されている前記テスト手順に従って前記第2の画面の画面テストを行う実行手段と、
を有する情報処理装置。
A reception means that accepts from the user an operation for instructing the creation of a test procedure that specifies the object displayed on the first screen to be tested, and
When the second identification information is not set for the object displayed on the first screen, the position information of the object displayed on the first screen is acquired, and the order determined by the position information is obtained. The object is numbered according to the above, and the numbered first identification information is set in the object.
A creating means for creating a test procedure for one or more objects in which the first identification information or the second identification information is designated as specific information for the object from the operation contents for the object.
A second screen to be tested, which has the same structure as the first screen and can be screen-tested by the test procedure created on the first screen, is displayed and designated by the test procedure. wherein if a particular object displayed in the second screen by the specific information, the second identification information screen test before Symbol second screen in accordance with the test procedure that is specified as the specific information of the object was carried out, to be able to identify the object by the specifying information, performs numbering the objects displayed in the same manner before Symbol second screen and the setting unit, wherein the first identification information numbered objects execution means for performing screen test before Symbol second screen in accordance with the test procedures set, the first identification information is specified as the specific information of the object,
Information processing device with.
一台以上の情報処理装置を有する画面テストシステムであって、
テスト対象の第1の画面に表示されているオブジェクトを指定したテスト手順作成指示のための操作をユーザから受け付ける受付手段と、
前記第1の画面に表示されているオブジェクトに第2の識別情報が設定されていない場合に、前記第1の画面に表示されているオブジェクトの位置情報を取得し、前記位置情報により決めた順位に従って前記オブジェクトに採番を行い、採番した第1の識別情報を前記オブジェクトに設定する設定手段と、
前記第1の識別情報又は前記第2の識別情報が前記オブジェクトの特定情報として指定されている1つ以上の前記オブジェクトに対するテスト手順を前記オブジェクトに対する操作内容から作成する作成手段と、
前記第1の画面と同じ構造であって、前記第1の画面で作成された前記テスト手順で画面テストを行うことが可能なテスト対象の第2の画面を表示し、前記テスト手順で指定された前記特定情報により前記第2の画面に表示されているオブジェクトを特定できれば、前記第2の識別情報が前記オブジェクトの特定情報として指定されている前記テスト手順に従って前記第2の画面の画面テストを行い、前記特定情報により前記オブジェクトを特定できなければ、前記設定手段と同様に前記第2の画面に表示されているオブジェクトに採番を行い、採番した第1の識別情報を前記オブジェクトに設定し、前記第1の識別情報が前記オブジェクトの特定情報として指定されている前記テスト手順に従って前記第2の画面の画面テストを行う実行手段と、
を有する画面テストシステム。
A screen test system with one or more information processing devices
A reception means that accepts from the user an operation for instructing the creation of a test procedure that specifies the object displayed on the first screen to be tested, and
When the second identification information is not set for the object displayed on the first screen, the position information of the object displayed on the first screen is acquired, and the order determined by the position information is obtained. The object is numbered according to the above, and the numbered first identification information is set in the object.
A creating means for creating a test procedure for one or more objects in which the first identification information or the second identification information is designated as specific information for the object from the operation contents for the object.
A second screen to be tested, which has the same structure as the first screen and can be screen-tested by the test procedure created on the first screen, is displayed and designated by the test procedure. wherein if a particular object displayed in the second screen by the specific information, the second identification information screen test before Symbol second screen in accordance with the test procedure that is specified as the specific information of the object was carried out, to be able to identify the object by the specifying information, performs numbering the objects displayed in the same manner before Symbol second screen and the setting unit, wherein the first identification information numbered objects execution means for performing screen test before Symbol second screen in accordance with the test procedures set, the first identification information is specified as the specific information of the object,
Screen test system with.
JP2017239556A 2017-12-14 2017-12-14 Programs, information processing equipment and screen test systems Active JP6781688B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017239556A JP6781688B2 (en) 2017-12-14 2017-12-14 Programs, information processing equipment and screen test systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017239556A JP6781688B2 (en) 2017-12-14 2017-12-14 Programs, information processing equipment and screen test systems

Publications (2)

Publication Number Publication Date
JP2019106107A JP2019106107A (en) 2019-06-27
JP6781688B2 true JP6781688B2 (en) 2020-11-04

Family

ID=67061322

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017239556A Active JP6781688B2 (en) 2017-12-14 2017-12-14 Programs, information processing equipment and screen test systems

Country Status (1)

Country Link
JP (1) JP6781688B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102198462B1 (en) * 2019-12-09 2021-01-05 주식회사 티맥스소프트 Design remodeling testing method for remodeling text-based display design to thereby achieve graphic-based display design and design remodeling testing device using the same

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003044318A (en) * 2001-08-02 2003-02-14 Fujitsu Ltd Program and method for supporting test
JP5314438B2 (en) * 2009-01-19 2013-10-16 株式会社日立ソリューションズ Automatic regression test execution system
JP2010218231A (en) * 2009-03-17 2010-09-30 Fujitsu Ltd Test support program, test support method, and test support device
JP2013143044A (en) * 2012-01-11 2013-07-22 Fujitsu Ltd Program, information processing method and information processing apparatus

Also Published As

Publication number Publication date
JP2019106107A (en) 2019-06-27

Similar Documents

Publication Publication Date Title
WO2020233053A1 (en) Method, apparatus, device, and storage medium for making test page script
US9459994B2 (en) Mobile application testing systems and methods
US10853232B2 (en) Adaptive system for mobile device testing
US20090307665A1 (en) Method and system to automate software testing using sniffer side and browser side recording and a toolbar interface
JP2011060052A (en) Method for executing software test
JP6441786B2 (en) Test support apparatus, test support method, and program
CN115658529A (en) Automatic testing method for user page and related equipment
CN106970870B (en) Webpage test platform, webpage test method and webpage test system
JP5968451B2 (en) Computer system and program
JP6781688B2 (en) Programs, information processing equipment and screen test systems
JP4896909B2 (en) Scenario generation apparatus and program
JP4795404B2 (en) Operation verification apparatus and operation verification program
JP6551082B2 (en) Test support apparatus, test support method, and test support program
JP7277694B2 (en) Information processing device, its control method and program
JP7256353B2 (en) Information processing system, its control method and program
JP6739599B1 (en) Information processing program, information processing method, and information processing apparatus
JP7311740B2 (en) Information processing system, its control method, and program
JP2019106093A (en) Computer, method of reproducing log, and storage medium
JP2014067106A (en) Gui test device, gui test method and program
JP5746300B2 (en) User operation automation device
JP7219389B2 (en) Information processing device, its control method and program
JPH09223040A (en) System test supporting device for software and test scenario generator to be used for the same
JP7319516B2 (en) Program, information processing device, and control method thereof
JP7327471B2 (en) Test equipment, test method and program
JP7323755B2 (en) Information processing system, its control method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190906

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200728

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200722

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200916

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: 20201006

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201016

R150 Certificate of patent or registration of utility model

Ref document number: 6781688

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350