JP7804566B2 - Regression test management device, regression test management method, and regression test management program - Google Patents
Regression test management device, regression test management method, and regression test management programInfo
- Publication number
- JP7804566B2 JP7804566B2 JP2022212664A JP2022212664A JP7804566B2 JP 7804566 B2 JP7804566 B2 JP 7804566B2 JP 2022212664 A JP2022212664 A JP 2022212664A JP 2022212664 A JP2022212664 A JP 2022212664A JP 7804566 B2 JP7804566 B2 JP 7804566B2
- Authority
- JP
- Japan
- Prior art keywords
- scenario
- application software
- test
- execution
- evidence
- 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
Links
Landscapes
- Debugging And Monitoring (AREA)
Description
本発明は、回帰テスト管理装置、回帰テスト管理方法、および、回帰テスト管理プログラムに関する。 The present invention relates to a regression test management device, a regression test management method, and a regression test management program.
特許文献1には、異常や不具合と判断すべきであることを設定する情報ではない比較元データと、回帰テスト対象の比較先データと、の差分を抽出し、差分相違が発生した場合、回帰テストでエラー発生と判定し、実行結果を画面表示する構成が開示されている。 Patent Document 1 discloses a configuration that extracts differences between comparison source data, which is not information that indicates that an abnormality or malfunction should be determined, and comparison target data that is the subject of a regression test. If a difference is found, it is determined that an error has occurred in the regression test, and the execution results are displayed on screen.
しかしながら、上記特許文献1記載の発明においては、エラー直前までの操作命令を再現した画面表示をすることができないという課題があった。 However, the invention described in Patent Document 1 above had the problem of not being able to display a screen that reproduces the operating instructions given immediately before the error occurred.
本発明は、上記問題点に鑑みてなされたものであって、テストエビデンスの比較差異から、差異に該当する現象が起きたところまで画面操作を行わせることで、問題発生箇所の早期把握を可能とする回帰テスト管理装置、回帰テスト管理方法、および、回帰テスト管理プログラムを提供することを目的とする。 The present invention was made in consideration of the above-mentioned problems, and aims to provide a regression test management device, regression test management method, and regression test management program that enables early identification of problem areas by allowing users to navigate through the screen from the comparative differences in test evidence to the point where a phenomenon corresponding to the difference occurs.
上述した課題を解決し、目的を達成するために、本発明に係る回帰テスト管理装置は、記憶部と制御部とを備えた回帰テスト管理装置であって、前記記憶部は、アプリケーションソフトウェア、前記アプリケーションソフトウェアに実行させるテストシナリオ、前記アプリケーションソフトウェアのユーザインタフェース定義、前記アプリケーションソフトウェアを自動実行するための画面操作命令、および、前記テストシナリオに沿った基準エビデンスを含むマスタデータを記憶するアプリケーション記憶手段、を備え、前記制御部は、前記マスタデータに基づいて、所定実行環境において前記アプリケーションソフトウェアにより自動実行された前記テストシナリオのテストエビデンスを取得し、前記テストエビデンスと前記基準エビデンスとの間の比較差異エビデンスを取得する比較差異手段と、前記マスタデータに基づいて、前記テストシナリオにおいて、前記比較差異エビデンスが発生する直前である直前シナリオまで前記アプリケーションソフトウェアを実行させた実行画面を表示させる画面操作手段と、を備えたことを特徴とする。 To solve the above-mentioned problems and achieve the objectives, the regression test management device of the present invention is a regression test management device equipped with a memory unit and a control unit, wherein the memory unit comprises application storage means for storing master data including application software, test scenarios to be executed by the application software, user interface definitions for the application software, screen operation commands for automatically executing the application software, and reference evidence in accordance with the test scenarios, and the control unit comprises comparison difference means for acquiring test evidence of the test scenarios automatically executed by the application software in a specified execution environment based on the master data and acquiring comparison difference evidence between the test evidence and the reference evidence, and screen operation means for displaying, based on the master data, an execution screen in which the application software was executed up to the immediately preceding scenario immediately before the comparison difference evidence occurred in the test scenario.
また、本発明に係る回帰テスト管理装置において、前記画面操作手段は、更に、前記マスタデータに基づいて、前記テストシナリオに含まれる各ステップシナリオに対する実行制御指示を指定可能に表示させ、前記実行制御指示が指定された場合、指定ステップシナリオまで前記アプリケーションソフトウェアを実行させた前記実行画面を表示させることを特徴とする。 In the regression test management device according to the present invention, the screen operation means further displays, based on the master data, a specifiable execution control instruction for each step scenario included in the test scenario, and, when the execution control instruction is specified, displays the execution screen in which the application software is executed up to the specified step scenario.
また、本発明に係る回帰テスト管理装置において、前記画面操作手段は、前記マスタデータに基づいて、前記テストシナリオに含まれる前記各ステップシナリオに対する前記実行制御指示を指定可能に表示させ、前記実行制御指示が指定された際に、前記テストシナリオにおいて前記指定ステップシナリオが前記直前シナリオより後のステップである場合、前記直前シナリオまで前記アプリケーションソフトウェアを実行させた前記実行画面を表示させることを特徴とする。 Furthermore, in the regression test management device according to the present invention, the screen operation means displays the execution control instructions for each step scenario included in the test scenario in a specifiable manner based on the master data, and when the execution control instructions are specified, if the specified step scenario is a step in the test scenario that follows the immediately preceding scenario, displays the execution screen in which the application software is executed up to the immediately preceding scenario.
また、本発明に係る回帰テスト管理装置において、前記実行制御指示は、前記アプリケーションソフトウェアの実行予定に含まれる最後の前記ステップシナリオの一つ後の前記ステップシナリオまでを新たな前記実行予定に指定する指示であることを特徴とする。 Furthermore, in the regression test management device according to the present invention, the execution control instruction is an instruction to specify up to the step scenario following the last step scenario included in the execution schedule of the application software as the new execution schedule.
また、本発明に係る回帰テスト管理装置において、前記実行制御指示は、ユーザ選択された前記ステップシナリオまでを前記アプリケーションソフトウェアの実行予定に指定する指示であることを特徴とする。 Furthermore, in the regression test management device according to the present invention, the execution control instruction is an instruction to specify up to the step scenario selected by the user in the execution schedule of the application software.
また、本発明に係る回帰テスト管理装置において、前記実行制御指示は、前記テストシナリオに含まれる最後の前記ステップシナリオまでを前記アプリケーションソフトウェアの実行予定に指定する指示であることを特徴とする。 Furthermore, in the regression test management device according to the present invention, the execution control instruction is an instruction to specify up to the last step scenario included in the test scenario in the execution schedule of the application software.
また、本発明に係る回帰テスト管理装置において、前記実行制御指示は、現在実行中の前記ステップシナリオまでを前記アプリケーションソフトウェアの実行予定に指定する指示であることを特徴とする。 Furthermore, in the regression test management device according to the present invention, the execution control instruction is an instruction to specify up to the step scenario currently being executed in the execution schedule of the application software.
また、本発明に係る回帰テスト管理装置において、前記アプリケーションソフトウェアは、ローコード開発ツール、または、ノーコード開発ツールにより作成されたソフトウェアであることを特徴とする。 Furthermore, in the regression test management device according to the present invention, the application software is software created using a low-code development tool or a no-code development tool.
また、本発明に係る回帰テスト管理方法は、記憶部と制御部とを備えた回帰テスト管理装置に実行させるための回帰テスト管理方法であって、前記記憶部は、アプリケーションソフトウェア、前記アプリケーションソフトウェアに実行させるテストシナリオ、前記アプリケーションソフトウェアのユーザインタフェース定義、前記アプリケーションソフトウェアを自動実行するための画面操作命令、および、前記テストシナリオに沿った基準エビデンスを含むマスタデータを記憶するアプリケーション記憶手段、を備え、前記制御部において実行される、前記マスタデータに基づいて、所定実行環境において前記アプリケーションソフトウェアにより自動実行された前記テストシナリオのテストエビデンスを取得し、前記テストエビデンスと前記基準エビデンスとの間の比較差異エビデンスを取得する比較差異ステップと、前記マスタデータに基づいて、前記テストシナリオにおいて、前記比較差異エビデンスが発生する直前である直前シナリオまで前記アプリケーションソフトウェアを実行させた実行画面を表示させる画面操作ステップと、を含むことを特徴とする。 The regression test management method of the present invention is a regression test management method for causing a regression test management device having a memory unit and a control unit to execute the regression test. The memory unit includes application storage means for storing master data including application software, test scenarios to be executed by the application software, a user interface definition of the application software, screen operation commands for automatically executing the application software, and reference evidence according to the test scenarios. The method includes a comparison difference step executed by the control unit, which acquires test evidence of the test scenario automatically executed by the application software in a predetermined execution environment based on the master data and acquires comparison difference evidence between the test evidence and the reference evidence, and a screen operation step, which displays an execution screen in which the application software has been executed up to the immediately preceding scenario immediately before the comparison difference evidence occurs in the test scenario, based on the master data.
また、本発明に係る回帰テスト管理プログラムは、記憶部と制御部とを備えた回帰テスト管理装置に実行させるための回帰テスト管理プログラムであって、前記記憶部は、アプリケーションソフトウェア、前記アプリケーションソフトウェアに実行させるテストシナリオ、前記アプリケーションソフトウェアのユーザインタフェース定義、前記アプリケーションソフトウェアを自動実行するための画面操作命令、および、前記テストシナリオに沿った基準エビデンスを含むマスタデータを記憶するアプリケーション記憶手段、を備え、前記制御部において、前記マスタデータに基づいて、所定実行環境において前記アプリケーションソフトウェアにより自動実行された前記テストシナリオのテストエビデンスを取得し、前記テストエビデンスと前記基準エビデンスとの間の比較差異エビデンスを取得する比較差異ステップと、前記マスタデータに基づいて、前記テストシナリオにおいて、前記比較差異エビデンスが発生する直前である直前シナリオまで前記アプリケーションソフトウェアを実行させた実行画面を表示させる画面操作ステップと、を実行させることを特徴とする。 The regression test management program of the present invention is a regression test management program to be executed by a regression test management device having a memory unit and a control unit, wherein the memory unit includes application storage means for storing master data including application software, test scenarios to be executed by the application software, a user interface definition of the application software, screen operation commands for automatically executing the application software, and reference evidence according to the test scenarios, and the control unit executes a comparison difference step of acquiring test evidence of the test scenario automatically executed by the application software in a predetermined execution environment based on the master data and acquiring comparison difference evidence between the test evidence and the reference evidence, and a screen operation step of displaying, based on the master data, an execution screen in which the application software was executed up to the immediately preceding scenario immediately before the comparison difference evidence was generated in the test scenario.
本発明によれば、自動回帰テスト履歴に基づくエラー時点までのステップ再現実行を可能とすることができるという効果を奏する。また、本発明によれば、比較差異一覧プログラムから、差異のある自動テストの全く同じ操作を画面操作プログラムに対してワンクリックで行わせることで、問題発生箇所の早期把握を可能とするという効果を奏する。また、本発明によれば、ローコード開発・ノーコード開発における、開発負担を下げることができるという効果を奏する。また、本発明によれば、課題特定、解決にかかる時間、必要な知識のハードルを下げることができるという効果を奏する。また、本発明によれば、自動テスト結果エラー行の入力、エラー直前までの操作命令再現を実現することで、自動テスト結果再現確認を支援することができるという効果を奏する。また、本発明によれば、Webアプリケーションの自動テスト結果確認の効率化を図るという効果を奏する。 The present invention has the advantage of enabling the execution of step reproduction up to the point of an error based on the automatic regression test history. Furthermore, the present invention has the advantage of enabling the location of a problem to be identified early by using a comparison difference list program to perform the exact same operations on a screen operation program as for an automatic test with differences with a single click. Furthermore, the present invention has the advantage of reducing the development burden in low-code and no-code development. Furthermore, the present invention has the advantage of reducing the hurdles of issue identification and resolution time and the required knowledge. Furthermore, the present invention has the advantage of supporting the reproduction and confirmation of automatic test results by inputting error lines in automatic test results and reproducing the operation commands up to the point immediately before the error. Furthermore, the present invention has the advantage of improving the efficiency of checking automatic test results for web applications.
本発明の実施形態を図面に基づいて詳細に説明する。なお、本発明は本実施形態により限定されるものではない。 An embodiment of the present invention will be described in detail with reference to the drawings. However, the present invention is not limited to this embodiment.
[1.概要]
まず、図1から図3を参照して、本発明の概要を説明する。図1から図3は、本実施形態における回帰テスト管理処理の一例を示す図である。
[1. Overview]
First, an overview of the present invention will be described with reference to Figures 1 to 3. Figures 1 to 3 are diagrams showing an example of a regression test management process in this embodiment.
変化の激しいビジネス環境において、価値ある業務ソリューションを提供するためには、素早くリリースすることが必要であり、OSやブラウザ等の進化のスピードが加速している外部環境の変化に対応するため、業務アプリケーションの開発・テストの効率化が求められているため、開発されたWebアプリケーションソフトウェアのWebブラウザによるテストの自動化が必要なものとなってきている。 In a rapidly changing business environment, rapid release is essential to providing valuable business solutions. In order to keep up with changes in the external environment, where the pace of evolution in operating systems, browsers, etc. is accelerating, there is a need to improve the efficiency of business application development and testing. Therefore, it has become necessary to automate testing of developed web application software using web browsers.
従来、Webアプリケーションソフトウェアに対する自動テストにおいて、テスト結果の画像を出力するだけでは、テストケースおよび自動実行定義の実行条件の内容が把握できず、喩え、テストケースおよび自動実行定義の実行条件の内容が把握できていたとしても、途中の細かいオペレーションの違いによって、現象の発生有無が変わってしまうようなデリケートな事象の再現が困難であった。 In the past, when automated testing web application software, simply outputting images of test results did not allow the execution conditions of the test cases and automatic execution definitions to be understood. Even if the execution conditions of the test cases and automatic execution definitions were understood, it was difficult to reproduce delicate phenomena where whether or not a phenomenon occurred could change depending on small differences in intermediate operations.
そこで、本実施形態においては、Webアプリケーションソフトウェアに対する自動テストにおいて、テストエビデンスから問題発生箇所を早期把握する仕組みを提供している。ここで、エラーが発現するのに複雑な条件があったり、タイミングが重要であったりする場合、高い集中力および正確なオペレーションが必要であるケースが間々あるが、本実施形態においては、100%同じ操作を自動で何度でも行うことができるので、時間や人への負担を軽減する効果が期待できる。 This embodiment therefore provides a mechanism for early identification of problem areas from test evidence in automated testing of web application software. Here, when complex conditions exist for an error to occur or timing is important, high levels of concentration and precise operation are often required. However, this embodiment can perform 100% identical operations automatically any number of times, which is expected to reduce time and the burden on personnel.
例えば、本実施形態においては、図1に示すように、ユーザにより問題発生の該当箇所までの実行指示が設定された場合、比較差異一覧プログラムが実行されて差異(問題発生箇所)が特定され、図2に示すように、画面操作(ステップ実行)プログラムが起動され、図3に示すように、問題発生の該当箇所の直前(点線で囲まれた箇所)まで自動実行される。 For example, in this embodiment, as shown in Figure 1, when a user sets an instruction to run up to the point where the problem occurred, the comparison difference list program is executed to identify the difference (the point where the problem occurred), and as shown in Figure 2, the screen operation (step execution) program is launched, and as shown in Figure 3, it is automatically executed up to just before the point where the problem occurred (the point surrounded by the dotted line).
[2.構成]
本実施形態に係る回帰テスト管理装置100の構成の一例について、図4を参照して説明する。図4は、本実施形態における回帰テスト管理装置100の構成の一例を示すブロック図である。
2. Configuration
An example of the configuration of the regression test management device 100 according to this embodiment will be described with reference to Fig. 4. Fig. 4 is a block diagram showing an example of the configuration of the regression test management device 100 according to this embodiment.
図4に示すように、回帰テスト管理装置100は、市販のデスクトップ型パーソナルコンピュータである。なお、回帰テスト管理装置100は、デスクトップ型パーソナルコンピュータのような据置型情報処理装置に限らず、市販されているノート型パーソナルコンピュータ、PDA(Personal Digital Assistants)、スマートフォン、タブレット型パーソナルコンピュータなどの携帯型情報処理装置であってもよい。 As shown in FIG. 4, the regression test management device 100 is a commercially available desktop personal computer. Note that the regression test management device 100 is not limited to a stationary information processing device such as a desktop personal computer, but may also be a portable information processing device such as a commercially available notebook personal computer, PDA (Personal Digital Assistant), smartphone, or tablet personal computer.
回帰テスト管理装置100は、制御部102と通信インターフェース部104と記憶部106と入出力インターフェース部108と、を備えている。回帰テスト管理装置100が備えている各部は、任意の通信路を介して通信可能に接続されている。 The regression test management device 100 comprises a control unit 102, a communication interface unit 104, a memory unit 106, and an input/output interface unit 108. Each unit of the regression test management device 100 is connected to each other so that they can communicate with each other via any communication path.
通信インターフェース部104は、ルータ等の通信装置および専用線等の有線または無線の通信回線を介して、回帰テスト管理装置100をネットワーク300に通信可能に接続する。通信インターフェース部104は、他の装置と通信回線を介してデータを通信する機能を有する。ここで、ネットワーク300は、回帰テスト管理装置100とサーバ200とを相互に通信可能に接続する機能を有し、例えばインターネットやLAN(Local Area Network)等である。 The communication interface unit 104 communicatively connects the regression test management device 100 to the network 300 via a communication device such as a router and a wired or wireless communication line such as a dedicated line. The communication interface unit 104 has the function of communicating data with other devices via a communication line. Here, the network 300 has the function of connecting the regression test management device 100 and the server 200 so that they can communicate with each other, and is, for example, the Internet or a LAN (Local Area Network).
入出力インターフェース部108には、入力装置112および出力装置114が接続されている。出力装置114には、モニタ(タッチパネルを含む)の他、スピーカやプリンタを用いることができる。入力装置112には、キーボード、マウス、およびマイクの他、マウスと協働してポインティングデバイス機能を実現するモニタを用いることができる。なお、以下では、出力装置114をモニタ114またはプリンタ114とし、入力装置112をキーボード112またはマウス112として記載する場合がある。 An input device 112 and an output device 114 are connected to the input/output interface unit 108. The output device 114 may be a monitor (including a touch panel), a speaker, or a printer. The input device 112 may be a keyboard, a mouse, a microphone, or a monitor that functions as a pointing device in conjunction with a mouse. Note that, below, the output device 114 may be referred to as the monitor 114 or the printer 114, and the input device 112 may be referred to as the keyboard 112 or the mouse 112.
記憶部106には、各種のデータベース、テーブル、およびファイルなどが格納される。記憶部106には、OS(Operating System)と協働してCPU(Central Processing Unit)に命令を与えて各種処理を行うためのコンピュータプログラムが記録される。記憶部106として、例えば、RAM(Random Access Memory)・ROM(Read Only Memory)等のメモリ装置、ハードディスクのような固定ディスク装置、フレキシブルディスク、および光ディスク等を用いることができる。記憶部106は、アプリケーションデータベース106aを備えている。 The storage unit 106 stores various databases, tables, files, and the like. The storage unit 106 stores computer programs that work in conjunction with the OS (Operating System) to issue commands to the CPU (Central Processing Unit) to perform various processes. The storage unit 106 can be, for example, a memory device such as RAM (Random Access Memory) or ROM (Read Only Memory), a fixed disk device such as a hard disk, a flexible disk, or an optical disk. The storage unit 106 includes an application database 106a.
アプリケーションデータベース106aは、アプリケーションソフトウェアを記憶する。ここで、アプリケーションデータベース106aは、アプリケーションソフトウェア、アプリケーションソフトウェアに実行させるテストシナリオ、アプリケーションソフトウェアのユーザインタフェース定義、アプリケーションソフトウェアを自動実行するための画面操作命令、および、テストシナリオに沿った基準エビデンスを含むマスタデータを記憶していてもよい。また、アプリケーションソフトウェアは、ローコード開発ツール、または、ノーコード開発ツールにより作成されたソフトウェアであってもよい。 The application database 106a stores application software. Here, the application database 106a may store master data including the application software, test scenarios to be executed by the application software, user interface definitions for the application software, screen operation commands for automatically executing the application software, and reference evidence in accordance with the test scenarios. The application software may also be software created using a low-code development tool or a no-code development tool.
制御部102は、回帰テスト管理装置100を統括的に制御するCPU等である。制御部102は、OS等の制御プログラム・各種の処理手順等を規定したプログラム・所要データなどを格納するための内部メモリを有し、格納されているこれらのプログラムに基づいて種々の情報処理を実行する。制御部102は、機能概念的に、比較差異部102aと画面操作部102bとを備えている。 The control unit 102 is a CPU or the like that provides overall control of the regression test management device 100. The control unit 102 has internal memory for storing control programs such as an OS, programs that define various processing procedures, and required data, and executes various information processing operations based on these stored programs. Functionally, the control unit 102 is equipped with a comparison/difference unit 102a and a screen operation unit 102b.
比較差異部102aは、アプリケーションソフトウェアにより自動実行されたテストシナリオのテストエビデンスを取得し、テストエビデンスと基準エビデンスとの間の比較差異エビデンスを取得する。ここで、比較差異部102aは、マスタデータに基づいて、所定実行環境においてアプリケーションソフトウェアにより自動実行されたテストシナリオのテストエビデンスを取得し、テストエビデンスと基準エビデンスとの間の比較差異エビデンスを取得してもよい。 The comparison and difference unit 102a acquires test evidence of a test scenario automatically executed by application software, and acquires comparison and difference evidence between the test evidence and reference evidence. Here, the comparison and difference unit 102a may acquire test evidence of a test scenario automatically executed by application software in a specified execution environment based on master data, and acquire comparison and difference evidence between the test evidence and reference evidence.
画面操作部102bは、アプリケーションソフトウェアを実行させた実行画面を表示させる。ここで、画面操作部102bは、マスタデータに基づいて、テストシナリオにおいて、比較差異エビデンスが発生する直前である直前シナリオまでアプリケーションソフトウェアを実行させた実行画面を表示させてもよい。また、画面操作部102bは、マスタデータに基づいて、テストシナリオに含まれる各ステップシナリオに対する実行制御指示を指定可能に表示させ、実行制御指示が指定された場合、指定ステップシナリオまでアプリケーションソフトウェアを実行させた実行画面を表示させてもよい。また、画面操作部102bは、マスタデータに基づいて、テストシナリオに含まれる各ステップシナリオに対する実行制御指示を指定可能に表示させ、実行制御指示が指定された際に、テストシナリオにおいて指定ステップシナリオが直前シナリオより後のステップである場合、直前シナリオまでアプリケーションソフトウェアを実行させた実行画面を表示させてもよい。ここで、実行制御指示は、アプリケーションソフトウェアの実行予定に含まれる最後のステップシナリオの一つ後のステップシナリオまでを新たな実行予定に指定する指示であってもよい。また、実行制御指示は、ユーザ選択されたステップシナリオまでをアプリケーションソフトウェアの実行予定に指定する指示であってもよい。また、実行制御指示は、テストシナリオに含まれる最後のステップシナリオまでをアプリケーションソフトウェアの実行予定に指定する指示であってもよい。また、実行制御指示は、現在実行中のステップシナリオまでをアプリケーションソフトウェアの実行予定に指定する指示であってもよい。 The screen operation unit 102b displays an execution screen in which the application software is executed. Here, the screen operation unit 102b may display an execution screen in which the application software is executed up to the immediately preceding scenario, which is immediately before the occurrence of comparison difference evidence in the test scenario, based on the master data. Furthermore, the screen operation unit 102b may display, based on the master data, a specifiable execution control instruction for each step scenario included in the test scenario, and, when an execution control instruction is specified, display an execution screen in which the application software is executed up to the specified step scenario. Furthermore, the screen operation unit 102b may display, based on the master data, a specifiable execution control instruction for each step scenario included in the test scenario, and, when an execution control instruction is specified, display an execution screen in which the application software is executed up to the immediately preceding scenario, if the specified step scenario in the test scenario is a step after the immediately preceding scenario. Here, the execution control instruction may be an instruction to specify up to the step scenario one step after the last step scenario included in the application software's execution schedule as a new execution schedule. Furthermore, the execution control instruction may be an instruction to specify up to a user-selected step scenario as the application software's execution schedule. The execution control instruction may also be an instruction to specify up to the last step scenario included in the test scenario in the execution schedule of the application software.The execution control instruction may also be an instruction to specify up to the currently executing step scenario in the execution schedule of the application software.
[3.具体例]
本実施形態の具体例について、図5から図26を参照して説明する。
3. Specific Examples
A specific example of this embodiment will be described with reference to FIGS.
[回帰テスト管理処理]
ここで、図5を参照して、本実施形態における回帰テスト管理処理の一例について説明する。図5は、本実施形態における回帰テスト管理装置100の処理の一例を示すフローチャートである。
[Regression test management process]
An example of a regression test management process in this embodiment will now be described with reference to Fig. 5. Fig. 5 is a flowchart showing an example of a process performed by the regression test management device 100 in this embodiment.
図5に示すように、比較差異部102aは、アプリケーションデータベース106aに記憶されたマスタデータに基づいて、所定実行環境においてアプリケーションソフトウェアにより自動実行されたテストシナリオのテストエビデンスを取得し、テストエビデンスと基準エビデンスとの間の比較差異エビデンスを取得する(ステップSA-1)。 As shown in FIG. 5, the comparison and difference unit 102a acquires test evidence of a test scenario automatically executed by application software in a specified execution environment based on the master data stored in the application database 106a, and acquires comparison and difference evidence between the test evidence and the reference evidence (step SA-1).
ここで、比較差異部102aは、比較差異エビデンスを取得できたか否かを判定する(ステップSA-2)。 Here, the comparison difference unit 102a determines whether comparison difference evidence has been obtained (step SA-2).
そして、比較差異部102aは、比較差異エビデンスを取得できなかったと判定した場合(ステップSA-2:No)、処理をステップSA-3に移行させる。 If the comparison difference unit 102a determines that comparison difference evidence could not be obtained (step SA-2: No), it transitions to step SA-3.
そして、画面操作部102bは、テストシナリオに含まれる各ステップシナリオに対する実行制御指示を指定可能に出力装置114に表示させ、ユーザにより入力装置112を介して実行制御指示が指定されたか否かを判定する(ステップSA-3)。 Then, the screen operation unit 102b displays on the output device 114 execution control instructions for each step scenario included in the test scenario so that the execution control instructions can be specified, and determines whether the user has specified an execution control instruction via the input device 112 (step SA-3).
そして、画面操作部102bは、実行制御指示が指定されたと判定した場合(ステップSA-3:Yes)、処理をステップSA-8に移行させる。 If the screen operation unit 102b determines that an execution control instruction has been specified (step SA-3: Yes), it proceeds to step SA-8.
一方、画面操作部102bは、実行制御指示が指定されていないと判定した場合(ステップSA-3:No)、処理をステップSA-4に移行させる。 On the other hand, if the screen operation unit 102b determines that an execution control instruction has not been specified (step SA-3: No), it transitions the processing to step SA-4.
そして、画面操作部102bは、アプリケーションデータベース106aに記憶されたマスタデータに基づいて、テストシナリオに含まれる最終ステップシナリオまでアプリケーションソフトウェアを実行させた実行画面を出力装置114に表示させ(ステップSA-4)、処理を終了する。 Then, the screen operation unit 102b displays on the output device 114 an execution screen that executes the application software up to the final step scenario included in the test scenario based on the master data stored in the application database 106a (step SA-4), and the process ends.
一方、比較差異部102aは、比較差異エビデンスを取得できたと判定した場合(ステップSA-2:Yes)、処理をステップSA-5に移行させる。 On the other hand, if the comparison difference unit 102a determines that comparison difference evidence has been obtained (step SA-2: Yes), it transitions to step SA-5.
そして、画面操作部102bは、テストシナリオに含まれる各ステップシナリオに対する実行制御指示を指定可能に出力装置114に表示させ、ユーザにより入力装置112を介して実行制御指示が指定されたか否かを判定する(ステップSA-5)。 Then, the screen operation unit 102b displays on the output device 114 execution control instructions for each step scenario included in the test scenario so that the execution control instructions can be specified, and determines whether the user has specified an execution control instruction via the input device 112 (step SA-5).
そして、画面操作部102bは、実行制御指示が指定されていないと判定した場合(ステップSA-5:No)、処理をステップSA-6に移行させる。 If the screen operation unit 102b determines that an execution control instruction has not been specified (step SA-5: No), it proceeds to step SA-6.
そして、画面操作部102bは、アプリケーションデータベース106aに記憶されたマスタデータに基づいて、テストシナリオにおいて、比較差異エビデンスが発生する直前である直前シナリオまでアプリケーションソフトウェアを実行させた実行画面を出力装置114に表示させ(ステップSA-6)、処理を終了する。 Then, based on the master data stored in the application database 106a, the screen operation unit 102b displays on the output device 114 an execution screen in which the application software has been executed up to the immediately preceding scenario immediately before the occurrence of comparison difference evidence in the test scenario (step SA-6), and then ends the process.
一方、画面操作部102bは、実行制御指示が指定されたと判定した場合(ステップSA-5:Yes)、処理をステップSA-7に移行させる。 On the other hand, if the screen operation unit 102b determines that an execution control instruction has been specified (step SA-5: Yes), it transitions the processing to step SA-7.
そして、画面操作部102bは、テストシナリオにおいて指定ステップシナリオが直前シナリオより後のステップであるか否かを判定する(ステップSA-7)。 Then, the screen operation unit 102b determines whether the specified step scenario is a step after the immediately preceding scenario in the test scenario (step SA-7).
そして、画面操作部102bは、テストシナリオにおいて指定ステップシナリオが直前シナリオより後のステップであると判定した場合(ステップSA-7:Yes)、処理をステップSA-6に移行させる。 Then, if the screen operation unit 102b determines that the specified step scenario is a step later than the immediately preceding scenario in the test scenario (step SA-7: Yes), it transitions the processing to step SA-6.
一方、画面操作部102bは、テストシナリオにおいて指定ステップシナリオが直前シナリオより後のステップではない(前のステップである)と判定した場合(ステップSA-7:No)、処理をステップSA-8に移行させる。 On the other hand, if the screen operation unit 102b determines that the specified step scenario in the test scenario is not a step later than the immediately preceding scenario (it is an earlier step) (step SA-7: No), it transitions the processing to step SA-8.
そして、画面操作部102bは、アプリケーションデータベース106aに記憶されたマスタデータに基づいて、指定ステップシナリオまでアプリケーションソフトウェアを実行させた実行画面を出力装置114に表示させ(ステップSA-8)、処理を終了する。 Then, the screen operation unit 102b displays on the output device 114 an execution screen that executes the application software up to the specified step scenario based on the master data stored in the application database 106a (step SA-8), and the process ends.
ここで、図6および図7を参照して、本実施形態におけるテストシナリオのステップ実行概要について説明する。図6は、本実施形態におけるテストシナリオのステップ実行動作の一例を示す図である。図7は、本実施形態におけるテストシナリオ読込処理の一例を示す図である。 Here, an overview of step execution of a test scenario in this embodiment will be described with reference to Figures 6 and 7. Figure 6 is a diagram showing an example of step execution operation of a test scenario in this embodiment. Figure 7 is a diagram showing an example of test scenario loading processing in this embodiment.
図6に示すように、本実施形態におけるステップ実行プログラムでは、画面操作プログラムを用いて、「実行中の行」の番号:1~4が「実行予定の番号」で指定された番号まで画面操作命令を実行する。また、図6に示すように、本実施形態におけるステップ実行プログラムと画面操作プログラムとは、非同期で動作しており、お互いのリソースを参照・更新しながら動作する。また、図6に示すように、本実施形態におけるステップ実行プログラム起動時には、「実行予定の番号」が0となっており、「実行制御ボタン」が押下された場合、「実行予定の番号」を更新し、更新した実行予定の番号まで画面操作命令を実行する。また、図6に示すように、本実施形態においては、ユーザが処理実行を途中で一時停止したい場合、停止ボタン(四角ボタン)を押下することで、現在「実行中の行」の番号が「実行予定の番号」となり、画面操作が一時停止する。また、図6に示すように、本実施形態におけるステップ実行プログラムは、比較差異一覧プログラムから呼び出された際に、「実行予定の番号」に現象の起きたアクションの行番号を指定した状態で起動する。 As shown in FIG. 6, the step execution program in this embodiment uses the screen operation program to execute screen operation commands until the "current line" numbers 1 to 4 reach the number specified by the "scheduled execution number." Also, as shown in FIG. 6, the step execution program and screen operation program in this embodiment operate asynchronously, referencing and updating each other's resources as they operate. Also, as shown in FIG. 6, when the step execution program in this embodiment is started, the "scheduled execution number" is 0. When the "execution control button" is pressed, the "scheduled execution number" is updated and screen operation commands are executed up to the updated scheduled execution number. Also, as shown in FIG. 6, in this embodiment, if the user wants to pause processing midway, they can press the stop button (square button), which changes the number of the currently "current line" to the "scheduled execution number" and pauses the screen operation. Also, as shown in FIG. 6, when the step execution program in this embodiment is called from the comparison difference list program, it is started with the line number of the action where the issue occurred specified as the "scheduled execution number."
また、図7に示すように、本実施形態におけるテストシナリオ読込処理においては、テスト実行対象の定義IDより画面操作命令が取得され、画面操作命令に応じてローコード実行基盤が操作される。ここで、本実施形態におけるローコード実行基盤は、ローコード開発基盤にて設定された内容を解析し、業務アプリケーションとして実行されるプログラムである。ここで、本実施形態におけるローコード開発基盤は、レイアウト、および、ロジックフローの設定を行うツールである。また、本実施形態における画面操作プログラムは、ローコード実行基盤にて提供されるアプリケーションの画面を操作するプログラムであり、自動回帰テストにおいて、操作を行う主体となる。 Furthermore, as shown in FIG. 7, in the test scenario loading process of this embodiment, a screen operation command is obtained from the definition ID of the test execution target, and the low-code execution platform is operated in accordance with the screen operation command. Here, the low-code execution platform in this embodiment is a program that analyzes the content set in the low-code development platform and is executed as a business application. Here, the low-code development platform in this embodiment is a tool for setting the layout and logic flow. Furthermore, the screen operation program in this embodiment is a program that operates the screen of the application provided by the low-code execution platform, and is the entity that performs the operation in automatic regression testing.
また、図8から図11を参照して、本実施形態における画面起動・操作処理の一例について説明する。図8から図11は、本実施形態におけるテストシナリオのステップ実行処理の一例を示す図である。 Furthermore, an example of screen startup and operation processing in this embodiment will be described with reference to Figures 8 to 11. Figures 8 to 11 are diagrams showing an example of step execution processing of a test scenario in this embodiment.
図8に示すように、本実施形態における画面操作プログラムは、指示された指定定義IDの画面を起動するようにローコード実行基盤を操作し、図9に示すように、テキストボックスに「abc」と入力し、図10に示すように、「ボタン1」をクリックし、図11に示すように、スクリーンショットを取る。 As shown in Figure 8, the screen operation program in this embodiment operates the low-code execution platform to launch the screen of the specified definition ID, enters "abc" in the text box as shown in Figure 9, clicks "Button 1" as shown in Figure 10, and takes a screenshot as shown in Figure 11.
また、図12に示すように、本実施形態にテストシナリオのステップ実行処理の一例について説明する。図12は、本実施形態におけるテストシナリオのステップ実行処理の一例を示す図である。 Furthermore, as shown in Figure 12, an example of step execution processing of a test scenario in this embodiment will be described. Figure 12 is a diagram showing an example of step execution processing of a test scenario in this embodiment.
図12に示すように、本実施形態においては、ステップ実行プログラムにより外部(比較差異一覧プログラム)より受け渡された定義IDが取得され(ステップSB-1)、ステップ実行プログラムにより定義IDより画面操作命令テーブルから画面操作命令が取得され、アクション一覧に表示され(ステップSB-2)、ステップ実行プログラムにより画面操作プログラムが別プロセス(非同期)で起動(定義IDを引数として受渡)される(ステップSB-3)。 As shown in FIG. 12, in this embodiment, the step execution program acquires the definition ID passed from the outside (comparison difference list program) (step SB-1), then the step execution program acquires screen operation commands from the screen operation command table using the definition ID and displays them in the action list (step SB-2), and the step execution program launches the screen operation program as a separate process (asynchronously) (passing the definition ID as an argument) (step SB-3).
そして、図12に示すように、本実施形態においては、ステップ実行プログラムにより「実行制御ボタン」が押されたか否かが判定され(ステップSB-4)、「実行制御ボタン」が押されていない場合(ステップSB-4:No)、処理がステップSB-6に移行し、「実行制御ボタン」が押された場合(ステップSB-4:Yes)、ステップ実行プログラムにより押されたボタンに応じて「実行予定の番号」が更新され(ステップSB-5)、処理がステップSB-6に移行する。 As shown in FIG. 12, in this embodiment, the step execution program determines whether the "execution control button" has been pressed (step SB-4). If the "execution control button" has not been pressed (step SB-4: No), processing proceeds to step SB-6. If the "execution control button" has been pressed (step SB-4: Yes), the step execution program updates the "scheduled execution number" according to the button pressed (step SB-5), and processing proceeds to step SB-6.
そして、図12に示すように、本実施形態においては、ステップ実行プログラムにより「閉じるボタン(バツボタン)」が押されたか否かが判定され(ステップSB-6)、「閉じるボタン」が押されていない場合(ステップSB-6:No)、処理がステップSB-4に移行し、「閉じるボタン」が押された場合(ステップSB-6:Yes)、画面操作プログラムが起動しているか否かが判定される(ステップSB-7)。 As shown in FIG. 12, in this embodiment, the step execution program determines whether the "Close button (X button)" has been pressed (step SB-6). If the "Close button" has not been pressed (step SB-6: No), processing proceeds to step SB-4. If the "Close button" has been pressed (step SB-6: Yes), it determines whether the screen operation program is running (step SB-7).
そして、図12に示すように、本実施形態においては、画面操作プログラムが起動している場合(ステップSB-7:Yes)、ステップ実行プログラムにより画面操作プログラムが終了され(ステップSB-8)、処理が終了し、画面操作プログラムが起動していない場合(ステップSB-7:No)、処理が終了する。 As shown in FIG. 12, in this embodiment, if the screen operation program is running (step SB-7: Yes), the step execution program terminates the screen operation program (step SB-8) and processing ends; if the screen operation program is not running (step SB-7: No), processing ends.
ここで、図12に示すように、本実施形態においては、ステップ実行プログラムにより画面操作プログラムが起動された場合(ステップSB-3)、画面操作プログラムにより外部(ステップ実行プログラム)より受け渡された定義IDが取得され(ステップSC-1)、画面操作プログラムにより定義IDより画面操作命令テーブルから画面操作命令が取得され(ステップSC-2)、画面操作プログラムにより画面が起動され(ステップSC-3)、画面操作プログラムにより次の画面操作命令が1件取得され(ステップSC-4)、画面操作プログラムにより実行中の番号が更新され(ステップSC-5)、画面操作プログラムにより「実行予定の番号」が取得され(ステップSC-6)、画面操作プログラムにより画面操作命令実行中の番号が「実行予定の番号」より小さいか否かが判定され(ステップSC-7)、画面操作命令実行中の番号が「実行予定の番号」より小さくない場合(ステップSC-7:No)、処理がステップSC-6に移行し、画面操作命令実行中の番号が「実行予定の番号」より小さい場合(ステップSC-7:Yes)、処理がステップSC-8に移行する。 As shown in FIG. 12, in this embodiment, when the step execution program launches the screen operation program (step SB-3), the screen operation program acquires the definition ID passed from the outside (step execution program) (step SC-1), the screen operation program acquires a screen operation command from the screen operation command table using the definition ID (step SC-2), the screen operation program launches the screen (step SC-3), the screen operation program acquires the next screen operation command (step SC-4), the screen operation program updates the number being executed (step SC-5), the screen operation program acquires the "scheduled execution number" (step SC-6), the screen operation program determines whether the number being executed is smaller than the "scheduled execution number" (step SC-7), and if the number being executed is not smaller than the "scheduled execution number" (step SC-7: No), processing proceeds to step SC-6. If the number being executed is smaller than the "scheduled execution number" (step SC-7: Yes), processing proceeds to step SC-8.
そして、図12に示すように、本実施形態においては、画面操作プログラムにより画面操作命令がScreenShot命令か否かが判定され(ステップSC-8)、画面操作命令がScreenShot命令ではない場合(ステップSC-8:No)、画面操作プログラムにより画面操作命令に従い画面操作され(ステップSC-9)、処理がステップSC-11に移行し、画面操作命令がScreenShot命令である場合(ステップSC-8:Yes)、画面操作プログラムによりスクリーンショットが出力され(ステップSC-10)、処理がステップSC-11に移行する。 As shown in FIG. 12, in this embodiment, the screen operation program determines whether the screen operation command is a ScreenShot command (step SC-8). If the screen operation command is not a ScreenShot command (step SC-8: No), the screen operation program operates the screen in accordance with the screen operation command (step SC-9), and processing proceeds to step SC-11. If the screen operation command is a ScreenShot command (step SC-8: Yes), the screen operation program outputs a screenshot (step SC-10), and processing proceeds to step SC-11.
そして、図12に示すように、本実施形態においては、画面操作プログラムにより正常に操作できたか否かが判定され(ステップSC-11)、正常に操作できなかった場合(ステップSC-11:No)、画面操作プログラムによりエラーログが出力され(ステップSC-12)、処理が終了し、正常に操作できた場合(ステップSC-11:Yes)、画面操作プログラムにより正常動作ログが出力される(ステップSC-13)。 As shown in FIG. 12, in this embodiment, the screen operation program determines whether operation was successful (step SC-11). If operation was not successful (step SC-11: No), the screen operation program outputs an error log (step SC-12). After processing ends, if operation was successful (step SC-11: Yes), the screen operation program outputs a normal operation log (step SC-13).
そして、図12に示すように、本実施形態においては、画面操作プログラムにより次の画面操作命令が存在するか否かが判定され(ステップSC-14)、次の画面操作命令が存在する場合(ステップSC-14:Yes)、処理がステップSC-4に移行し、次の画面操作命令が存在しない場合(ステップSC-14:No)、処理が終了する。このように、本実施形態においては、読み込んだ画面操作命令分、処理が繰り返される。 Then, as shown in FIG. 12, in this embodiment, the screen operation program determines whether or not the next screen operation command exists (step SC-14). If the next screen operation command exists (step SC-14: Yes), processing proceeds to step SC-4. If the next screen operation command does not exist (step SC-14: No), processing ends. In this way, in this embodiment, processing is repeated for each screen operation command that has been read.
ここで、図12に示すように、本実施形態においては、実行画面にて「停止ボタン(四角ボタン)」が押された場合、「3まで実行中」に替えて2の操作まで完了され、3の手前まで実行されて動作が一時停止される。この際、図12に示すように、本実施形態においては、「3の行」に「矢印マーク」が表示される。続いて、図12に示すように、本実施形態においては、「再生ボタン(三角ボタン)」が押された場合、「4まで実行中」に変わり、3の操作が行われ、4の手前まで実行され動作が一時停止される。 Here, as shown in FIG. 12, in this embodiment, when the "Stop button (square button)" is pressed on the execution screen, the display changes to "Executing up to 3," and operations up to 2 are completed, and the operation is paused after execution up to just before 3. At this time, as shown in FIG. 12, in this embodiment, an "arrow mark" is displayed on the "3 line." Next, as shown in FIG. 12, in this embodiment, when the "Play button (triangle button)" is pressed, the display changes to "Executing up to 4," operation 3 is performed, and the operation is paused after execution up to just before 4.
また、図13から図22を参照して、本実施形態にテストシナリオのステップ実行処理の一例について説明する。図13から図22は、本実施形態におけるテストシナリオのステップ実行処理の一例を示す図である。 Furthermore, an example of step execution processing of a test scenario in this embodiment will be described with reference to Figures 13 to 22. Figures 13 to 22 are diagrams showing an example of step execution processing of a test scenario in this embodiment.
図13に示すように、本実施形態においては、ステップ実行プログラムが起動され、画面操作プログラムおよびブラウザも起動され、「実行予定の番号」が1のため、これ以上の操作が行われない。 As shown in Figure 13, in this embodiment, the step execution program is launched, and the screen operation program and browser are also launched, but since the "scheduled execution number" is 1, no further operations are performed.
そして、図14に示すように、本実施形態においては、4行目が選択されて「指定行まで再生ボタン(三角縦棒ボタン)」が押下された場合、「実行予定の番号」が「4まで実行中」に変更される。 As shown in Figure 14, in this embodiment, when the fourth line is selected and the "Play to specified line button (triangle vertical bar button)" is pressed, the "Scheduled execution number" is changed to "Running up to 4."
そして、図15に示すように、本実施形態においては、「実行中の番号<実行予定の番号」となったため、1のアクションが実行される。 As shown in Figure 15, in this embodiment, the "currently executing number < scheduled execution number" occurs, so action 1 is executed.
そして、図16に示すように、本実施形態においては、1の処理が完了すると、画面操作プログラムによりログが出力され、「実行中の番号」が更新され、画面のインジケータが更新される。 As shown in Figure 16, in this embodiment, when process 1 is completed, a log is output by the screen operation program, the "current number" is updated, and the indicator on the screen is updated.
そして、図17に示すように、本実施形態においては、「実行中の番号<実行予定の番号」となったため、2のアクションが実行される。 As shown in Figure 17, in this embodiment, the "currently executing number < scheduled execution number" occurs, so action 2 is executed.
そして、図18に示すように、本実施形態においては、2のアクションが実行されている最中に「停止ボタン(四角ボタン)」が押下された場合、「実行中の番号」が2であるため、「実行予定の番号」が「3まで実行中」に変更される。 As shown in Figure 18, in this embodiment, if the "Stop button (square button)" is pressed while action 2 is being executed, the "Number currently being executed" is 2, so the "Number scheduled to be executed" is changed to "Executing up to 3."
そして、図19に示すように、本実施形態においては、2の処理が完了した場合、画面操作プログラムによりログが出力され、「実行中の番号」が更新され、画面のインジケータが更新される。この際、本実施形態においては、「実行中の番号<実行予定の番号」ではなくなったため、画面操作プログラムが待機となる。 As shown in Figure 19, in this embodiment, when process 2 is completed, the screen operation program outputs a log, updates the "currently running number," and updates the indicator on the screen. At this point, in this embodiment, since the "currently running number < scheduled to be executed number" is no longer the case, the screen operation program goes into standby mode.
そして、図20に示すように、本実施形態においては、続けて「再生ボタン(三角ボタン)」が押下された場合、「実行予定の番号」が「4まで実行中」に変更される。 Then, as shown in Figure 20, in this embodiment, if the "Play button (triangle button)" is subsequently pressed, the "Scheduled execution number" will change to "Executing up to 4."
そして、図21に示すように、本実施形態においては、「実行中の番号<実行予定の番号」となったため、3のアクションが実行される。 As shown in Figure 21, in this embodiment, the "currently executing number < scheduled execution number" occurs, so action 3 is executed.
そして、図22に示すように、本実施形態においては、3の処理が完了した場合、画面操作プログラムによりログが出力され、「実行中の番号」が更新され、画面のインジケータが更新される。この際、本実施形態においては、「実行中の番号<実行予定の番号」ではなくなったため、画面操作プログラムが待機となる。 As shown in Figure 22, in this embodiment, when process 3 is completed, the screen operation program outputs a log, updates the "currently running number," and updates the indicator on the screen. At this point, in this embodiment, since the "currently running number < scheduled to be executed number" is no longer the case, the screen operation program goes into standby mode.
また、図23を参照して、本実施形態における比較差異一覧プログラムからステップ実行プログラム呼出処理の概要について説明する。図23は、本実施形態におけるステップ実行プログラム呼出処理の一例を示す図である。 Furthermore, with reference to Figure 23, an overview of the step execution program call process from the comparison difference list program in this embodiment will be described. Figure 23 is a diagram showing an example of the step execution program call process in this embodiment.
本実施形態においては、図23右図に示す画面のプログラムに対して、ボタンがクリックされることでテキストの内容がラベルにコピーされることを前提として、(1)メニューから定義が起動され、(2)テキストにabcと入力され、(3)ボタンがクリックされ、(4)ラベルにabcが表示されていることが確認され、図23左図に示す操作が実行されるシナリオのテストが行われる。ここで、本実施形態においては、例えば、何らかの原因により(3)のタイミングでエラーが発生した場合、自動テストの動作が停止する。 In this embodiment, for the program on the screen shown in the right diagram of Figure 23, assuming that clicking a button copies the text content to a label, a scenario is tested in which (1) definition is launched from the menu, (2) abc is entered into the text, (3) the button is clicked, and (4) it is confirmed that abc is displayed in the label, executing the operations shown in the left diagram of Figure 23. Here, in this embodiment, if an error occurs at timing (3) for some reason, for example, the automatic test operation will stop.
また、図24から図26を参照して、本実施形態における比較差異一覧プログラムからステップ実行プログラム呼出処理の一例について説明する。図24から図26は、本実施形態におけるステップ実行プログラム呼出処理の一例を示す図である。 Furthermore, with reference to Figures 24 to 26, an example of step execution program calling processing from the comparison difference list program in this embodiment will be described. Figures 24 to 26 are diagrams showing an example of step execution program calling processing in this embodiment.
本実施形態においては、図24に示すように、比較差異一覧プログラムからステップ実行プログラムが起動され、図25に示すように、起動したステップ実行プログラムにより、「実行予定の番号」に比較差異一覧プログラムから渡された3がセットされ、図26に示すように、該当エラーが発生した3の操作の直前まで操作が実行される。この際、図26に示すように、本実施形態においては、ボタンが無効になっており、エラーの直接の原因をボタン無効によりユーザに知らせることができる。すなわち、図26に示すように、本実施形態においては、3のアクションを実行しようとした場合、ボタンが押せないためエラーとなり、処理が停止する(比較差異一覧プログラムに記録されている現象)。 In this embodiment, as shown in Figure 24, the step execution program is launched from the comparison difference list program, and as shown in Figure 25, the launched step execution program sets the "scheduled execution number" to 3, which was passed from the comparison difference list program, and as shown in Figure 26, operations are executed up to the operation 3 where the error occurred. At this time, as shown in Figure 26, in this embodiment, the button is disabled, and the direct cause of the error can be notified to the user by disabling the button. In other words, as shown in Figure 26, in this embodiment, when an attempt is made to execute action 3, an error occurs because the button cannot be pressed, and processing stops (a phenomenon recorded in the comparison difference list program).
[4.国連が主導する持続可能な開発目標(SDGs)への貢献]
本実施形態により、業務効率化や企業の適切な経営判断を推進することに寄与することができるので、SDGsの目標8及び9に貢献することが可能となる。
[4. Contribution to the United Nations-led Sustainable Development Goals (SDGs)]
This embodiment can contribute to improving business efficiency and promoting appropriate management decisions by companies, thereby contributing to the achievement of SDGs Goals 8 and 9.
また、本実施形態により、廃棄ロス削減や、ペーパレス・電子化を推進することに寄与することができるので、SDGsの目標12、13及び15に貢献することが可能となる。 Furthermore, this embodiment can contribute to reducing waste and promoting paperless and electronic systems, thereby contributing to SDGs goals 12, 13, and 15.
また、本実施形態により、統制、ガバナンス強化に寄与することができるので、SDGsの目標16に貢献することが可能となる。 Furthermore, this embodiment can contribute to strengthening control and governance, thereby contributing to Goal 16 of the SDGs.
[5.他の実施形態]
本発明は、上述した実施形態以外にも、特許請求の範囲に記載した技術的思想の範囲内において種々の異なる実施形態にて実施されてよいものである。
5. Other Embodiments
The present invention may be implemented in various different embodiments other than those described above within the scope of the technical concept set forth in the claims.
例えば、実施形態において説明した各処理のうち、自動的に行われるものとして説明した処理の全部または一部を手動的に行うこともでき、あるいは、手動的に行われるものとして説明した処理の全部または一部を公知の方法で自動的に行うこともできる。 For example, among the processes described in the embodiments, all or part of the processes described as being performed automatically can be performed manually, or all or part of the processes described as being performed manually can be performed automatically using known methods.
また、本明細書中や図面中で示した処理手順、制御手順、具体的名称、各処理の登録データや検索条件等のパラメータを含む情報、画面例、データベース構成については、特記する場合を除いて任意に変更することができる。 In addition, the processing procedures, control procedures, specific names, registered data for each process, information including parameters such as search conditions, screen examples, and database configurations shown in this specification and drawings may be changed as desired unless otherwise specified.
また、回帰テスト管理装置100に関して、図示の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。 Furthermore, with regard to the regression test management device 100, the components shown in the figure are functional concepts and do not necessarily have to be physically configured as shown.
例えば、回帰テスト管理装置100が備える処理機能、特に制御部102にて行われる各処理機能については、その全部または任意の一部を、CPUおよび当該CPUにて解釈実行されるプログラムにて実現してもよく、また、ワイヤードロジックによるハードウェアとして実現してもよい。尚、プログラムは、本実施形態で説明した処理を情報処理装置に実行させるためのプログラム化された命令を含む一時的でないコンピュータ読み取り可能な記録媒体に記録されており、必要に応じて回帰テスト管理装置100に機械的に読み取られる。すなわち、ROMまたはHDD(Hard Disk Drive)などの記憶部などには、OSと協働してCPUに命令を与え、各種処理を行うためのコンピュータプログラムが記録されている。このコンピュータプログラムは、RAMにロードされることによって実行され、CPUと協働して制御部を構成する。 For example, all or any part of the processing functions of the regression test management device 100, particularly the processing functions performed by the control unit 102, may be implemented by a CPU and a program interpreted and executed by the CPU, or may be implemented as hardware using wired logic. The program is recorded on a non-transitory, computer-readable recording medium containing programmed instructions for causing the information processing device to execute the processes described in this embodiment, and is mechanically read by the regression test management device 100 as needed. In other words, a computer program that works in conjunction with the OS to issue commands to the CPU and perform various processes is recorded in a storage unit such as a ROM or HDD (Hard Disk Drive). This computer program is executed by being loaded into RAM, and works in conjunction with the CPU to form the control unit.
また、このコンピュータプログラムは、回帰テスト管理装置100に対して任意のネットワークを介して接続されたアプリケーションプログラムサーバに記憶されていてもよく、必要に応じてその全部または一部をダウンロードすることも可能である。 In addition, this computer program may be stored on an application program server connected to the regression test management device 100 via any network, and all or part of it may be downloaded as needed.
また、本実施形態で説明した処理を実行するためのプログラムを、一時的でないコンピュータ読み取り可能な記録媒体に格納してもよく、また、プログラム製品として構成することもできる。ここで、この「記録媒体」とは、メモリーカード、USB(Universal Serial Bus)メモリ、SD(Secure Digital)カード、フレキシブルディスク、光磁気ディスク、ROM、EPROM(Erasable Programmable Read Only Memory)、EEPROM(登録商標)(Electrically Erasable and Programmable Read Only Memory)、CD-ROM(Compact Disk Read Only Memory)、MO(Magneto-Optical disk)、DVD(Digital Versatile Disk)、および、Blu-ray(登録商標) Disc等の任意の「可搬用の物理媒体」を含むものとする。 In addition, the program for executing the processing described in this embodiment may be stored on a non-temporary computer-readable recording medium, or may be configured as a program product. Here, this "recording medium" includes memory cards, USB (Universal Serial Bus) memories, SD (Secure Digital) cards, flexible disks, magneto-optical disks, ROMs, EPROMs (Erasable Programmable Read Only Memory), EEPROMs (registered trademark) (Electrically Erasable and Programmable Read Only Memory), CD-ROMs (Compact Disk Read Only Memory), MOs (Magneto-Optical disks), DVDs (Digital Versatile Disks), and more. This includes any "portable physical media" such as a Blu-ray Disc (registered trademark) and a Blu-ray (registered trademark) Disc.
また、「プログラム」とは、任意の言語または記述方法にて記述されたデータ処理方法であり、ソースコードまたはバイナリコード等の形式を問わない。なお、「プログラム」は必ずしも単一的に構成されるものに限られず、複数のモジュールやライブラリとして分散構成されるものや、OSに代表される別個のプログラムと協働してその機能を達成するものをも含む。なお、本実施形態に示した各装置において記録媒体を読み取るための具体的な構成および読み取り手順ならびに読み取り後のインストール手順等については、周知の構成や手順を用いることができる。 A "program" is a data processing method written in any language or description method, and may be in any format, such as source code or binary code. It should be noted that a "program" is not necessarily limited to a single structure, but also includes a distributed structure consisting of multiple modules or libraries, or a structure that achieves its function by working in conjunction with a separate program, such as an OS. The specific structure and reading procedure for reading a recording medium in each device shown in this embodiment, as well as the installation procedure after reading, can use well-known structures and procedures.
記憶部106に格納される各種のデータベース等は、RAM、ROM等のメモリ装置、ハードディスク等の固定ディスク装置、フレキシブルディスク、および、光ディスク等のストレージ手段であり、各種処理やウェブサイト提供に用いる各種のプログラム、テーブル、データベース、および、ウェブページ用ファイル等を格納する。 The various databases stored in the memory unit 106 are storage devices such as memory devices such as RAM and ROM, fixed disk devices such as hard disks, flexible disks, and optical disks, and store various programs, tables, databases, and web page files used for various processes and website provision.
また、回帰テスト管理装置100は、既知のパーソナルコンピュータまたはワークステーション等の情報処理装置として構成してもよく、また、任意の周辺装置が接続された当該情報処理装置として構成してもよい。また、回帰テスト管理装置100は、当該装置に本実施形態で説明した処理を実現させるソフトウェア(プログラムまたはデータ等を含む)を実装することにより実現してもよい。 The regression test management device 100 may also be configured as an information processing device such as a known personal computer or workstation, or as an information processing device connected to any peripheral device. The regression test management device 100 may also be implemented by installing software (including programs, data, etc.) that causes the device to perform the processing described in this embodiment.
更に、装置の分散・統合の具体的形態は図示するものに限られず、その全部または一部を、各種の付加等に応じてまたは機能負荷に応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。すなわち、上述した実施形態を任意に組み合わせて実施してもよく、実施形態を選択的に実施してもよい。 Furthermore, the specific form of distribution and integration of the devices is not limited to that shown in the figures, and all or part of them can be functionally or physically distributed and integrated in any unit depending on various additions or functional loads. In other words, the above-mentioned embodiments may be implemented in any combination, or embodiments may be implemented selectively.
本発明は、アプリケーションソフトウェアに係るIT業界等を含む様々な業界において有用である。 This invention is useful in a variety of industries, including the IT industry, which deals with application software.
100 回帰テスト管理装置
102 制御部
102a 比較差異部
102b 画面操作部
104 通信インターフェース部
106 記憶部
106a アプリケーションデータベース
108 入出力インターフェース部
112 入力装置
114 出力装置
200 サーバ
300 ネットワーク
REFERENCE SIGNS LIST 100 Regression test management device 102 Control unit 102a Comparison difference unit 102b Screen operation unit 104 Communication interface unit 106 Storage unit 106a Application database 108 Input/output interface unit 112 Input device 114 Output device 200 Server 300 Network
Claims (10)
前記記憶部は、
アプリケーションソフトウェア、前記アプリケーションソフトウェアに実行させるテストシナリオ、前記アプリケーションソフトウェアのユーザインタフェース定義、前記アプリケーションソフトウェアを自動実行するための画面操作命令、および、前記テストシナリオに沿った基準エビデンスを含むマスタデータを記憶するアプリケーション記憶手段、
を備え、
前記制御部は、
前記マスタデータに基づいて、所定実行環境において前記アプリケーションソフトウェアにより自動実行された前記テストシナリオのテストエビデンスを取得し、前記テストエビデンスと前記基準エビデンスとの間の比較差異エビデンスを取得する比較差異手段と、
前記マスタデータに基づいて、前記テストシナリオにおいて、前記比較差異エビデンスが発生する直前である直前シナリオまで前記アプリケーションソフトウェアを実行させた実行画面を表示させる画面操作手段と、
を備えたことを特徴とする回帰テスト管理装置。 A regression test management device comprising a storage unit and a control unit,
The storage unit
an application storage means for storing master data including application software, a test scenario to be executed by the application software, a user interface definition of the application software, a screen operation command for automatically executing the application software, and reference evidence in accordance with the test scenario;
Equipped with
The control unit
a comparison difference means for acquiring test evidence of the test scenario automatically executed by the application software in a predetermined execution environment based on the master data, and acquiring comparison difference evidence between the test evidence and the reference evidence;
a screen operation means for displaying an execution screen in which the application software has been executed up to a previous scenario immediately before the comparison difference evidence occurs in the test scenario based on the master data;
A regression test management device comprising:
更に、前記マスタデータに基づいて、前記テストシナリオに含まれる各ステップシナリオに対する実行制御指示を指定可能に表示させ、前記実行制御指示が指定された場合、指定ステップシナリオまで前記アプリケーションソフトウェアを実行させた前記実行画面を表示させることを特徴とする請求項1に記載の回帰テスト管理装置。 The screen operation means
The regression test management device according to claim 1, further comprising: displaying, based on the master data, execution control instructions for each step scenario included in the test scenario in a specifiable manner; and, when the execution control instructions are specified, displaying the execution screen in which the application software is executed up to the specified step scenario.
前記マスタデータに基づいて、前記テストシナリオに含まれる前記各ステップシナリオに対する前記実行制御指示を指定可能に表示させ、前記実行制御指示が指定された際に、前記テストシナリオにおいて前記指定ステップシナリオが前記直前シナリオより後のステップである場合、前記直前シナリオまで前記アプリケーションソフトウェアを実行させた前記実行画面を表示させることを特徴とする請求項2に記載の回帰テスト管理装置。 The screen operation means
The regression test management device according to claim 2, characterized in that the execution control instructions for each step scenario included in the test scenario are displayed in a specifiable manner based on the master data, and when the execution control instructions are specified, if the specified step scenario in the test scenario is a step later than the immediately preceding scenario, the execution screen in which the application software is executed up to the immediately preceding scenario is displayed.
前記アプリケーションソフトウェアの実行予定に含まれる最後の前記ステップシナリオの一つ後の前記ステップシナリオまでを新たな前記実行予定に指定する指示であることを特徴とする請求項2または3に記載の回帰テスト管理装置。 The execution control instruction is
4. The regression test management device according to claim 2, wherein the instruction specifies up to the step scenario immediately following the last step scenario included in the execution schedule of the application software as the new execution schedule.
ユーザ選択された前記ステップシナリオまでを前記アプリケーションソフトウェアの実行予定に指定する指示であることを特徴とする請求項2または3に記載の回帰テスト管理装置。 The execution control instruction is
4. The regression test management device according to claim 2, wherein the instruction specifies up to the step scenario selected by the user in the execution schedule of the application software.
前記テストシナリオに含まれる最後の前記ステップシナリオまでを前記アプリケーションソフトウェアの実行予定に指定する指示であることを特徴とする請求項2または3に記載の回帰テスト管理装置。 The execution control instruction is
4. The regression test management device according to claim 2, wherein the instruction specifies up to the last step scenario included in the test scenario in the execution schedule of the application software.
現在実行中の前記ステップシナリオまでを前記アプリケーションソフトウェアの実行予定に指定する指示であることを特徴とする請求項2または3に記載の回帰テスト管理装置。 The execution control instruction is
4. The regression test management device according to claim 2, wherein the instruction specifies up to the step scenario currently being executed in the execution schedule of the application software.
ローコード開発ツール、または、ノーコード開発ツールにより作成されたソフトウェアであることを特徴とする請求項1から3のいずれか一つに記載の回帰テスト管理装置。 The application software includes:
4. The regression test management device according to claim 1, wherein the software is created using a low-code development tool or a no-code development tool.
前記記憶部は、
アプリケーションソフトウェア、前記アプリケーションソフトウェアに実行させるテストシナリオ、前記アプリケーションソフトウェアのユーザインタフェース定義、前記アプリケーションソフトウェアを自動実行するための画面操作命令、および、前記テストシナリオに沿った基準エビデンスを含むマスタデータを記憶するアプリケーション記憶手段、
を備え、
前記制御部において実行される、
前記マスタデータに基づいて、所定実行環境において前記アプリケーションソフトウェアにより自動実行された前記テストシナリオのテストエビデンスを取得し、前記テストエビデンスと前記基準エビデンスとの間の比較差異エビデンスを取得する比較差異ステップと、
前記マスタデータに基づいて、前記テストシナリオにおいて、前記比較差異エビデンスが発生する直前である直前シナリオまで前記アプリケーションソフトウェアを実行させた実行画面を表示させる画面操作ステップと、
を含むことを特徴とする回帰テスト管理方法。 A regression test management method to be executed by a regression test management device having a storage unit and a control unit,
The storage unit
an application storage means for storing master data including application software, a test scenario to be executed by the application software, a user interface definition of the application software, a screen operation command for automatically executing the application software, and reference evidence in accordance with the test scenario;
Equipped with
Executed in the control unit:
a comparison difference step of acquiring test evidence of the test scenario automatically executed by the application software in a predetermined execution environment based on the master data, and acquiring comparison difference evidence between the test evidence and the reference evidence;
a screen operating step of displaying an execution screen in which the application software has been executed up to a previous scenario immediately before the comparison difference evidence occurs in the test scenario based on the master data;
A regression test management method comprising:
前記記憶部は、
アプリケーションソフトウェア、前記アプリケーションソフトウェアに実行させるテストシナリオ、前記アプリケーションソフトウェアのユーザインタフェース定義、前記アプリケーションソフトウェアを自動実行するための画面操作命令、および、前記テストシナリオに沿った基準エビデンスを含むマスタデータを記憶するアプリケーション記憶手段、
を備え、
前記制御部において、
前記マスタデータに基づいて、所定実行環境において前記アプリケーションソフトウェアにより自動実行された前記テストシナリオのテストエビデンスを取得し、前記テストエビデンスと前記基準エビデンスとの間の比較差異エビデンスを取得する比較差異ステップと、
前記マスタデータに基づいて、前記テストシナリオにおいて、前記比較差異エビデンスが発生する直前である直前シナリオまで前記アプリケーションソフトウェアを実行させた実行画面を表示させる画面操作ステップと、
を実行させるための回帰テスト管理プログラム。 A regression test management program to be executed by a regression test management device having a storage unit and a control unit,
The storage unit
an application storage means for storing master data including application software, a test scenario to be executed by the application software, a user interface definition of the application software, a screen operation command for automatically executing the application software, and reference evidence in accordance with the test scenario;
Equipped with
In the control unit,
a comparison difference step of acquiring test evidence of the test scenario automatically executed by the application software in a predetermined execution environment based on the master data, and acquiring comparison difference evidence between the test evidence and the reference evidence;
a screen operating step of displaying an execution screen in which the application software has been executed up to a previous scenario immediately before the comparison difference evidence occurs in the test scenario based on the master data;
A regression test management program for running the test.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022212664A JP7804566B2 (en) | 2022-12-28 | 2022-12-28 | Regression test management device, regression test management method, and regression test management program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022212664A JP7804566B2 (en) | 2022-12-28 | 2022-12-28 | Regression test management device, regression test management method, and regression test management program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2024095391A JP2024095391A (en) | 2024-07-10 |
| JP7804566B2 true JP7804566B2 (en) | 2026-01-22 |
Family
ID=91809866
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2022212664A Active JP7804566B2 (en) | 2022-12-28 | 2022-12-28 | Regression test management device, regression test management method, and regression test management program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7804566B2 (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003256035A (en) | 2002-02-27 | 2003-09-10 | Toshiba Corp | Plant monitoring equipment |
| JP2011060052A (en) | 2009-09-11 | 2011-03-24 | Mitsubishi Electric Corp | Method for executing software test |
| US20130004087A1 (en) | 2011-06-30 | 2013-01-03 | American Express Travel Related Services Company, Inc. | Method and system for webpage regression testing |
| JP2020126591A (en) | 2019-01-31 | 2020-08-20 | 株式会社 ミックウェア | Information processor, control method of information processor, and control program |
| JP2021177272A (en) | 2020-05-07 | 2021-11-11 | 三菱電機エンジニアリング株式会社 | Debug support device, debug support method and program |
-
2022
- 2022-12-28 JP JP2022212664A patent/JP7804566B2/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003256035A (en) | 2002-02-27 | 2003-09-10 | Toshiba Corp | Plant monitoring equipment |
| JP2011060052A (en) | 2009-09-11 | 2011-03-24 | Mitsubishi Electric Corp | Method for executing software test |
| US20130004087A1 (en) | 2011-06-30 | 2013-01-03 | American Express Travel Related Services Company, Inc. | Method and system for webpage regression testing |
| JP2020126591A (en) | 2019-01-31 | 2020-08-20 | 株式会社 ミックウェア | Information processor, control method of information processor, and control program |
| JP2021177272A (en) | 2020-05-07 | 2021-11-11 | 三菱電機エンジニアリング株式会社 | Debug support device, debug support method and program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2024095391A (en) | 2024-07-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103761218A (en) | Method for annotating and commenting electronic document on computer | |
| CN110688145B (en) | Android MVP code automatic generation method and device, medium and electronic equipment | |
| JP7804566B2 (en) | Regression test management device, regression test management method, and regression test management program | |
| JP2025069388A (en) | RPA management device, RPA management method, and RPA management program | |
| JP7736635B2 (en) | Test result visualization file generation device, test result visualization file generation method, and test result visualization file generation program | |
| US20080082961A1 (en) | Extensibility mechanisms for visual programming | |
| JP4630894B2 (en) | Security design evaluation support apparatus and program | |
| JP7426305B2 (en) | Design document reference work support device, design document reference work support method, and design document reference work support program | |
| JP2025154078A (en) | Test scenario creation support system, test scenario creation support method, and test scenario creation support program | |
| JP2025154151A (en) | Test scenario execution support system, test scenario execution support method, and test scenario execution support program | |
| JP7530343B2 (en) | System development support device, system development support method and system development support program | |
| JP2026005857A (en) | Automation management device, automation management method, and automation management program | |
| JP2026005820A (en) | Automation management device, automation management method, and automation management program | |
| JP7768844B2 (en) | Test preparation efficiency improvement device, test preparation efficiency improvement method, and test preparation efficiency improvement program | |
| JP7816760B2 (en) | Shell script support device, shell script generation device, and related systems, methods, programs, and recording media | |
| CN113672465A (en) | Method, system, medium, terminal and unmanned aerial vehicle for generating process log system by process name | |
| JP2005266976A (en) | Program storage device, program storage method, program, and recording medium | |
| JP7712980B2 (en) | Test scenario creation support system, test scenario creation support method, and test scenario creation support program | |
| CN113778434A (en) | Multilingual document management method, device, electronic equipment and storage medium | |
| JP7644280B2 (en) | HELP LINKING MANAGEMENT DEVICE, HELP LINKING MANAGEMENT METHOD, AND HELP LINKING MANAGEMENT PROGRAM | |
| JP2025117797A (en) | Update management device, update management method, and update management program | |
| JP2001318796A (en) | Program execution control method using internal and external event driven system, recording medium and program preparation support system | |
| JP5097070B2 (en) | Property file reading system and method and program | |
| JP6785916B1 (en) | Setting execution device, setting execution method and setting execution program | |
| JP4941309B2 (en) | System management program and system management apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20250117 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20251119 |
|
| 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: 20251216 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20260109 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7804566 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |