[go: up one dir, main page]

JP7182044B2 - Test management server and system - Google Patents

Test management server and system Download PDF

Info

Publication number
JP7182044B2
JP7182044B2 JP2018139595A JP2018139595A JP7182044B2 JP 7182044 B2 JP7182044 B2 JP 7182044B2 JP 2018139595 A JP2018139595 A JP 2018139595A JP 2018139595 A JP2018139595 A JP 2018139595A JP 7182044 B2 JP7182044 B2 JP 7182044B2
Authority
JP
Japan
Prior art keywords
test
item
screen
name
management server
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
JP2018139595A
Other languages
Japanese (ja)
Other versions
JP2020017073A (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.)
Nomura Research Institute Ltd
Original Assignee
Nomura Research Institute Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nomura Research Institute Ltd filed Critical Nomura Research Institute Ltd
Priority to JP2018139595A priority Critical patent/JP7182044B2/en
Publication of JP2020017073A publication Critical patent/JP2020017073A/en
Application granted granted Critical
Publication of JP7182044B2 publication Critical patent/JP7182044B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Description

本発明は、テスト管理サーバおよびシステムに関する。 The present invention relates to test management servers and systems.

ウェブサービスやアプリケーションの開発では、通常、出来上がったシステムが実際にどう動くかや、期待通りの振る舞いを示すかを確かめるテストが繰り返し行われる。システムに対してユーザが行いうる操作は膨大であり、そのそれぞれを人手でテストするのは効率的でも現実的でもない。したがって、テストの自動化が進められている。 In the development of web services and applications, it is common to repeatedly test how the finished system actually works and whether it behaves as expected. The number of possible operations that a user can perform on a system is enormous, and it is neither efficient nor practical to manually test each one. Therefore, test automation is in progress.

例えば、特許文献1には、操作に伴う画面表示の動作テストを行う自動テストツールが開示されている。特許文献1では、テスト結果の画像が比較可能に表示される。 For example, Patent Literature 1 discloses an automatic test tool that performs a screen display operation test associated with an operation. In Patent Literature 1, images of test results are displayed for comparison.

特開2012-038162号公報JP 2012-038162 A 特開2003-058370号公報JP-A-2003-058370

https://software.microfocus.com/ja-jp/solutions/software-development-lifecycle、2018年7月9日検索https://software.microfocus.com/ja-jp/solutions/software-development-lifecycle, retrieved on July 9, 2018 https://software.microfocus.com/ja-jp/products/unified-functional-automated-testing/overview、2018年7月9日検索https://software.microfocus.com/ja-jp/products/unified-functional-automated-testing/overview, retrieved on July 9, 2018

しかしながら、特許文献1の技術では、テストケースを登録する際にユーザが実際にテストに係る操作、例えばボタンの押下等、を行う必要がある。このようなテストケースの登録はユーザにとって手間であり、ユーザ利便性が高いとは言えない。 However, in the technique disclosed in Patent Literature 1, when registering a test case, it is necessary for the user to actually perform an operation related to the test, such as pressing a button. Such registration of test cases is troublesome for the user and cannot be said to be highly convenient for the user.

本発明はこうした課題に鑑みてなされたものであり、その目的は、テストの手順を設定する際のユーザの手間を削減することができる技術の提供にある。 SUMMARY OF THE INVENTION The present invention has been made in view of these problems, and an object thereof is to provide a technology that can reduce the user's labor when setting test procedures.

本発明のある態様は、テスト管理サーバに関する。このテスト管理サーバは、テスト対象の画面に含まれる項目を人に認識させるための項目論理名を用いて規定されたテストの手順を受け付けるテスト手順受付手段と、項目論理名に対応する項目をコンピュータに認識させるための項目物理名を含む、テスト対象の画面のリポジトリ情報を受け付けるリポジトリ受付手段と、受け付けられたテストの手順と受け付けられたリポジトリ情報とに基づいてテストを実行するためのスクリプトを生成する生成手段と、テスト対象の画面のリポジトリ情報における、対応する項目物理名と項目論理名のいずれかが変更されたものであるかを判定する判定手段と、対応する項目物理名と項目論理名のいずれかが変更されたものであると判定された場合に、対応する項目物理名と項目論理名のうちの変更されていない項目と、対応する項目物理名と項目論理名のうちの変更された項目の変更前及び変更後とを表示する表示手段と、を備える。 One aspect of the invention relates to a test management server. This test management server includes test procedure reception means for accepting a test procedure prescribed using an item logical name for allowing a person to recognize items included in a screen to be tested, and a computer for receiving an item corresponding to the item logical name. repository reception means for receiving the repository information of the screen to be tested, including the physical name of the item to be recognized by the tester; and generating a script for executing the test based on the received test procedure and the received repository information. means for determining whether either the corresponding item physical name or the item logical name in the repository information of the screen to be tested has been changed; and the corresponding item physical name and item logical name is determined to have changed, the unchanged item of the corresponding item physical name and item logical name and the changed item of the corresponding item physical name and item logical name and display means for displaying the items before and after the change .

なお、以上の構成要素の任意の組み合わせや、本発明の構成要素や表現を装置、方法、システム、コンピュータプログラム、コンピュータプログラムを格納した記録媒体などの間で相互に置換したものもまた、本発明の態様として有効である。 It should be noted that any combination of the above constituent elements, or mutual replacement of the constituent elements and expressions of the present invention with devices, methods, systems, computer programs, recording media storing computer programs, etc., are also included in the present invention. It is effective as an aspect of

本発明によれば、テストの手順を設定する際のユーザの手間を削減することができる。 According to the present invention, it is possible to reduce the user's trouble in setting the test procedure.

実施の形態に係るテストプラットフォームの概要を示す模式図である。1 is a schematic diagram showing an overview of a test platform according to an embodiment; FIG. 実施の形態に係るテストプラットフォームの構成を示す模式図である。1 is a schematic diagram showing the configuration of a test platform according to an embodiment; FIG. 図2のテスト管理サーバにおけるテストスクリプトの自動生成処理およびその管理を説明するための模式図である。FIG. 3 is a schematic diagram for explaining automatic generation processing and management of a test script in the test management server of FIG. 2; テストケース(サマリ)の入力画面の一部の代表画面図である。FIG. 11 is a representative screen diagram of a part of a test case (summary) input screen; テストケース(詳細版)の入力画面の一部の代表画面図である。FIG. 10 is a representative screen diagram of a part of the test case (detailed version) input screen; リポジトリ情報を説明するための模式図である。FIG. 4 is a schematic diagram for explaining repository information; 図2のテスト管理サーバのハードウエア構成図である。3 is a hardware configuration diagram of a test management server in FIG. 2; FIG. 図2のテスト管理サーバの機能および構成を示すブロック図である。3 is a block diagram showing the functions and configuration of the test management server of FIG. 2; FIG. 図2のテスト管理サーバのディスプレイに表示されるテスト管理画面の代表画面図である。3 is a representative screen view of a test management screen displayed on the display of the test management server of FIG. 2; FIG. 図2のテスト管理サーバのディスプレイに表示されるスクリプト表示画面の代表画面図である。3 is a representative screen diagram of a script display screen displayed on the display of the test management server of FIG. 2; FIG. 図2のテスト管理サーバのディスプレイに表示されるテスト実行画面の代表画面図である。3 is a representative screen diagram of a test execution screen displayed on the display of the test management server of FIG. 2; FIG. 図2のテスト管理サーバのディスプレイに表示される実行詳細指定画面の代表画面図である。3 is a representative screen diagram of an execution details designation screen displayed on the display of the test management server of FIG. 2; FIG. 図2のテスト管理サーバのディスプレイに表示されるテスト結果画面の代表画面図である。3 is a representative screen view of a test result screen displayed on the display of the test management server of FIG. 2; FIG. 図2のテスト管理サーバのディスプレイに表示される検証結果通知画面の代表画面図である。3 is a representative screen diagram of a verification result notification screen displayed on the display of the test management server of FIG. 2; FIG. 図2のテスト管理サーバにおける一連の処理の流れを示すフローチャートである。FIG. 3 is a flow chart showing a series of processes in the test management server of FIG. 2; FIG. 第1変形例に係るテストプラットフォームの構成を示す模式図である。FIG. 11 is a schematic diagram showing the configuration of a test platform according to a first modified example; 第2変形例に係るテストプラットフォームの構成を示す模式図である。FIG. 11 is a schematic diagram showing the configuration of a test platform according to a second modified example;

以下、各図面に示される同一または同等の構成要素、部材、処理には、同一の符号を付するものとし、適宜重複した説明は省略する。また、各図面において説明上重要ではない部材の一部は省略して表示する。 Hereinafter, the same or equivalent constituent elements, members, and processes shown in each drawing are denoted by the same reference numerals, and duplication of description will be omitted as appropriate. Also, in each drawing, some members that are not important for explanation are omitted.

図1は、実施の形態に係るテストプラットフォーム2の概要を示す模式図である。テストプラットフォーム2は、テストの自動化準備からテスト実施・管理まで、テスト工程の効率化をサポートする。テストプラットフォーム2では、自動生成ツール4を用いてテストの自動化準備を行う。具体的には、ユーザは自動生成ツール4を用いてテストの仕様書を作成する。作成された仕様書は、自動生成ツール4によって自動的にテスト実行のためのテストスクリプトに変換される。 FIG. 1 is a schematic diagram showing an outline of a test platform 2 according to an embodiment. The test platform 2 supports the efficiency of the test process, from test automation preparation to test implementation and management. The test platform 2 uses an automatic generation tool 4 to prepare for test automation. Specifically, the user creates test specifications using the automatic generation tool 4 . The created specifications are automatically converted into test scripts for test execution by the automatic generation tool 4 .

管理ツール6はテスト実行の管理とテスト資産の管理とを行う。管理ツール6は、例えばALM(Application Lifecycle Management)(非特許文献1参照)を用いて実現されてもよい。テスト実行の管理はいつでもどこでも行うことができ、テスト実行の進捗の管理も行われる。管理されるテスト資産は、テスト仕様書とテストスクリプトと証跡とを含む。 Management tools 6 manage test execution and test assets. The management tool 6 may be implemented using, for example, ALM (Application Lifecycle Management) (see Non-Patent Document 1). Management of test execution can be done anytime and anywhere, and the progress of test execution is also managed. Managed test assets include test specifications, test scripts, and trails.

自動テストツール8はテストを実施する(打鍵・検証)。自動テストツール8は、例えばUFT(Unified Functional Testing)(非特許文献2参照)を用いて実現されてもよい。自動テストツール8はテストスクリプトに基づき自動的に打鍵し、その証跡を収集する。自動テストツール8は、本実施の形態に係る手法により検証を効率化する。 The automatic test tool 8 executes the test (keying/verification). The automatic test tool 8 may be implemented using, for example, UFT (Unified Functional Testing) (see Non-Patent Document 2). The automatic test tool 8 automatically performs keystrokes based on the test script and collects the traces. The automatic test tool 8 makes verification efficient by the method according to the present embodiment.

図2は、実施の形態に係るテストプラットフォーム2の構成を示す模式図である。テストプラットフォーム2は、テスト管理サーバ10と、クライアント12と、テスト対象14と、ファイルサーバ16と、を備える。テスト管理サーバ10はテスト担当者18とのインタフェースとして機能する。各構成要素はインターネットなどのネットワーク(不図示)を介して互いに通信可能に接続される。テスト管理サーバ10は、テスト担当者18の入力に基づいて、ネットワーク上のリソース(URL(Uniform Resource Locator)で指定されるデータや画面など)に対するテストを行うためのテストスクリプト20および投入データ22を生成し、保持しておく。なお、本実施の形態ではテスト管理サーバ10がテストウエアの管理機能とスクリプトの生成機能とを有する場合を説明するが、これに限られず、例えば後述の変形例では、それらの機能が別々の装置に実装される場合を説明する。 FIG. 2 is a schematic diagram showing the configuration of the test platform 2 according to the embodiment. The test platform 2 comprises a test management server 10 , a client 12 , a test target 14 and a file server 16 . Test management server 10 functions as an interface with testers 18 . Each component is communicably connected to each other via a network (not shown) such as the Internet. The test management server 10 prepares a test script 20 and input data 22 for testing resources on the network (such as data and screens specified by a URL (Uniform Resource Locator)) based on input from a tester 18. Generate and keep. In this embodiment, the test management server 10 has a testware management function and a script generation function. However, the present invention is not limited to this. I will explain the case where it is implemented in

テストプラットフォーム2における一連の動作は以下の通りである。
1.テスト担当者18がテスト管理サーバ10にテストの実行を指示する。
2.テスト管理サーバ10は管理下のテストスクリプト20をクライアント12に送信し、クライアント12上で遠隔実行する。
3.クライアント12の実行エンジン24はブラウザ26を操作し、テストを実行する。実行エンジン24は実行結果をテスト管理サーバ10に返す。
4.ファイルサーバ16は、テストスクリプト20の実行により生じる、クライアント12やテスト対象14の証跡物(例えば、ブラウザ26に表示された画面のキャプチャ画像や、テスト対象14における動作ログなど)を収集する。
5.ファイルサーバ16の比較エンジン28は比較を実行し、予め用意してあった期待値と収集された証跡物とを比較する。
6.ファイルサーバ16が比較結果および証跡物をテスト管理サーバ10に登録する。
7.テスト管理サーバ10が、実行結果と証跡物と比較結果とを含むテスト結果30をテスト担当者18に通知する。
A series of operations in the test platform 2 are as follows.
1. A tester 18 instructs the test management server 10 to execute a test.
2. The test management server 10 transmits the test script 20 under management to the client 12 for remote execution on the client 12 .
3. Execution engine 24 of client 12 operates browser 26 to execute the test. The execution engine 24 returns execution results to the test management server 10 .
4. The file server 16 collects traces of the client 12 and the test target 14 generated by the execution of the test script 20 (for example, captured images of screens displayed on the browser 26, operation logs of the test target 14, etc.).
5. The comparison engine 28 of the file server 16 performs the comparison, comparing the prearranged expectations with the collected evidence.
6. File server 16 registers comparison results and trails with test management server 10 .
7. Test management server 10 communicates test results 30 to tester 18, including execution results, trails, and comparison results.

図3は、図2のテスト管理サーバ10におけるテストスクリプトの自動生成処理およびその管理を説明するための模式図である。例えばあるウェブサービスの開発プロジェクト32において、ウェブサービスの設計情報34が生成される。また、該ウェブサービスを実現するためのサーバ側のシステム36が構築される。テスト担当者18は、設計情報34を参照し、テストの概要を記したテストケース(サマリ)38を作成する。 FIG. 3 is a schematic diagram for explaining automatic test script generation processing and its management in the test management server 10 of FIG. For example, in a web service development project 32, web service design information 34 is generated. Also, a server-side system 36 is constructed for realizing the web service. The tester 18 refers to the design information 34 and creates a test case (summary) 38 describing the outline of the test.

図4は、テストケース(サマリ)38の入力画面400の一部の代表画面図である。テスト担当者18は自己の端末からテスト管理サーバ10にアクセスし、テスト管理サーバ10はテスト担当者18の端末に入力画面400を返す。テスト担当者18は、入力画面400に、これから行おうとするテストの概要を入力する。特にテスト担当者18は、テスト対象の画面に対してどのようなテストを行うかを入力する。テスト管理サーバ10は入力画面400に入力されたデータを取得し、管理ツール6に投入する。 FIG. 4 is a representative screen view of part of the input screen 400 of the test case (summary) 38. As shown in FIG. The tester 18 accesses the test management server 10 from his own terminal, and the test management server 10 returns the input screen 400 to the terminal of the tester 18 . The person in charge of testing 18 inputs the outline of the test to be performed on the input screen 400 . In particular, the person in charge of testing 18 inputs what kind of test is to be performed on the screen to be tested. The test management server 10 acquires the data input to the input screen 400 and inputs it to the management tool 6 .

図3に戻り、テスト担当者18は、テストケース(サマリ)38を基に投入するデータおよびテストの手順を詳細に記述したテストケース(詳細版)40を生成する。なお、テスト担当者18ではなく他の人的リソース(オフショアリソースなど)を用いてテストケース(詳細版)40を生成してもよい。 Returning to FIG. 3, the tester 18 generates a test case (detailed version) 40 that describes in detail data to be input based on the test case (summary) 38 and test procedures. The test cases (detailed version) 40 may be generated using other human resources (offshore resources, etc.) instead of the tester 18 .

図5は、テストケース(詳細版)40の入力画面402の一部の代表画面図である。テスト担当者18は自己の端末からテスト管理サーバ10にアクセスし、テスト管理サーバ10はテスト担当者18の端末に入力画面402を返す。テスト担当者18は、入力画面402に、テストケース(サマリ)38に記載のテストの手順やデータを入力する。 FIG. 5 is a representative screen diagram of a part of the input screen 402 of the test case (detailed version) 40 . The tester 18 accesses the test management server 10 from his own terminal, and the test management server 10 returns an input screen 402 to the terminal of the tester 18 . The tester 18 inputs test procedures and data described in the test case (summary) 38 on the input screen 402 .

入力画面402は、テストが行われる順番を規定する連番と、テストの区分と、テストの対象と、テスト対象の画面の論理名と、テスト対象の画面の物理名と、テスト対象の画面に含まれる項目を人に認識させるための項目論理名と、検証区分と、検証用の値と、が対応付けて入力されるよう構成される。テストの区分としては、動作または検証が選択可能となっている。動作は、例えば、画面のUI要素のクリックや、テキストボックスへのテキストの入力などであってもよい。検証は、例えば、動作の結果システム36から返ってくる値と期待値との一致・不一致の判定であってもよい。 The input screen 402 includes a serial number that defines the order in which the test is performed, the test category, the test target, the logical name of the screen to be tested, the physical name of the screen to be tested, and the screen to be tested. It is configured such that an item logical name for allowing a person to recognize the included item, a verification category, and a value for verification are input in association with each other. Operation or verification can be selected as the test category. The action may be, for example, clicking a UI element on the screen, entering text into a text box, or the like. Verification may be, for example, determining whether a value returned from system 36 as a result of an operation matches or does not match an expected value.

検証区分は、テストの区分が検証である場合の検証の種類を指定する。例えば、「=」に設定されている場合、検証用の値との完全一致でPass、そうでなければFailとなる。あるいはまた、「Contain」に設定されている場合、検証用の値を含んでいればPass、そうでなければFailとなる。テスト管理サーバ10は入力画面402に入力されたデータを取得する。 The verification category specifies the type of verification when the test category is verification. For example, if it is set to "=", it will be Pass if there is a complete match with the value for verification, otherwise it will be Fail. Alternatively, if it is set to "Contain", it will pass if it contains a value for verification, otherwise it will fail. The test management server 10 acquires the data entered on the input screen 402 .

図3に戻り、テスト管理サーバ10はプロジェクト32のシステム36からテスト対象の画面情報(リポジトリ情報)を取得する。テスト管理サーバ10はテスト対象の画面にアクセスし、該画面のコードを解析することでリポジトリ情報42を取得する。テスト管理サーバ10は、テストケース(詳細版)40とリポジトリ情報42とを基に、テスト実行のためのテストスクリプトを自動的に生成し、管理ツール6に投入する。 Returning to FIG. 3, the test management server 10 acquires the screen information (repository information) of the test object from the system 36 of the project 32 . The test management server 10 accesses the screen to be tested and acquires the repository information 42 by analyzing the code of the screen. The test management server 10 automatically generates a test script for test execution based on the test case (detailed version) 40 and the repository information 42 and inputs it to the management tool 6 .

テスト担当者18は別途、管理ツール6に対してテスト環境を設定する。管理ツール6において、テスト環境の設定とテストケース(サマリ)とテストスクリプトとテストデータ(投入データとも言う)とは対応付けられているが、個々別々に管理される。 The tester 18 separately sets the test environment for the management tool 6 . In the management tool 6, test environment settings, test cases (summaries), test scripts, and test data (also called input data) are associated with each other, but managed separately.

実行・検証フェーズにおいて、テストスクリプトおよびテストデータはテスト環境に配布され、OS(Operating System)とブラウザとの様々な組み合わせに対してテストが実行され、その結果が収集され、検証される。 In the execution/verification phase, test scripts and test data are distributed to a test environment, tests are executed against various combinations of OS (Operating System) and browsers, and the results are collected and verified.

図6は、リポジトリ情報を説明するための模式図である。図6において、図書情報検索入力画面44の項目である言語46には、「言語」という項目論理名が付与されている。リポジトリ表示画面48は、図書情報検索入力画面44のリポジトリ情報を表示している。このリポジトリ情報は、図書情報検索入力画面44の項目である言語46には、「BOOKLANGUAGE」という項目物理名が付与されており、項目論理名「言語」と項目物理名「BOOKLANGUAGE」とが対応することを示す。項目物理名は項目をコンピュータに認識させるための項目名である。例えば、自動生成されるテストスクリプトは項目物理名で項目を指定する。対して項目論理名は、日本語、英語、中国語などの所定の言語で記述された文字列であってもよい。 FIG. 6 is a schematic diagram for explaining repository information. In FIG. 6, a language 46, which is an item on the book information search input screen 44, is given an item logical name of "language". A repository display screen 48 displays the repository information of the book information search input screen 44 . In this repository information, the item physical name "BOOKLANGUAGE" is given to the language 46, which is the item of the book information search input screen 44, and the item logical name "Language" and the item physical name "BOOKLANGUAGE" correspond to each other. indicates that The item physical name is an item name that allows the computer to recognize the item. For example, auto-generated test scripts specify items by item physical name. On the other hand, the item logical name may be a character string written in a predetermined language such as Japanese, English, or Chinese.

図7は、図2のテスト管理サーバ10のハードウエア構成図である。クライアント12、テスト対象14、ファイルサーバ16は図7に記載のハードウエア構成と同様のハードウエア構成を有してもよい。テスト管理サーバ10は、メモリ130と、プロセッサ132と、通信インタフェース134と、ディスプレイ136と、入力インタフェース138と、を含む。これらの要素はそれぞれバス140に接続され、バス140を介して互いに通信する。 FIG. 7 is a hardware configuration diagram of the test management server 10 of FIG. The client 12, test target 14, and file server 16 may have a hardware configuration similar to that shown in FIG. Test management server 10 includes memory 130 , processor 132 , communication interface 134 , display 136 and input interface 138 . These elements are each connected to bus 140 and communicate with each other via bus 140 .

メモリ130は、データやプログラムを記憶するための記憶領域である。データやプログラムは、メモリ130に恒久的に記憶されてもよいし、一時的に記憶されてもよい。特にメモリ130は後述のテスト情報保持部114として割り当てられた領域を有する。プロセッサ132は、メモリ130に記憶されているプログラムを実行することにより、テスト管理サーバ10における各種機能を実現する。通信インタフェース134は、テスト管理サーバ10の外部との間でデータの送受信を行うためのインタフェースである。例えば、通信インタフェース134はネットワーク6にアクセスするためのインタフェースを含む。ディスプレイ136は、各種情報を表示するためのデバイスであり、例えば、液晶ディスプレイや有機EL(Electroluminescence)ディスプレイなどである。入力インタフェース138は、ユーザからの入力を受け付けるためのデバイスである。入力インタフェース138は、例えば、マウスやキーボードやディスプレイ138上に設けられたタッチパネルを含む。 The memory 130 is a storage area for storing data and programs. Data and programs may be stored in memory 130 permanently or temporarily. In particular, the memory 130 has an area allocated as a test information holding section 114, which will be described later. The processor 132 realizes various functions in the test management server 10 by executing programs stored in the memory 130 . The communication interface 134 is an interface for transmitting and receiving data to and from the outside of the test management server 10 . For example, communication interface 134 includes an interface for accessing network 6 . The display 136 is a device for displaying various information, such as a liquid crystal display or an organic EL (Electroluminescence) display. The input interface 138 is a device for receiving input from the user. The input interface 138 includes, for example, a mouse, a keyboard, and a touch panel provided on the display 138 .

図8は、図2のテスト管理サーバ10の機能および構成を示すブロック図である。ここに示す各ブロックは、ハードウエア的には、コンピュータのCPUをはじめとする素子や機械装置で実現でき、ソフトウエア的にはコンピュータプログラム等によって実現されるが、ここでは、それらの連携によって実現される機能ブロックを描いている。したがって、これらの機能ブロックはハードウエア、ソフトウエアの組合せによっていろいろなかたちで実現できることは、本明細書に触れた当業者には理解されるところである。 FIG. 8 is a block diagram showing the functions and configuration of the test management server 10 of FIG. Each block shown here can be implemented by hardware such as a computer CPU and other elements and mechanical devices, and is implemented by software such as a computer program. It depicts the function blocks to be used. Therefore, those skilled in the art who have read this specification will understand that these functional blocks can be implemented in various ways by combining hardware and software.

テスト管理サーバ10は、テスト手順受付部102と、リポジトリ受付部104と、スクリプト生成部106と、テスト管理部108と、テスト実行部110と、テスト結果提供部112と、テスト情報保持部114と、を備える。テスト情報保持部114はマスタデータベースとして機能し、図2に示されるテストスクリプト20、投入データ22、テスト結果30を保持する。また、テスト情報保持部114は、図3に示されるテスト環境の設定とテストケース(サマリ)とテストスクリプトとテストデータとを対応付けて保持する。 The test management server 10 includes a test procedure reception unit 102, a repository reception unit 104, a script generation unit 106, a test management unit 108, a test execution unit 110, a test result provision unit 112, and a test information storage unit 114. , provided. The test information holding unit 114 functions as a master database and holds the test script 20, input data 22, and test results 30 shown in FIG. Also, the test information holding unit 114 holds the setting of the test environment, the test case (summary), the test script, and the test data shown in FIG. 3 in association with each other.

テスト手順受付部102は、テスト対象の画面に含まれる項目の項目論理名を用いて規定されたテストの手順を受け付ける。テスト手順受付部102は図5を参照して上述されたように、テストケース(詳細版)40の入力画面402にテスト担当者18が入力したテストの手順を取得する。 The test procedure receiving unit 102 receives a test procedure defined using the item logical names of the items included in the screen to be tested. As described above with reference to FIG. 5, the test procedure reception unit 102 acquires the test procedure input by the tester 18 to the input screen 402 of the test case (detailed version) 40 .

リポジトリ受付部104は、テスト対象の画面のリポジトリ情報を受け付ける。リポジトリ受付部104は、図3を参照して上述されたように、テスト対象の画面を取得して解析することで当該画面のリポジトリ情報を取得する。図6を参照して上述されたように、リポジトリ情報は、画面に含まれる項目の項目論理名と項目物理名との対応関係を含む。 A repository reception unit 104 receives repository information of a screen to be tested. As described above with reference to FIG. 3, the repository reception unit 104 obtains the repository information of the screen by obtaining and analyzing the screen to be tested. As described above with reference to FIG. 6, the repository information includes correspondences between item logical names and item physical names of items included in the screen.

スクリプト生成部106は、テスト手順受付部102によって受け付けられたテストの手順と、リポジトリ受付部104によって受け付けられたリポジトリ情報と、に基づいてテストを実行するためのテストスクリプトおよび投入データを生成する。スクリプト生成部106は、リポジトリ情報を参照することで、テストの手順で用いられている項目論理名を対応する項目物理名に変換する。スクリプト生成部106は、当該変換後のテストの手順を基に、例えば特許文献2に記載されているような公知のスクリプト自動生成技術を用いてテストスクリプトを生成する。スクリプト生成部106は、生成されたテストスクリプトおよび投入データをテスト情報保持部114に登録する。 The script generation unit 106 generates a test script and input data for executing the test based on the test procedure received by the test procedure reception unit 102 and the repository information received by the repository reception unit 104 . The script generation unit 106 converts the item logical name used in the test procedure into the corresponding item physical name by referring to the repository information. The script generation unit 106 generates a test script based on the test procedure after the conversion, using a known script automatic generation technology such as that described in Patent Document 2, for example. The script generation unit 106 registers the generated test script and input data in the test information holding unit 114 .

例えば、図6に示される例を参照し、テスト手順受付部102によって受け付けられたテストの手順に、項目論理名「言語」の項目の値「3」(「中文版」に対応)を指定する、というコマンドが含まれているとする。スクリプト生成部106は、図書情報検索入力画面44のリポジトリ情報を参照し、当該コマンドの項目論理名「言語」を対応する項目物理名「BOOKLANGUAGE」に変換する。変換の結果、当該コマンドは、項目物理名「BOOKLANGUAGE」の項目の値「3」を指定する、となる。 For example, referring to the example shown in FIG. 6, the value "3" (corresponding to "Chinese version") of the item logical name "language" is specified in the test procedure received by the test procedure receiving unit 102. , is included. The script generation unit 106 refers to the repository information of the book information search input screen 44 and converts the item logical name "Language" of the command into the corresponding item physical name "BOOKLANGUAGE". As a result of the conversion, the command specifies the item value "3" of the item physical name "BOOKLANGUAGE".

なお、本実施の形態では、テストの手順における項目の値を物理値(コンピュータに認識させるための値)で指定する場合を説明する。他の実施の形態では、項目の値を論理値(人に認識させるための値)で指定し、スクリプト生成部106がリポジトリ情報を参照して論理値を物理値に変換してもよい。例えば、図6に示される例を参照し、テスト手順受付部102によって受け付けられたテストの手順に、項目論理名「言語」の項目の論理値「中文版」を指定する、というコマンドが含まれているとする。スクリプト生成部106は、図書情報検索入力画面44のリポジトリ情報を参照し、当該コマンドの項目論理名「言語」を対応する項目物理名「BOOKLANGUAGE」に、論理値「中文版」を物理値「3」に、それぞれ変換する。変換の結果、当該コマンドは、項目物理名「BOOKLANGUAGE」の項目の物理値「3」を指定する、となる。 In this embodiment, a case will be described in which the values of items in the test procedure are specified by physical values (values for recognition by a computer). In another embodiment, the value of an item may be designated as a logical value (a value for human recognition), and the script generation unit 106 may refer to repository information to convert the logical value into a physical value. For example, referring to the example shown in FIG. 6, the test procedure accepted by the test procedure accepting unit 102 includes a command to specify the logical value “Chinese version” of the item with the item logical name “language”. Suppose you are The script generation unit 106 refers to the repository information on the book information search input screen 44, and replaces the item logical name "Language" of the command with the corresponding item physical name "BOOKLANGUAGE" and the logical value "Chinese version" as the physical value "3". , respectively. As a result of the conversion, the command specifies the physical value "3" of the item with the item physical name "BOOKLANGUAGE".

テスト管理部108は管理ツール6として機能する。図9は、テスト管理サーバ10のディスプレイ136に表示されるテスト管理画面404の代表画面図である。テスト管理部108は、テスト担当者18などのユーザから要求があると、テスト管理画面404をディスプレイ136に表示させる。スクリプト生成部106がテストスクリプトを作成してテスト情報保持部114に登録した後、テスト管理画面404において、作成されたテストスクリプトと手順とがテスト番号で管理される。テスト管理画面404は、表示対象のテストケースを選択するためのケース選択領域406と、選択されたテストケースについての表示内容を選択するための複数のタブ408と、選択されたタブに対応する情報を表示する表示領域410と、を有する。図9の例では、ケース選択領域406においてテスト番号「R1-R1-1-1-1-1-1」のテストケースが選択されており、複数のタブ408においてテストケース(サマリ)に対応するタブ「Design Steps」が選択されており、表示領域410にはテスト担当者18により作成され登録されたテストケース(サマリ)38の情報が表示される。 A test management unit 108 functions as a management tool 6 . FIG. 9 is a representative screen view of the test management screen 404 displayed on the display 136 of the test management server 10. As shown in FIG. The test management unit 108 causes the display 136 to display the test management screen 404 upon request from a user such as the person in charge of testing 18 . After the script generation unit 106 creates a test script and registers it in the test information holding unit 114, the created test script and procedure are managed by test numbers on the test management screen 404. FIG. The test management screen 404 includes a case selection area 406 for selecting a test case to be displayed, a plurality of tabs 408 for selecting display contents of the selected test case, and information corresponding to the selected tab. and a display area 410 for displaying . In the example of FIG. 9, the test case with the test number "R1-R1-1-1-1-1-1" is selected in the case selection area 406, and the test cases (summary) corresponding to the multiple tabs 408 are displayed. The tab “Design Steps” is selected, and the information of the test case (summary) 38 created and registered by the tester 18 is displayed in the display area 410 .

図10は、テスト管理サーバ10のディスプレイ136に表示されるスクリプト表示画面414の代表画面図である。図9のテスト管理画面404においてユーザが複数のタブ408に含まれるタブ「Test Script」を選択すると、テスト管理部108はスクリプト表示画面414をディスプレイ136に表示させることで画面を遷移させる。スクリプト表示画面414は、ケース選択領域406と、複数のタブ408と、スクリプト生成部106によって生成、登録されたテストスクリプトを表示するスクリプト表示領域412と、を有する。このように、テストスクリプトもテストケース(サマリ)と同じテスト番号で管理される。 FIG. 10 is a representative screen view of the script display screen 414 displayed on the display 136 of the test management server 10. As shown in FIG. When the user selects the tab "Test Script" included in the plurality of tabs 408 on the test management screen 404 of FIG. A script display screen 414 has a case selection area 406 , a plurality of tabs 408 , and a script display area 412 for displaying test scripts generated and registered by the script generation unit 106 . In this way, the test script is also managed with the same test number as the test case (summary).

テスト実行部110は自動テストツール8として機能する。図11は、テスト管理サーバ10のディスプレイ136に表示されるテスト実行画面416の代表画面図である。テスト実行部110は、ユーザから要求があると、テスト実行画面416をディスプレイ136に表示させる。テスト実行画面416は、テスト情報保持部114に保持されるテストケースのなかから実行対象のテストケースを選択してテストを実施するためのものである。テスト実行画面416は、実行対象のテストケースが格納されるフォルダを選択するためのフォルダ選択領域418と、フォルダ選択領域418で選択されたフォルダに格納されているテストケースの情報を表示すると共に実行対象のテストケースの指定を可能とするテスト表示領域420と、個別実行ボタン422と、全体実行ボタン424と、を有する。 The test execution unit 110 functions as an automatic test tool 8. FIG. FIG. 11 is a representative screen view of the test execution screen 416 displayed on the display 136 of the test management server 10. As shown in FIG. The test execution unit 110 displays the test execution screen 416 on the display 136 upon request from the user. The test execution screen 416 is for selecting a test case to be executed from the test cases held in the test information holding unit 114 and executing the test. The test execution screen 416 displays a folder selection area 418 for selecting a folder in which test cases to be executed are stored, and information on the test cases stored in the folder selected in the folder selection area 418, and displays and executes the test cases. It has a test display area 420 , an individual execution button 422 , and an overall execution button 424 that enable designation of a target test case.

例えば、ユーザがテスト表示領域420に表示されるひとつのテストケースをカーソル426で指定し、個別実行ボタン422をクリックすると、テスト実行部110は指定されたテストケースのテストスクリプトをクライアント12に送信してテストの実行を指示する。ユーザが全体実行ボタン424をクリックすると、テスト実行部110はテスト表示領域420に表示される一連のテストケースをクライアント12に実行させる。 For example, when the user designates one test case displayed in the test display area 420 with the cursor 426 and clicks the individual execution button 422, the test execution unit 110 transmits the test script of the designated test case to the client 12. command to run the test. When the user clicks the run all button 424 , the test execution unit 110 causes the client 12 to run the series of test cases displayed in the test display area 420 .

図12は、テスト管理サーバ10のディスプレイ136に表示される実行詳細指定画面428の代表画面図である。図11に示されるテスト実行画面416においてユーザが個別実行ボタン422または全体実行ボタン424をクリックすると、テスト実行部110は実行詳細指定画面428をポップアップの形でディスプレイ136に表示させる。実行詳細指定画面428は、実行対象として選択されたテストのテスト名430と、該テストを実行するホストのホスト名432と、テストの状態434と、を対応付けて表示する。 FIG. 12 is a representative screen diagram of the execution details designation screen 428 displayed on the display 136 of the test management server 10. As shown in FIG. When the user clicks the individual execution button 422 or all execution button 424 on the test execution screen 416 shown in FIG. The execution details designation screen 428 displays the test name 430 of the test selected as the execution target, the host name 432 of the host that executes the test, and the test status 434 in association with each other.

ユーザは、実行詳細指定画面428においてホスト名432のセルをクリックすることで、任意のホストを指定することができる。例えば、図12のホスト名432のセル436をユーザがクリックすると、テスト実行部110は対応するテストスクリプトを実行可能なホスト(またはクライアント)のリストをディスプレイ136に表示させる。ユーザが表示されたリストから所望のホストを選択すると、テスト実行部110は選択されたホストのホスト名をセル436に表示させる。実行詳細指定画面428のテスト実行ボタン438がクリックされると、テスト実行部110は、テスト名430で指定されるテストのテストスクリプトを、選択されたホストに、実行させる。このように、ケース単位でテストを実行するホストを指定できるので、複数のホストによるテストの同時実行が可能となり、テストをより迅速に完了することができる。 The user can specify an arbitrary host by clicking the host name 432 cell on the execution details specification screen 428 . For example, when the user clicks on cell 436 of host name 432 in FIG. 12, test execution unit 110 causes display 136 to display a list of hosts (or clients) that can execute the corresponding test script. When the user selects a desired host from the displayed list, test execution unit 110 displays the host name of the selected host in cell 436 . When the test execution button 438 on the execution details designation screen 428 is clicked, the test execution unit 110 causes the selected host to execute the test script of the test designated by the test name 430 . In this way, the host on which the test is to be executed can be specified on a case-by-case basis, so the test can be executed simultaneously by multiple hosts, and the test can be completed more quickly.

テスト結果提供部112は、テストスクリプトを実行したクライアント12やファイルサーバ16から得られるテスト結果30をユーザに提供する。図13は、テスト管理サーバ10のディスプレイ136に表示されるテスト結果画面440の代表画面図である。テスト結果提供部112は、ユーザから要求があると、テスト結果画面440をディスプレイ136に表示させる。テスト結果画面440は、ブラウザ26に表示された画面のキャプチャ画像の有無と、テストの実行を特定する実行IDと、実行名と、実行されたテストのテスト名と、テストの状態と、テストにかかった時間と、テストを実行した日と、テストを実行した時刻と、テストを実行したホストのホスト名と、を対応付けて表示する。キャプチャ画像の有無が「有り」となっているセルをユーザがクリックすると、エビデンスフォルダ(不図示)が表示される。エビデンスフォルダはテストケースごとに設けられており、キャプチャ画像やログなどのエビデンスが格納されている。 The test result providing unit 112 provides the user with the test results 30 obtained from the client 12 or the file server 16 that executed the test script. FIG. 13 is a representative screen view of the test result screen 440 displayed on the display 136 of the test management server 10. As shown in FIG. The test result providing unit 112 causes the display 136 to display the test result screen 440 upon request from the user. The test result screen 440 includes the presence/absence of a captured image of the screen displayed on the browser 26, an execution ID for specifying test execution, an execution name, a test name of the executed test, a test state, and a test result. The time taken, the date the test was executed, the time the test was executed, and the host name of the host that executed the test are displayed in association with each other. When the user clicks a cell in which the presence or absence of a captured image is "present", an evidence folder (not shown) is displayed. Evidence folders are provided for each test case and store evidence such as captured images and logs.

図14は、テスト管理サーバ10のディスプレイ136に表示される検証結果通知画面442の代表画面図である。図5の入力画面402で説明した通り、テストケース(詳細版)40は画面に対する操作の他に操作結果の検証を含む場合がある。スクリプト生成部106は検証も含めてテストスクリプトを生成する。したがって、テストスクリプトが実行されると、自動的に検証も行われることとなる。テスト結果提供部112は、テストスクリプトを実行したクライアント12から取得した実行結果から、検証の結果を抽出する。テスト結果提供部112は、取得した検証の結果を含む検証結果通知画面442をディスプレイ136に表示させる。検証結果通知画面442は、検証の内容(アクション)と、エビデンスと、チェックポイントと、検証の結果と、検証の詳細と、を対応付けて表示する。検証の結果としては、出力が期待値と一致するか対応する場合は「PASS」、異なる場合は「FAIL」となる。 FIG. 14 is a representative screen diagram of the verification result notification screen 442 displayed on the display 136 of the test management server 10. As shown in FIG. As described with reference to the input screen 402 in FIG. 5, the test case (detailed version) 40 may include verification of operation results in addition to operations on the screen. A script generation unit 106 generates a test script including verification. Therefore, when the test script is executed, the verification will also be performed automatically. The test result providing unit 112 extracts the verification result from the execution result obtained from the client 12 that executed the test script. The test result providing unit 112 causes the display 136 to display a verification result notification screen 442 including the acquired verification result. The verification result notification screen 442 displays verification contents (actions), evidence, checkpoints, verification results, and verification details in association with each other. The verification result is "PASS" if the output matches or corresponds to the expected value, and "FAIL" if not.

以上の構成によるテスト管理サーバ10の動作を説明する。
図15は、図2のテスト管理サーバ10における一連の処理の流れを示すフローチャートである。テスト管理サーバ10は、ユーザから、テストの手順の入力を受け付ける(S502)。テスト管理サーバ10は、テスト対象の画面にアクセスし、画面のコード(例えば、HTML(HyperText Markup Language)コード)を取得する(S504)。テスト管理サーバ10は、取得したコードを解析することで、テスト対象の画面のリポジトリ情報を取得する(S506)。テスト管理サーバ10は、ステップS506で取得したリポジトリ情報を参照し、ステップS502で受け付けたテストの手順における項目論理名を項目物理名に変換する(S508)。テスト管理サーバ10は、ステップS508における変換後のテストの手順を基に、テストスクリプトを生成する(S510)。テスト管理サーバ10は、生成されたテストスクリプトをテスト情報保持部114に格納する(S512)。
The operation of the test management server 10 configured as above will be described.
FIG. 15 is a flow chart showing a series of processes in the test management server 10 of FIG. The test management server 10 receives an input of a test procedure from the user (S502). The test management server 10 accesses the screen to be tested and acquires the screen code (eg, HTML (HyperText Markup Language) code) (S504). The test management server 10 acquires the repository information of the screen to be tested by analyzing the acquired code (S506). The test management server 10 refers to the repository information acquired in step S506, and converts the item logical name in the test procedure received in step S502 into an item physical name (S508). The test management server 10 generates a test script based on the test procedure after conversion in step S508 (S510). The test management server 10 stores the generated test script in the test information holding unit 114 (S512).

上述の実施の形態において、保持部の例は、ハードディスクや半導体メモリである。また、本明細書の記載に基づき、各部を、図示しないCPUや、インストールされたアプリケーションプログラムのモジュールや、システムプログラムのモジュールや、ハードディスクから読み出したデータの内容を一時的に記憶する半導体メモリなどにより実現できることは本明細書に触れた当業者には理解される。 In the above-described embodiments, examples of holding units are hard disks and semiconductor memories. In addition, based on the description of this specification, each part is implemented by a CPU (not shown), an installed application program module, a system program module, a semiconductor memory that temporarily stores the contents of data read from the hard disk, etc. Those skilled in the art who have access to this specification will understand what is possible.

本実施の形態に係るテストプラットフォーム2によると、項目論理名を用いて規定されたテストの手順とリポジトリ情報とに基づいてテストスクリプトが自動的に生成される。この生成において、リポジトリ情報を参照して項目論理名が項目物理名に変換される。したがって、テスト担当者18はテストケース(サマリ)38からテストケース(詳細版)40を登録する際に、項目物理名を知っている必要も、入力する必要もない。代わりに、テスト担当者18はより分かりやすい項目論理名でテストの手順を登録することができる。したがって、テスト担当者18はより速く正確にテストケース(詳細版)40を登録することができるので、テストの効率が向上する。 According to the test platform 2 according to the present embodiment, a test script is automatically generated based on a test procedure and repository information defined using item logical names. In this generation, the item logical name is converted to the item physical name by referring to the repository information. Therefore, when the tester 18 registers the test case (detailed version) 40 from the test case (summary) 38, there is no need to know or input the item physical name. Alternatively, the tester 18 can register the procedure of the test with a more descriptive item logical name. Therefore, the tester 18 can register the test case (detailed version) 40 more quickly and accurately, thereby improving the efficiency of the test.

通常、項目物理名は実際の画面が完成したときに初めて決まるものなので、テストの手順を項目物理名で規定する従来の手法では、実際の画面が出来上がるまでテストの手順を作成することができなかった。これに対して、本実施の形態に係るテストプラットフォーム2では、テストケース(詳細版)40において項目物理名の指定を不要としたので、実際の画面の完成を待つことなくテストの手順を作成することができる。例えば、画面は開発中であっても、設計情報34が決まった段階ですぐにテストケース(詳細版)40を作成することができる。これにより、テストサイクルが短くなり、より速くサービスをリリースすることができるようになる。 Normally, the item physical name is decided only when the actual screen is completed, so with the conventional method of specifying the test procedure by the item physical name, it was not possible to create the test procedure until the actual screen was completed. rice field. On the other hand, in the test platform 2 according to the present embodiment, it is not necessary to specify the item physical name in the test case (detailed version) 40, so the test procedure can be created without waiting for the completion of the actual screen. be able to. For example, even if the screen is under development, the test case (detailed version) 40 can be created as soon as the design information 34 is decided. This allows for shorter test cycles and faster service releases.

テスト対象の開発仕様変更、バグ発生時の修正、運用後のエンハンス等で、テスト対象物によってはリポジトリ情報が修正、追加、削除される場合もあり、つまり、リポジトリ情報の修正については、リポジトリ情報である項目物理名、項目論理名のいずれか一方又は両方が修正されることが有り得る。リポジトリ受付部104は適切なタイミング(テストを再実行するタイミング、テスト管理サーバ10を起動したタイミング、ユーザからリポジトリの再受付を指示されたタイミング)でリポジトリ情報を再度取得し、前回のリポジトリ情報と今回取得したリポジトリ情報とを対比し、前記リポジトリ情報の修正、追加、削除を特定してもよい。リポジトリ情報の修正、追加、削除によりテスト実行が失敗した場合に、前記特定したリポジトリ情報の修正、追加、削除が原因でテスト実行が失敗したことを検証可能となる。ここで、ある1つのリポジトリ情報について、項目物理名又は項目論理名のいずれかが修正されている場合には、修正されていないものをキーとして修正されているものの修正前と修正後を特定することができ、例えば、項目物理名が修正され、項目論理名が修正されていないあるリポジトリ情報があった場合に項目論理名をキーとし、修正前の項目物理名と修正後の項目物理名を特定することができ、これらの関連付けを用いて前回作成済みのテストスクリプトを更新してテスト実行することで、失敗したテスト実行を成功させることができることもある。なお、自動的にこのテストスクリプトの更新をするのではなく、ユーザに事前提示して指示を受けて更新してもよいし、単に、修正前の項目物理名と修正後の項目物理名を項目物理名と共にユーザに表示する動作のみであってもよい。 Depending on the test target, the repository information may be modified, added, or deleted due to changes in the development specifications of the test target, correction of bugs, enhancement after operation, etc. Either or both of the item physical name and the item logical name may be modified. The repository reception unit 104 acquires the repository information again at an appropriate timing (timing to re-execute the test, timing to start the test management server 10, timing to re-accept the repository from the user), Corrections, additions, and deletions of the repository information may be specified by comparing with the repository information acquired this time. When test execution fails due to modification, addition, or deletion of repository information, it becomes possible to verify that test execution has failed due to modification, addition, or deletion of the identified repository information. Here, if either the item physical name or the item logical name is modified for a certain piece of repository information, the unmodified one is used as a key to identify the modified item before and after modification. For example, if there is repository information where the item physical name has been modified and the item logical name has not been modified, the item logical name is used as a key, and the item physical name before modification and the item physical name after modification are These associations can be used to update a previously created test script and test run, in some cases allowing a failed test run to succeed. Instead of updating this test script automatically, it may be presented to the user in advance and updated upon receiving an instruction, or simply the item physical name before correction and the item physical name after correction may be It may be only an action that is displayed to the user along with the physical name.

以上、実施の形態に係るテストプラットフォーム2の構成と動作について説明した。この実施の形態は例示であり、各構成要素や各処理の組み合わせにいろいろな変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解される。 The configuration and operation of the test platform 2 according to the embodiment have been described above. Those skilled in the art will understand that this embodiment is merely an example, and that various modifications are possible in combination of each component and each process, and that such modifications are within the scope of the present invention.

実施の形態では、テスト管理サーバ10がテストウエアの管理機能とスクリプトの生成機能とを有する場合を説明したが、これに限られず、例えばそれらの機能が別々の装置に実装されてもよい。 Although the test management server 10 has a testware management function and a script generation function in the embodiment, the present invention is not limited to this.

図16は、第1変形例に係るテストプラットフォーム600の構成を示す模式図である。テストプラットフォーム600は、テスト管理機能をテスト管理サーバで実現すると共に、テスト実施機能およびスクリプト自動生成機能をクライアント端末および検証実行端末(両者は同じ端末であってもよいし、異なる端末であってもよい)で実現する。あるいはまた、スクリプト自動生成機能は、クライアント端末とも検証実行端末とも異なる、実施環境内の別の端末に実装されてもよい。図16中の一点鎖線の矢印は人手で実施される操作を表し、破線の矢印はツールによって自動で実施される操作を表す。 FIG. 16 is a schematic diagram showing the configuration of a test platform 600 according to the first modified example. The test platform 600 implements the test management function in the test management server, and the test execution function and the automatic script generation function are implemented in the client terminal and the verification execution terminal (both may be the same terminal or different terminals). good). Alternatively, the automatic script generation function may be implemented in another terminal in the implementation environment that is different from the client terminal and verification execution terminal. The dashed-dotted arrows in FIG. 16 represent operations performed manually, and the dashed arrows represent operations automatically performed by a tool.

図17は、第2変形例に係るテストプラットフォーム700の構成を示す模式図である。テストプラットフォーム700では、テスト管理機能を省き、実施環境を単独で利用する。テストプラットフォーム700は、テスト実施機能およびスクリプト自動生成機能をクライアント端末および検証実行端末(両者は同じ端末であってもよいし、異なる端末であってもよい)で実現する。あるいはまた、スクリプト自動生成機能は、クライアント端末とも検証実行端末とも異なる、実施環境内の別の端末に実装されてもよい。図17中の一点鎖線の矢印は人手で実施される操作を表し、破線の矢印はツールによって自動で実施される操作を表す。 FIG. 17 is a schematic diagram showing the configuration of a test platform 700 according to the second modified example. The test platform 700 omits the test management function and uses the execution environment alone. The test platform 700 implements a test execution function and a script automatic generation function on a client terminal and a verification execution terminal (both may be the same terminal or may be different terminals). Alternatively, the automatic script generation function may be implemented in another terminal in the implementation environment that is different from the client terminal and verification execution terminal. The dashed-dotted arrows in FIG. 17 represent operations performed manually, and the dashed-line arrows represent operations automatically performed by a tool.

2 テストプラットフォーム、 4 自動生成ツール、 6 管理ツール、 8 自動テストツール。 2 test platform, 4 automatic generation tool, 6 management tool, 8 automatic test tool.

Claims (5)

テスト対象の画面に含まれる項目を人に認識させるための項目論理名を用いて規定されたテストの手順を受け付けるテスト手順受付手段と、
項目論理名に対応する項目をコンピュータに認識させるための項目物理名を含む、テスト対象の画面のリポジトリ情報を受け付けるリポジトリ受付手段と、
受け付けられたテストの手順と受け付けられたリポジトリ情報とに基づいてテストを実行するためのスクリプトを生成する生成手段と、
テスト対象の画面のリポジトリ情報における、対応する項目物理名と項目論理名のいずれかが変更されたものであるかを判定する判定手段と、
前記対応する項目物理名と項目論理名のいずれかが変更されたものであると判定された場合に、前記対応する項目物理名と項目論理名のうちの変更されていない項目と、前記対応する項目物理名と項目論理名のうちの変更された項目の変更前及び変更後とを表示する表示手段と、を備えるテスト管理サーバ。
a test procedure reception means for accepting a test procedure defined using an item logical name for allowing a person to recognize an item included in a screen to be tested;
repository reception means for receiving repository information of a screen to be tested, including an item physical name for allowing a computer to recognize an item corresponding to the item logical name;
generation means for generating a script for executing the test based on the accepted test procedure and the accepted repository information;
determination means for determining whether either the corresponding item physical name or the item logical name in the repository information of the screen to be tested has been changed;
When it is determined that one of the corresponding item physical name and the item logical name has been changed, the unchanged item of the corresponding item physical name and the item logical name and the corresponding a display means for displaying a changed item of the item physical name and the item logical name before and after the change .
前記生成手段は、リポジトリ情報を参照することで、テストの手順で用いられている項目論理名を対応する項目物理名に変換する請求項1に記載のテスト管理サーバ。 2. The test management server according to claim 1, wherein said generating means converts an item logical name used in a test procedure into a corresponding item physical name by referring to repository information. 前記テスト手順受付手段は、ユーザが入力したテストの手順を取得し、
前記リポジトリ受付手段は、テスト対象の画面を取得して解析することで当該画面のリポジトリ情報を取得する請求項1または2に記載のテスト管理サーバ。
The test procedure receiving means acquires a test procedure input by a user,
3. The test management server according to claim 1, wherein said repository reception means acquires repository information of a screen to be tested by acquiring and analyzing the screen.
テストの手順は操作結果の検証を含み、
前記テスト管理サーバはさらに、検証の結果をユーザに提供する提供手段を備える請求項1から3のいずれか一項に記載のテスト管理サーバ。
The testing procedure includes verification of the operation results,
4. The test management server according to any one of claims 1 to 3, wherein said test management server further comprises providing means for providing a verification result to a user.
前記テスト管理サーバは、さらに、前記対応する項目物理名と項目論理名のうちの変更されていない項目をキーとして、前記対応する項目物理名と項目論理名のうちの変更された項目の変更前及び変更後を特定する特定手段を備える請求項1から4のいずれか一項に記載のテスト管理サーバ。 The test management server further uses the unchanged item of the corresponding item physical name and item logical name as a key to change the changed item of the corresponding item physical name and item logical name. 5. The test management server according to any one of claims 1 to 4, further comprising specifying means for specifying and after the change.
JP2018139595A 2018-07-25 2018-07-25 Test management server and system Active JP7182044B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018139595A JP7182044B2 (en) 2018-07-25 2018-07-25 Test management server and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018139595A JP7182044B2 (en) 2018-07-25 2018-07-25 Test management server and system

Publications (2)

Publication Number Publication Date
JP2020017073A JP2020017073A (en) 2020-01-30
JP7182044B2 true JP7182044B2 (en) 2022-12-02

Family

ID=69581490

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018139595A Active JP7182044B2 (en) 2018-07-25 2018-07-25 Test management server and system

Country Status (1)

Country Link
JP (1) JP7182044B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004280231A (en) 2003-03-13 2004-10-07 Fujitsu Ltd Software verification method
JP2012038162A (en) 2010-08-09 2012-02-23 Ricoh Co Ltd Automatic test tool program and automatic test method
JP2016194777A (en) 2015-03-31 2016-11-17 エヌ・ティ・ティ・コムウェア株式会社 Software test apparatus, software test method, and software test program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10301809A (en) * 1997-04-23 1998-11-13 Nippon Telegr & Teleph Corp <Ntt> Automatic generation method of GUI operation procedure

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004280231A (en) 2003-03-13 2004-10-07 Fujitsu Ltd Software verification method
JP2012038162A (en) 2010-08-09 2012-02-23 Ricoh Co Ltd Automatic test tool program and automatic test method
JP2016194777A (en) 2015-03-31 2016-11-17 エヌ・ティ・ティ・コムウェア株式会社 Software test apparatus, software test method, and software test program

Also Published As

Publication number Publication date
JP2020017073A (en) 2020-01-30

Similar Documents

Publication Publication Date Title
US10515005B1 (en) Systems and methods for testing source code
JP5821678B2 (en) Web service for automatic compatibility check independent of web application browser
US10228932B2 (en) Upgrade verification tool
US9910651B2 (en) System for developing, testing, deploying, and managing applications in real-time
US8001145B1 (en) State management for user interfaces
JP5425699B2 (en) Information processing apparatus, test case generation method, program, and recording medium
US20130338995A1 (en) Practical natural-language human-machine interfaces
US9262396B1 (en) Browser compatibility checker tool
US20170046399A1 (en) Discovery of Application States
US20160253056A1 (en) Standard commands for native commands
CN111104123B (en) Automatic deployment of applications
US9766869B2 (en) Parameterized installation packages
US10372760B2 (en) Building queries directed to objects hosted on clouds
US20220350857A1 (en) Methods and systems for browser extension used to generate relative xpath, absolute xpath and/or css selectors
US12135759B2 (en) Automated creation and deployment of websites
US20160191338A1 (en) Retrieving content from an application
US9454463B2 (en) Rapid automation front-end framework library and executable graphic user interface testing system and method
US20160034378A1 (en) Method and system for testing page link addresses
CN110365776B (en) Image batch download method, device, electronic device and storage medium
JP7182044B2 (en) Test management server and system
US11797623B2 (en) Microapp recommendations for networked application functionality
US11044339B2 (en) Asynchronous service provisioning in computing systems
US20190129670A1 (en) Information processing apparatus
US20240256765A1 (en) Custom formulas in office cloud platform add-in
US8387040B2 (en) Dynamic creation of client-side environment for problem analysis

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210624

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220428

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220506

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220704

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221027

R150 Certificate of patent or registration of utility model

Ref document number: 7182044

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150