Search

JP-7856716-B2 - Regression test execution support device, regression test execution support method, and regression test execution support program

JP7856716B2JP 7856716 B2JP7856716 B2JP 7856716B2JP-7856716-B2

Inventors

  • 馬場 健人
  • 渡邉 絢子

Assignees

  • 株式会社オービック

Dates

Publication Date
20260511
Application Date
20240919

Claims (7)

  1. A regression test execution support device equipped with a control unit and supporting the execution of regression tests by an automated operation means, An exclusion policy master that stores the policy name and policy identifier of the exclusion policy used for image comparison in the regression test, A scenario management table that stores operational information including the scenario identifier, scenario name, tag name, and action identifier for the regression test, Accessible, The control unit, An exclusion policy display means that displays the policy names stored in the exclusion policy master as an exclusion policy list screen, An exclusion policy setting means creates a policy linking table that links the images obtained in the regression test with the exclusion policies set by the user via the exclusion policy list screen, Equipped with, The regression test execution support device is characterized in that the policy linking table stores the scenario identifier and action identifier from the scenario management table and the policy identifier from the exclusion policy master.
  2. A policy management table creation means stores exclusion policies created by the user via the exclusion policy editing screen in the exclusion policy master along with automatically assigned policy identifiers, and creates an exclusion policy management table that includes the policy identifier, policy name, and exclusion area. The regression test execution support device according to claim 1, characterized by comprising the following:
  3. An execution setting management table containing the execution setting name, the execution target, and the execution setting identifier, which are set for the purpose of performing the aforementioned regression test. Accessible, The regression test execution support device according to claim 1, characterized in that the automatic operation means obtains the execution target of the execution setting name specified by the execution setting instruction from the execution setting management table, extracts the regression test of the execution target from the scenario management table, and executes it, based on the execution setting name specified by the execution setting instruction from the user.
  4. The regression test execution support device according to claim 3, characterized in that, in each action of the regression test, the automated operation means refers to the policy linking table, obtains the exclusion policy setting information, and, if an exclusion policy is set, compares the image of the old environment obtained in the regression test with the image of the new environment according to the set exclusion policy, and outputs the comparison result.
  5. An execution setting management table creation means that creates the execution setting management table using the execution pattern set by the user via the execution setting editing screen. The regression test execution support device according to claim 3, characterized by comprising the above.
  6. A regression test execution support method that supports the execution of a regression test by an automated operation means, which is performed by a regression test execution support device equipped with a control unit, An exclusion policy master that stores the policy name and policy identifier of the exclusion policy used for image comparison in the regression test, A scenario management table that stores operational information including the scenario identifier, scenario name, tag name, and action identifier for the regression test, Accessible, To be executed by the control unit, An exclusion policy display step that displays the exclusion policies stored in the exclusion policy master as an exclusion policy list screen, An exclusion policy setting step creates a policy linking table that links the images obtained in the regression test with the exclusion policies set by the user via the exclusion policy list screen, Includes, A regression test execution support method characterized in that the policy linking table stores the scenario identifier and action identifier of the scenario management table and the policy identifier of the exclusion policy master.
  7. A regression test execution support program that assists in the execution of a regression test by an automated means, which is executed by a regression test execution support device equipped with a control unit, An exclusion policy master that stores the policy name and policy identifier of the exclusion policy used for image comparison in the regression test, A scenario management table that stores operational information including the scenario identifier, scenario name, tag name, and action identifier for the regression test, Accessible, The control unit, An exclusion policy display step that displays the exclusion policies stored in the exclusion policy master as an exclusion policy list screen, An exclusion policy setting step creates a policy linking table that links the images obtained in the regression test with the exclusion policies set by the user via the exclusion policy list screen, A regression test execution support program characterized in that it executes the following, and the policy linking table stores the scenario identifier and action identifier of the regression test and the policy identifier of the exclusion policy master.

Description

This invention relates to a regression test execution support device, a regression test execution support method, and a regression test execution support program. In recent years, with the increasing scale of systems, the need for regression testing using RPA (Robotic Process Automation) has been growing. One regression testing method involves using a program to automatically perform operations, taking screenshots of the screen at arbitrary times, and comparing these screenshots with those taken during previous regression tests. A problem with this method is that differences in images unrelated to bugs or changes in operation may occur during test execution. In contrast, Patent Document 1 describes an information processing device characterized by comprising: an image storage unit that stores screenshots of the old and new environments of a target application screen in file format; an exclusion policy setting means that, in response to operator operations on a settings screen displayed on a display unit, hierarchically structures the files in the image storage unit and hierarchically sets exclusion policies for image comparison for the structured files; and a comparison means that outputs the comparison results of the screenshots of the old and new environments in the image storage unit according to the set exclusion policies. Japanese Patent Publication No. 2022-132098 Figure 1 is a block diagram showing an example of the configuration of the regression test execution support device according to this embodiment.Figure 2 illustrates the settings for the exclusion policy for images.Figure 3 is a diagram illustrating the processing of a regression test execution support device according to an embodiment.Figure 4 shows the relationship between the scenario editing screen and the scenario management table.Figure 5 shows the relationship between the execution settings editing screen and the execution settings management table.Figure 6 illustrates the execution command for regression testing using the execution settings list screen.Figure 7 shows the regression test process under execution condition 1 (no reference image, no exclusion policy).Figure 8 shows an example of the result confirmation screen for execution condition 1.Figure 9 shows an example of the image confirmation screen under execution condition 1.Figure 10 shows the regression test process under execution condition 2 (reference image available, no exclusion policy).Figure 11 shows an example of the result confirmation screen for execution condition 2.Figure 12 shows an example of the image confirmation screen under execution condition 2.Figure 13 illustrates the creation and registration of exclusion policies.Figure 14 illustrates the association of exclusion policies with images.Figure 15 shows the regression test process under execution condition 3 (with reference image and exclusion policy).Figure 16 shows an example of the result confirmation screen for execution condition 3.Figure 17 shows an example of an exclusion policy pattern.Figure 18 shows an example of an exclusion policy pattern. The embodiments of the regression test execution support device, regression test execution support method, and regression test execution support program according to the present invention will be described in detail below with reference to the drawings. However, the present invention is not limited to these embodiments. [1. Structure] An example of the configuration of the regression test execution support device 100 according to this embodiment will be described with reference to Figure 1. The regression test execution support device 100 can be configured, for example, on a low-code platform. Alternatively, it may be configured on a no-code platform. Figure 1 is a block diagram showing an example of the configuration of the regression test execution support device 100. The regression test execution support device 100 is a system for executing regression tests used by users such as scenario creators and testers. Here, a tester is a person who verifies the operation of the applications stored in the regression test execution support device 100. In addition to scenario creators and testers, the execution of regression tests also includes periodic automatic execution by the system. The regression test execution support device 100 may be a stationary information processing system such as a workstation or desktop personal computer, or an information processing system such as a commercially available notebook personal computer. The regression test execution support device 100 comprises a control unit 102, a communication interface unit 104, a storage unit 106, and an input/output interface unit 108. Each component of the regression test execution support device 100 is connected via an arbitrary communication path for communication. The communication interface unit 104 connects the regression test execution support device 100 to the network 300 via a communication