WO2023224013A1 - Test pattern generation device and test pattern generation program - Google Patents

Test pattern generation device and test pattern generation program Download PDF

Info

Publication number
WO2023224013A1
WO2023224013A1 PCT/JP2023/018167 JP2023018167W WO2023224013A1 WO 2023224013 A1 WO2023224013 A1 WO 2023224013A1 JP 2023018167 W JP2023018167 W JP 2023018167W WO 2023224013 A1 WO2023224013 A1 WO 2023224013A1
Authority
WO
WIPO (PCT)
Prior art keywords
input
test pattern
pattern generation
test
display information
Prior art date
Application number
PCT/JP2023/018167
Other languages
French (fr)
Japanese (ja)
Inventor
友一 樫山
Original Assignee
オン・デマンド・ワン株式会社
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 オン・デマンド・ワン株式会社 filed Critical オン・デマンド・ワン株式会社
Publication of WO2023224013A1 publication Critical patent/WO2023224013A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/263Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software

Definitions

  • the present disclosure relates to a test pattern generation device and a test pattern generation program.
  • Patent Document 1 discloses a device that modifies a request generated from a transition scenario that aggregates screen transition routes according to predetermined conditions, and determines the degree of vulnerability according to the content of the response to the request. There is.
  • test pattern A set of input values input in this way is called a test pattern.
  • the input values included in the test pattern are not set appropriately, for example because they do not match the input format of the input area, there is a risk that the vulnerability test cannot be continued due to format mismatch (format error). There is. Specifically, if there is a format mismatch in even one of the multiple input items, the vulnerability test may not be able to be continued. Therefore, it is desirable to appropriately set the test pattern.
  • test pattern generation device and a test pattern generation program according to the present disclosure aim to generate appropriate test patterns.
  • a test pattern generation device (1) is a test pattern generation device (1) that generates a test pattern (TP) for a vulnerability test to test the vulnerability of screen display information, Screen display information for acquiring screen display information of a target screen (W) that includes multiple default display areas (DA) with default displays and multiple input areas (IA) where input values (IV) can be entered.
  • the screen display information acquired by the acquisition unit (10) and the screen display information acquisition unit (10) is analyzed and input into a plurality of input areas (IA) in order to test the vulnerability of the screen display information.
  • test pattern generation section (11) that generates a test pattern (TP) specifying an input value (IV), the test pattern generation section (11) being set in each of a plurality of input areas (IA);
  • the input value (IV) to be input to each of multiple input areas (IA) is specified according to the variable name (FN) set in the input area (IA).
  • a test pattern generation program (P) causes a computer (C) to execute a test pattern generation process to generate a test pattern (TP) for a vulnerability test for testing the vulnerability of screen display information.
  • a test pattern generation program (P) that causes a computer (C) to display a plurality of default display areas (DA) in which default displays are displayed and a plurality of input areas (IA) in which input values (IV) can be entered.
  • DA default display areas
  • IA input areas
  • a test pattern generation unit (11) that generates a test pattern (TP) specifying input values (IV) to be input to a plurality of input areas (IA) in order to test vulnerabilities;
  • the generation unit (11) acquires the variable name (FN) set in each of the plurality of input areas (IA), and generates an input value (IV) to be input to each of the plurality of input areas (IA). Specify according to the variable name (FN) set in the input area (IA).
  • test pattern generation device (1) and test pattern generation program (P) screen display information of a target screen (W) including a default display area (DA) and a plurality of input areas (IA).
  • a test pattern (TP) is generated that specifies input values (IV) to be input into a plurality of input areas (IA) in a vulnerability test of the screen display information.
  • the variable name (FN) set in each of a plurality of input areas (IA) is obtained, and the input value (IV) is determined according to the variable name (FN) set in the input area (IA). is specified.
  • FN variable name
  • the test pattern generation unit (11) creates a label name (LN) in each of the plurality of input areas (IA) based on the default display area (DA). and specify the input value (IV) to be input into each of multiple input areas (IA) according to the variable name (FN) and label name (LN) set in the input area (IA). You may. According to this, a more suitable input value (IV) can be specified by referring to the label name (LN) set for each of a plurality of input areas (IA) based on the default display area (DA). Become.
  • the test pattern generation unit (11) includes a default display displayed at a position closest to each of the plurality of input areas (IA) on the target screen (W).
  • a label name (LN) may be set in the input area (IA) based on the area (DA). According to this, it becomes easy to set an appropriate label name (LN) for each of the plurality of input areas (IA).
  • a test pattern generation device (1) generates a vulnerability test based on a test result of a vulnerability test performed using a test pattern (TP) generated by a test pattern generation unit (11).
  • the test pattern generation unit (11) includes a format conformance determination unit (14) that determines whether the pattern (TP) conforms to a format for testing the vulnerability of screen display information. (14), if it is determined that the test pattern (TP) does not conform to the format for testing the vulnerability of screen display information, a new label name (LN) is added to each of the multiple input areas (IA). ), and set the input value (IV) to be input in each of the multiple input areas (IA) to the variable name (FN) and the variable name (FN) set in the input area (IA). It may be newly designated according to the modified label name (MLN). According to this, even if the label name (LN) set for multiple input areas (IA) is not appropriate, another label name (LN) can be set and vulnerability testing can be continued. Can be done.
  • the test pattern generation unit (11) includes a default display displayed at a position closest to each of the plurality of input areas (IA) on the target screen (W).
  • a label name (LN) is set in the input area (IA) based on the area (DA)
  • the test pattern (TP) is used by the format conformance determination unit (14) to test the vulnerability of the screen display information.
  • the relevant A modified label name (MLN) may be set in the input area (IA).
  • a test pattern generation device (1) generates a vulnerability test based on a test result of a vulnerability test performed using a test pattern (TP) generated by a test pattern generation unit (11).
  • the test pattern generation unit (11) includes a format conformance determination unit (14) that determines whether the pattern (TP) conforms to a format for testing the vulnerability of screen display information.
  • the input value (IV) input from the user terminal (2) may be newly specified. According to this, even if the label name (LN) set in multiple input areas (IA) is not appropriate, the user can manually specify another appropriate label name (LN). Vulnerability testing can continue.
  • the test pattern generation unit (11) generates a variable name (FN) and a label name (LN) set in each of the plurality of input areas (IA).
  • the screen display information acquisition unit (10) adds new information to the trained model in which the neural network has been trained to estimate input values (IV) to be input to each of the plurality of input areas (IA).
  • multiple input values (IV) can be output as new output data corresponding to the input data.
  • the test pattern generation unit (11) determines whether the input value (IV) to be input to each of the plurality of input areas (IA) is a date. If it is determined that the input value (IV) to be input into each of the plurality of input areas (IA) is a date, a description of the date display included in the default display area (DA). The format may be determined and the date represented by the description format may be designated as the input value (IV). According to this, it is possible to specify a more suitable date input value (IV) by taking advantage of the fact that the date display format is likely to be common within the same target screen (W). .
  • a vulnerability test is performed on a specific input area (SIA) that is a test target among a plurality of input areas (IA) included in a target screen (W); This is a test executed by inputting an input value (IV) to each of the remaining input areas (RIA) other than the specific input area (SIA), and the test pattern generation unit (11) is a screen display information acquisition unit.
  • the screen display information obtained in (10) may be analyzed to generate a test pattern (TP) specifying the input value (IV) to be input to the residual input area (RIA). According to this, it becomes possible to specify a suitable input value (IV) for the input area (IA) other than the test target among the plurality of input areas (IA).
  • the test pattern generation unit (11) analyzes the screen display information acquired by the screen display information acquisition unit (10), and ) A test pattern (TP) may be generated in which a test target input value, which is an input value (IV) to be input into the test pattern (IV), is specified. According to this, it becomes possible to input a suitable input value (IV) into the specific input area (SIA) that is the test target.
  • test pattern generation device and test pattern generation program according to the present disclosure can generate appropriate test patterns.
  • FIG. 1 is a block diagram showing the functional configuration of a test pattern generation device according to this embodiment.
  • FIG. 2 is a diagram showing an example of the target screen.
  • FIG. 3 is a diagram showing an example of variable names, label names, and test patterns corresponding to the target screen.
  • FIG. 4 is a diagram showing an example of variable names, label names, and test patterns when corrected label names are set for some of the label names.
  • FIG. 5 is a flowchart of test pattern generation processing executed by the test pattern generation device.
  • FIG. 6 is a block diagram showing the module configuration of the test pattern generation program.
  • FIG. 1 is a block diagram showing the functional configuration of a test pattern generation device 1 according to this embodiment.
  • FIG. 2 is a diagram showing an example of the target screen W.
  • FIG. 3 is a diagram showing an example of a variable name FN, a label name LN, and a test pattern TP corresponding to the target screen W.
  • the test pattern generation device 1 shown in FIGS. 1 to 3 is a vulnerability test for testing the vulnerability of the screen display information of the target screen W when designing the target screen W, which is a screen to be displayed on a display or the like. This is a device that generates an appropriate test pattern TP.
  • the "target screen W" is a screen that can be displayed on a display or the like by a user, such as the general public or a specific customer.
  • the target screen W may be a page on a website, or may be a data file as a document that can be exchanged over a network or the like.
  • a fictitious application form (equipment use application form) used within a company is illustrated as a simple example of the target screen W.
  • the target screen W shown in Figure 2 displays the name of the equipment manager, as well as the applicant's name and date of birth, in order to apply to the equipment manager for the use of the equipment for which the application is being made (equipment in the head office hall).
  • the "user” is a person who actually uses the target screen W, and may be a person different from the person (user) who designs or develops the target screen W.
  • the user is an applicant who attempts to apply to the equipment manager for use of the equipment in the head office hall.
  • Screen display information is information that specifies the contents of the target screen W in detail.
  • the screen display information may be written in any format. Here, it is assumed that the target screen W is written in HTML as an example.
  • the screen display information is recorded on, for example, a web server, and may be downloaded from the web server as needed.
  • the target screen W includes a plurality of default display areas DA and a plurality of input areas IA.
  • the "default display area DA" is an area where a default display is displayed.
  • the default display area DA is an area that cannot be rewritten by the user or an area that is not expected to be rewritten by the user.
  • the default display area DA includes "Application form for equipment use”, “Lord”, “Name”, “Date of birth”, “Contact information”, “Base name”, and “Application for use of the following equipment”. ” and “Facilities in the head office hall (equipment to be put into service on January 1, 2020)” are shown as examples.
  • the "input area IA” is an area where an input value IV can be input.
  • the input area IA is an area for input by the user.
  • "Input value IV" is information input into the input area IA, and for example, if the input area IA is a text box or a drop-down list, it may be a character string, or if the input area IA is a radio button. Alternatively, in the case of a check box or the like, it may be checked or not.
  • the input area IA is ⁇ Text box immediately before ⁇ Mr.'''', ⁇ Text box immediately after ⁇ Name'''', ⁇ Text box immediately after ⁇ Date of birth'', and ⁇ Contact information''.
  • the display areas of "Text box immediately after 'base name'" and "Text box immediately after 'base name'" are illustrated.
  • variable name FN is set in each input area IA.
  • the variable name FN is a character string linked to each input area IA in the screen display information, and may be composed of words related to the contents of each input area IA.
  • the variable names FN associated with each input area IA are "Equipment Manager” associated with "Text box immediately before 'Name'" and "Text box immediately after 'Name'”.
  • Vulnerability test is a test that examines the vulnerability of screen display information.
  • "Vulnerability” here refers to an error (an event in which processing on the target screen W cannot be continued) due to the contents of the input value IV entered into the input area IA on the target screen W. This means the extent to which this may occur. Such an error may typically be an event that occurs when an unexpected input value IV is input into the input area IA.
  • the "error” here means that the target screen W does not function properly due to vulnerability in the screen display information, and is different from “format incompatibility (format error)” described later.
  • each of the plurality of input areas IA is classified into a specific input area SIA or a residual input area RIA.
  • the "specific input area SIA” means the input area IA that is the test target among the plurality of input areas IA included in the target screen W.
  • the "remaining input area RIA” means an input area IA other than the specific input area SIA among the plurality of input areas IA included in the target screen W. That is, the vulnerability test is a test executed by inputting the input value IV to each of the specific input area SIA and the remaining input area RIA. In the vulnerability test, all or part of a plurality of input areas IA are sequentially set one item at a time to the specific input area SIA. In FIG.
  • Test pattern TP is a set of input values IV specifying input values IV to be input into each input area IA in order to test the vulnerability of screen display information in a vulnerability test.
  • the test pattern TP may be a set of input values IV specifying at least the input values IV to be input to the remaining input area RIA.
  • the test pattern TP may be a set of input values IV specifying input values IV to be input to each of the specific input area SIA and the remaining input area RIA.
  • the test pattern generation device 1 is physically configured as a computer C (server) that can communicate with the user terminal 2 and the like via a network by wire or wirelessly.
  • the test pattern generation device 1 includes a control calculation device, a storage device, and an input/output device.
  • the control arithmetic device is configured as a controller such as a CPU (Central Processing Unit), and performs arithmetic processing and controls a storage device and an input/output device.
  • the storage device includes, for example, a main storage device and an auxiliary storage device.
  • the main storage device is composed of, for example, RAM (Random Access Memory).
  • the auxiliary storage device is constituted by, for example, a ROM (Read Only Memory).
  • the input/output device includes, for example, an input device that receives data from the outside and sends it to the storage device, and an output device that outputs the calculation result calculated by the control calculation device and stored in the storage device to the outside. There is.
  • the test pattern generation device 1 executes a predetermined process by, for example, loading a program stored in a ROM into a RAM, and executing the program loaded into the RAM by a CPU.
  • the test pattern generation device 1 loads a test pattern generation program P stored in the ROM into the RAM, and executes the test pattern generation program P read into the RAM by the CPU, thereby performing the test pattern generation process described below. Execute.
  • the test pattern generation device 1 may physically have a configuration different from the configuration described above.
  • the user terminal 2 can create and edit screen display information for the target screen W.
  • the user terminal 2 displays the created and edited target screen W on a browser. Further, the user terminal 2 cooperates with the test pattern generation device 1 using the extension function of the browser to execute a vulnerability test of the screen display information of the target screen W.
  • the user terminal 2 sends screen display information to the test pattern generation device 1, sends a test pattern request to the test pattern generation device 1, and executes a test according to the sent test pattern request.
  • the pattern TP is received from the test pattern generation device 1, and the test result of the vulnerability test is transmitted to the test pattern generation device 1.
  • the "test pattern request" is a request to transmit a test pattern TP corresponding to screen display information for which vulnerability is to be tested.
  • the test pattern request may be a request to transmit a test pattern TP according to screen display information that has already been transmitted from the user terminal 2 to the test pattern generation device 1.
  • the user terminal 2 may be a notebook computer, a desktop computer, a tablet, a smartphone, or the like operated by the user, and here it is assumed that the user terminal 2 is a notebook computer.
  • the test pattern generation device 1 includes a screen display information acquisition section 10, a test pattern generation section 11, a test pattern transmission section 12, a test result reception section 13, a format conformance determination section 14, a vulnerability determination section 15, and a result notification information generation section 16.
  • the screen display information acquisition unit 10 acquires screen display information of the target screen W including the default display area DA and input area IA.
  • the screen display information acquisition unit 10 may acquire the screen display information from the user terminal 2, for example, or may acquire the image display information from an external server or the like that receives the screen display information from the user terminal 2.
  • the screen display information acquisition unit 10 also displays the screen display information created and edited by the test pattern generation device 1 itself. Information may also be obtained.
  • the test pattern generation unit 11 analyzes the screen display information acquired by the screen display information acquisition unit 10, and generates input values IV to be input into the plurality of input areas IA in order to test the vulnerability of the screen display information.
  • a test pattern TP that specifies is generated.
  • the test pattern generation unit 11 may analyze the screen display information acquired by the screen display information acquisition unit 10 and generate a test pattern TP specifying the input value IV to be input into the remaining input area RIA.
  • a test pattern TP may be generated specifying input values IV to be input to each of the specific input area SIA and the remaining input area RIA.
  • the test pattern generation unit 11 may generate the test pattern TP when the screen display information acquisition unit 10 acquires the screen display information, and the test pattern generation unit 11 may generate the test pattern TP when the screen display information acquisition unit 10 acquires the screen display information.
  • the test pattern TP may be generated when a predetermined condition is met (for example, an explicit instruction is given).
  • the test pattern generation unit 11 analyzes the screen display information acquired by the screen display information acquisition unit 10, and generates a test pattern TP specifying the test target input value, which is the input value IV to be input into the specific input area SIA. May be generated. More specifically, the test pattern generation unit 11 may generate a test pattern TP specifying only the input value IV (input value to be tested) to be input to the specific input area SIA as the input value IV; A test pattern TP may be generated that specifies both the input value IV (test target input value) to be input to the input area SIA and the input value IV to be input to the remaining input area RIA. Further, the test pattern generation unit 11 may generate a test pattern TP specifying only the input value IV to be input into the remaining input area RIA as the input value IV.
  • FIG. 4 is a diagram showing an example of variable names FN, label names LN, and test patterns TP when corrected label names MLN are set for some of the label names LN.
  • a specific method for generating the test pattern TP by the test pattern generation section 11 will be described with reference to FIGS. 2 to 4.
  • variable names FN are set in each input area IA of the target screen W.
  • the variable name FN corresponding to the input area IA is defined in the screen display information.
  • the test pattern generation unit 11 acquires the variable name FN set in each input area IA. Specifically, the test pattern generation unit 11 analyzes the contents of the screen display information written in HTML and obtains the variable name FN set in each input area IA.
  • the test pattern generation unit 11 sets a label name LN in each input area IA based on the default display area DA of the target screen W.
  • Label name LN expresses the content of the input value IV to be input into each input area IA.
  • the label name LN is given to each input area IA by the test pattern generation unit 11 according to a predetermined algorithm. That is, the label name LN corresponding to each input area IA is not defined in the screen display information.
  • the test pattern generation unit 11 sets a label name LN for each input area IA on the target screen W based on the default display area DA displayed at the closest position from each input area IA.
  • the "nearest position" refers to each input area IA (specifically, the center of each input area IA, or an arbitrary point on the outer periphery of each input area IA, etc.) when the target screen W is displayed on the display. ) means that the straight line distance on the display is the shortest.
  • the label name LN is "Tono" because the default display area DA displayed at the closest position is "Tono". It is set.
  • the label name LN is set to "Name” because the default display area DA displayed at the closest position is "Name”.
  • the label name LN is set to 'Date of Birth' because the default display area DA displayed at the closest position is 'Date of Birth'. has been done.
  • the label name LN is set to 'Contact' because the default display area DA displayed at the closest position is 'Contact'. .
  • the label name LN is "(abbreviation not allowed)" because the default display area DA displayed at the closest position is "(abbreviation not allowed)”. It is set.
  • the test pattern generation unit 11 modifies the already set label name LN and sets a modified label name MLN.
  • "Modified label name MLN" is a label name LN newly set in the input area IA in which a label name LN has already been set.
  • the test pattern generation section 11 when the format conformance determination section 14 determines that the test pattern TP does not conform to the format for testing the vulnerability of screen display information, the test pattern generation section 11 generates a Set the modified label name MLN.
  • the test pattern generation unit 11 may set the corrected label name MLN to all of the plurality of input areas IA included in the target screen W, or may set the corrected label name MLN to some of them.
  • the corrected label name MLN When setting the corrected label name MLN in some of the plurality of input areas IA, it can be arbitrarily determined in which input area IA the corrected label name MLN is set. For example, as will be described later, the corrected label name MLN may be set in the input area IA for which format incompatibility has been pointed out by the format compatibility determination unit 14.
  • the test pattern generation unit 11 sets a label name LN to the input area IA based on the default display area DA displayed at the closest position from each input area IA on the target screen W
  • the format conformance determination unit 14 determined that the test pattern TP does not conform to the format for testing the vulnerability of screen display information (in other words, it does not conform to the format to be input into the input area IA).
  • the modified label name MLN may be set in the input area IA based on the default display area DA displayed at the second closest position from each input area IA on the target screen W.
  • a modified label name MLN is set in .
  • the label name LN is It is set as "(abbreviation not allowed)”.
  • the modified label is The name MLN is set as "base name”.
  • the test pattern generation unit 11 specifies the input value IV to be input to each input area IA. At least, the test pattern generation unit 11 specifies the input value IV to be input to each input area IA according to the variable name FN set in the input area IA. "Specify according to the variable name FN" may mean specifying the variable name FN as it is as the input value IV, or specifying a predetermined modification to the variable name FN as the input value IV. Alternatively, a predetermined character string or the like linked to the variable name FN may be specified as the input value IV.
  • the test pattern generation unit 11 converts the input value IV to be input into each input area IA into the variable name set in the input area IA. It may be specified according to FN and label name LN. In this case, various settings can be made as to what input value IV is specified from the variable name FN and label name LN.
  • the input values IV specified for each input area IA are "Ichiro Tanaka" specified for "the text box immediately before 'dono'" and "text box immediately after 'name'".
  • the test pattern generation unit 11 sets the input value IV to be input in each input area IA to the input value IV set in the input area IA. It may be newly designated according to the variable name FN and modified label name MLN. Even in this case, various settings can be made as to what input value IV is specified from the variable name FN and label name LN.
  • the corrected label name MLN of "head office” is specified for the "text box immediately after 'base name'".
  • the label name LN for "text box immediately after 'base name'" has been corrected to "base name", so the base name (head office, Kyushu office, etc.) should be entered. , and as a result, "Headquarters" is correctly entered.
  • the test pattern generation unit 11 may specify the input value IV to be input to each input area IA using machine learning such as deep learning (so-called AI (Artificial Intelligence)).
  • AI Artificial Intelligence
  • a neural network can be used that includes an input layer into which input data is input, an output layer which outputs output data, and an intermediate layer arranged between the input layer and the output layer.
  • the test pattern generation unit 11 estimates the input value IV to be input to each of the plurality of input areas IA from the variable name FN and label name LN (corrected label name MLN) set in each input area IA.
  • variable name FN and label name LN (corrected label name MLN) related to the screen display information newly acquired by the screen display information acquisition unit 10 are input data to the trained model in which the learning for the neural network has been performed for the neural network.
  • the input value IV to be output as new output data corresponding to the input data may be specified as the input value IV to be input to each input area IA.
  • the test pattern generation unit 11 determines whether the input value IV to be input into each input area IA is a date (for example, year, month, day, etc.). Based on the variable name FN and label name LN (corrected label name MLN) set in each input area IA, the test pattern generation unit 11 determines whether the input value IV to be input to the input area IA is based on the date (for example, year, month, day, etc.).
  • the test pattern generation unit 11 determines the description format of the date display included in the default display area DA, and The date represented by the format is designated as the input value IV.
  • “Description format” is the pattern of how dates are written, such as the order in which "year, month, and day” are written, whether or not to insert slashes or dots between these "year, month, and day," The format includes whether or not to include the year.
  • the test pattern generation unit 11 analyzes the screen display information of the default display area DA included in the target screen W, and extracts the date display included in the target screen W.
  • the test pattern transmitter 12 receives a test pattern request from the user terminal 2.
  • the “test pattern request” is a request to transmit the test pattern TP generated by the test pattern generation unit 11 to the user terminal 2.
  • the test pattern transmitter 12 transmits the test pattern TP to the user terminal 2. For example, upon receiving a test pattern request from the user terminal 2, the test pattern transmitter 12 may transmit the test pattern TP to the user terminal 2. Alternatively, the test pattern transmitter 12 may transmit the test pattern TP to the user terminal 2 in response to an event other than reception of a test pattern request.
  • the test result receiving unit 13 receives test results from the user terminal 2.
  • the “test result” is the result of a vulnerability test executed on the user terminal 2.
  • the test result is a result of a vulnerability test executed on the user terminal 2 using the test pattern TP transmitted to the user terminal 2 by the test pattern transmitting unit 12.
  • the test results determine whether the test pattern TP conforms to the format for testing the vulnerability of screen display information, and whether the test pattern TP conforms to the format for testing the vulnerability of screen display information. If so, information regarding whether or not the image display information of the target screen W has vulnerability may be included.
  • the format compatibility determination unit 14 determines whether the test pattern TP tests the vulnerability of the screen display information based on the test result of the vulnerability test performed using the test pattern TP generated by the test pattern generation unit 11. Determine whether it conforms to the format. If the test result indicates that the input value IV input to any input area IA does not conform to the appropriate format, the format conformance determination unit 14 determines that the test pattern TP is the screen display information. It may be determined that the format does not conform to the format for testing vulnerabilities (format incompatibility). On the other hand, if the test result shows that the input values IV input to all the input areas IA conform to the appropriate format, the format conformance determination unit 14 determines that the test pattern TP is the screen display information.
  • the format compatibility determining unit 14 determines that at least the input area IA of "the text box immediately after 'base name'" is format incompatible.
  • the vulnerability determination unit 15 determines the presence or absence of vulnerability in the screen display information when the test pattern TP conforms to the format for testing the vulnerability of the screen display information.
  • the vulnerability determination unit 15 may determine the presence or absence of vulnerability in the screen display information based on the test results of the vulnerability test performed using the test pattern TP generated by the test pattern generation unit 11. .
  • the vulnerability presence/absence determining unit 15 may determine that there is no vulnerability in the screen display information when the test result is “no vulnerability” in the vulnerability test executed on the user terminal 2 (vulnerability None judgment).
  • the vulnerability presence/absence determination unit 15 may determine that the screen display information is vulnerable if the vulnerability test executed on the user terminal 2 shows that the test result is "vulnerable" ( (Judgment of vulnerability).
  • the result notification information generation unit 16 generates result notification information that notifies the user terminal 2 of the determination results by the format compatibility determination unit 14 and the vulnerability presence determination unit 15.
  • the result notification information generation unit 16 may transmit the generated result notification information to the user terminal 2.
  • the result notification information generation unit 16 may transmit the generated result notification information to the user terminal 2 immediately, or may transmit the generated result notification information to the user terminal 2 upon receiving a command to transmit from the user terminal 2. It's okay.
  • FIG. 5 is a flowchart of the test pattern generation process executed by the test pattern generation device 1.
  • the test pattern generation process shown in FIG. 5 is a process of generating a test pattern TP for a vulnerability test to test the vulnerability of screen display information.
  • the test pattern generation process is started by the computer C executing a test pattern generation program P, which will be described later.
  • step S10 the user terminal 2 acquires screen display information of the target screen W including the default display area DA and input area IA. After that, the test pattern generation process moves to step S12.
  • step S12 the user terminal 2 transmits screen display information to the test pattern generation device 1. That is, the screen display information acquisition unit 10 of the test pattern generation device 1 acquires screen display information of the target screen W including the default display area DA and the input area IA from the user terminal 2. After that, the test pattern generation process moves to step S14.
  • step S14 the test pattern generation unit 11 of the test pattern generation device 1 analyzes the screen display information acquired by the screen display information acquisition unit 10. At this time, the test pattern generation unit 11 acquires the variable name FN set in each input area IA. In subsequent step S16, the test pattern generation unit 11 sets a label name LN in each input area IA based on the default display area DA of the target screen W. Thereafter, the test pattern generation process moves to step S18.
  • step S18 the test pattern generation unit 11 of the test pattern generation device 1 generates a test pattern TP specifying the input value IV according to the variable name FN and label name LN set in each input area IA.
  • the test pattern generation unit 11 may generate a test pattern TP specifying an input value IV to be input to the residual input area RIA, and an input value to be input to each of the specific input area SIA and the residual input area RIA.
  • a test pattern TP specifying the IV may be generated. After that, the test pattern generation process moves to step S20.
  • step S20 the test pattern transmitter 12 of the test pattern generation device 1 receives a test pattern request from the user terminal 2.
  • step S22 the test pattern transmitter 12 transmits the test pattern TP to the user terminal 2. Thereafter, the test pattern generation process moves to step S24.
  • step S24 the user terminal 2 uses the test pattern TP received from the test pattern generation device 1 to execute a vulnerability test of the screen display information of the target screen W using the extension function of the browser.
  • the user terminal 2 generates test results of the vulnerability test.
  • step S26 the user terminal 2 transmits the test result to the test pattern generation device 1, and in response, the test result reception unit 13 of the test pattern generation device 1 receives the test result from the user terminal 2. After that, the test pattern generation process moves to step S28.
  • step S28 the format compatibility determination unit 14 of the test pattern generation device 1 determines whether the test pattern TP is correct based on the test result of the vulnerability test performed using the test pattern TP generated by the test pattern generation unit 11. Determine whether the screen display information conforms to the format for testing vulnerability. If the test result indicates that the input value IV input to any input area IA does not conform to the appropriate format, the format conformance determination unit 14 determines that the test pattern TP is the screen display information. Determine that it does not conform to the format for testing vulnerabilities (format non-conformance). On the other hand, if the test result shows that the input values IV input to all the input areas IA conform to the appropriate format, the format conformance determination unit 14 determines that the test pattern TP is the screen display information.
  • step S28 determines that the format is incompatible
  • step S30 determines that the format is compatible
  • step S32 determines that the format is compatible
  • step S30 the test pattern generation unit 11 of the test pattern generation device 1 modifies the already set label name LN and sets a modified label name MLN.
  • the test pattern generation unit 11 may set the corrected label name MLN in all of the plurality of input areas IA included in the target screen W, or may set the corrected label name MLN in some of them. Thereafter, the test pattern generation process moves to step S18, and steps S18 and subsequent steps are repeated using the corrected label name MLN.
  • step S32 the vulnerability presence/absence determination unit 15 of the test pattern generation device 1 determines the test result of the vulnerability test performed using the test pattern TP generated by the test pattern generation unit 11. Based on this, it is determined whether there is any vulnerability in the screen display information.
  • the vulnerability presence/absence determination unit 15 determines that there is no vulnerability in the screen display information when the test result is "no vulnerability” in the vulnerability test executed on the user terminal 2 (no vulnerability determination). .
  • the vulnerability determination unit 15 determines that the screen display information is vulnerable if the test result is "vulnerable” in the vulnerability test executed on the user terminal 2 (vulnerable judgement). If the vulnerability presence determination unit 15 determines that there is no vulnerability (step S32: YES), the test pattern generation process moves to step S34. On the other hand, if the vulnerability determination unit 15 determines that there is a vulnerability (step S32: NO), the test pattern generation process moves to step S36.
  • step S34 the result notification information generation unit 16 of the test pattern generation device 1 generates result notification information that notifies the user terminal 2 that the determination result by the vulnerability presence/absence determination unit 15 is a determination that there is no vulnerability.
  • step S36 the result notification information generation unit 16 of the test pattern generation device 1 generates result notification information that notifies the user terminal 2 that the determination result by the vulnerability presence determination unit 15 is a vulnerability determination. do.
  • Test pattern generation program A test pattern generation program P for causing the computer C to function as the test pattern generation device 1 will be explained.
  • FIG. 6 is a block diagram showing the module configuration of the test pattern generation program P.
  • the test pattern generation program P shown in FIG. 6 is a program that causes the computer C to execute a test pattern generation process for generating a test pattern TP for a vulnerability test for testing the vulnerability of screen display information.
  • the test pattern generation program P includes a main module MM, a screen display information acquisition module M10, a test pattern generation module M11, a test pattern transmission module M12, a test result reception module M13, a format conformance determination module M14, a vulnerability determination module M15, and It is equipped with a result notification information generation module M16.
  • the main module MM is a part that controls the computer C in an integrated manner. Each of the screen display information acquisition module M10, test pattern generation module M11, test pattern transmission module M12, test result reception module M13, format conformance determination module M14, vulnerability presence determination module M15, and result notification information generation module M16 is executed.
  • test pattern generation program P does not need to include at least one module other than the main module MM, the screen display information acquisition module M10, and the test pattern generation module M11.
  • the test pattern generation device 1 is a test pattern generation device 1 that generates test patterns TP for a vulnerability test for testing the vulnerability of screen display information, and includes a plurality of predetermined displayed patterns.
  • a screen display information acquisition unit 10 that acquires screen display information of a target screen W including a default display area DA and a plurality of input areas IA in which input values IV can be input;
  • a test pattern generation unit 11 that analyzes screen display information and generates a test pattern TP specifying input values IV to be input to a plurality of input areas IA in order to test the vulnerability of the screen display information;
  • the test pattern generation unit 11 acquires the variable name FN set in each of the plurality of input areas IA, and sets the input value IV to be input to each of the plurality of input areas IA in the input area IA. Specify according to the specified variable name FN.
  • the test pattern generation program P is a test pattern generation program P that causes the computer C to execute a test pattern generation process for generating a test pattern TP for a vulnerability test for testing the vulnerability of screen display information.
  • a screen display information acquisition unit 10 that acquires screen display information of a target screen W including a plurality of default display areas DA in which default displays are displayed and a plurality of input areas IA in which input values IV can be input; Analyzes the screen display information acquired by the information acquisition unit 10, and generates a test pattern TP specifying input values IV to be input into a plurality of input areas IA in order to test the vulnerability of the screen display information.
  • the test pattern generation unit 11 acquires the variable name FN set in each of the plurality of input areas IA, and acquires the input value to be input to each of the plurality of input areas IA. IV is specified according to the variable name FN set in the input area IA.
  • test pattern generation device 1 and the test pattern generation program P by analyzing the screen display information of the target screen W including the default display area DA and the plurality of input areas IA, the vulnerability of the screen display information is determined.
  • a test pattern TP is generated that specifies input values IV to be input to a plurality of input areas IA in the performance test. Specifically, the variable name FN set in each of the plurality of input areas IA is acquired, and the input value IV is specified according to the variable name FN set in the input area IA. In this way, it is possible to specify a suitable input value IV by referring to the variable name FN, so that an appropriate test pattern TP can be generated.
  • the test pattern generation unit 11 sets a label name LN to each of the plurality of input areas IA based on the default display area DA, and inputs the input to be input to each of the plurality of input areas IA.
  • the value IV is specified according to the variable name FN and label name LN set in the input area IA. According to this, a more suitable input value IV can be specified by referring to the label name LN set to each of the plurality of input areas IA based on the default display area DA.
  • the test pattern generation unit 11 assigns a label name LN to the input area IA based on the default display area DA displayed at the closest position from each of the input areas IA on the target screen W. Set. According to this, it becomes easy to set appropriate label names LN for each of the plurality of input areas IA.
  • the test pattern generation device 1 uses the test pattern TP to test the vulnerability of screen display information based on the test result of the vulnerability test performed using the test pattern TP generated by the test pattern generation unit 11.
  • the test pattern generating section 11 includes a format conformance determining section 14 that determines whether the test pattern TP conforms to the format of the screen display information. If it is determined that they do not conform, a corrected label name MLN, which is a new label name LN, is set in each of the plurality of input areas IA, and an input value IV to be input in each of the plurality of input areas IA is set. , is newly designated according to the variable name FN and modified label name MLN set in the input area IA. According to this, even if the label names LN set in the plurality of input areas IA are not appropriate, it is possible to set another label name LN and continue the vulnerability test.
  • the test pattern generation unit 11 assigns a label name LN to the input area IA based on the default display area DA displayed at the closest position from each of the input areas IA on the target screen W.
  • the format conformance determination unit 14 determines that the test pattern TP does not conform to the format for testing the vulnerability of screen display information
  • each of the plurality of input areas IA on the target screen W A modified label name MLN is set in the input area IA based on the default display area DA displayed at the second closest position. According to this, it becomes easier to set an appropriate label name LN for each of the plurality of input areas IA, and even if the label name LN is not appropriate, another relatively appropriate label name LN is set. It becomes easier.
  • the test pattern generation unit 11 estimates an input value IV to be input to each of the plurality of input areas IA from the variable name FN and label name LN set in each of the plurality of input areas IA.
  • the input value IV to be output as new output data corresponding to the input data is designated as the input value IV to be input to each of the plurality of input areas IA. According to this, it becomes possible to specify a more suitable input value IV using machine learning.
  • the test pattern generation unit 11 determines whether the input value IV to be input to each of the plurality of input areas IA is a date, and determines whether the input value IV to be input to each of the plurality of input areas IA is a date. If it is determined that the input value IV to be input is a date, the format of the date display included in the default display area DA is determined, and the date represented by the format is specified as the input value IV. . According to this, it is possible to specify a more suitable date input value IV by utilizing the fact that there is a high possibility that the description format of date display is common within the same target screen W.
  • the vulnerability test is performed on each of the specific input area SIA that is the test target and the remaining input area RIA other than the specific input area SIA among the plurality of input areas IA included in the target screen W.
  • This is a test that is executed by inputting an input value IV, and the test pattern generation unit 11 analyzes the screen display information acquired by the screen display information acquisition unit 10 to determine the input that should be input into the remaining input area RIA.
  • a test pattern TP with a specified value IV is generated. According to this, it becomes possible to specify a suitable input value IV for the input area IA other than the test target among the plurality of input areas IA.
  • the test pattern generation unit 11 analyzes the screen display information acquired by the screen display information acquisition unit 10, and generates a test target input value which is the input value IV to be input into the specific input area SIA.
  • a test pattern TP that specifies is generated. According to this, it becomes possible to input a suitable input value IV to the specific input area SIA that is the test target.
  • the target screen W shown in FIG. 2 is an example, and the test pattern generation device 1 is also applicable to a target screen W in a completely different form from this target screen W.
  • the test pattern generation unit 11 also assigns a label name LN to the input area IA based on the default display area DA displayed at the position closest to each input area IA on the target screen W. Set. However, the test pattern generation unit 11 is displayed in the same row as each input area IA on the target screen W (at the same height in the vertical direction as each input area IA on the target screen W, that is, in a horizontal position). The label name LN may be set in the input area IA based on the default display area DA.
  • test pattern generation unit 11 selects a default display area that is displayed in the same row as each input area IA on the target screen W, rather than a default display area DA that is displayed in the closest position from each input area IA on the target screen W. Priority may be given to DA.
  • test pattern generation device 1 when the format conformance determining unit 14 determines that the format is non-conforming in step S28 of the test pattern generation process (step S28: NO), the test pattern generating unit 11 corrects the pattern in step S30.
  • the label name MLN is set, and then the test pattern TP is generated again using the modified label name MLN.
  • the test pattern generation device 1 uses manual input from the user. Corrections may also be made (manually).
  • the test pattern generation device 1 uses the test pattern TP to test the vulnerability of the screen display information based on the test result of the vulnerability test performed using the test pattern TP generated by the test pattern generation unit 11.
  • the test pattern generating section 11 includes a format conformance determining section 14 that determines whether the test pattern TP conforms to a format for testing the vulnerability of screen display information. If it is determined that the input value IV does not conform to the format, the input value IV input from the user terminal 2 may be newly designated as the input value IV to be input to each of the plurality of input areas IA. According to this, even if the label name LN set in multiple input areas IA is not appropriate, the vulnerability test can be continued by specifying another appropriate label name LN by manual input by the user. be able to.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

[Problem] To generate a suitable test pattern. [Solution] This test pattern generation device 1 generates a test pattern TP for a vulnerability test which tests the vulnerability of image display information. The test pattern generation device 1 comprises: a screen display information acquisition unit 10 which acquires screen display information about a target screen W including a plurality of predetermined display areas DA in which predetermined displaying is performed and a plurality of input areas IA to which input values IV can be input; and a test pattern generation unit 11 which analyzes the screen display information acquired by the screen display information acquisition unit 10 and generates a test pattern TP in which the input values IV, which should be input to the plurality of input areas IA in order to test the vulnerability of the screen display information, are designated. The test pattern generation unit 11 respectively acquires variable names FN set to the plurality of input areas IA and designates, according to the variable name FN set to the input areas IA, the input values IV that should be respectively input to the plurality of input areas IA.

Description

テストパターン生成装置及びテストパターン生成プログラムTest pattern generation device and test pattern generation program
 本開示は、テストパターン生成装置及びテストパターン生成プログラムに関する。 The present disclosure relates to a test pattern generation device and a test pattern generation program.
 ディスプレイ等に表示させる画面において、所定の領域(テキストボックス等)に任意の入力値を入力可能とすることが広く行われている。このような画面は、入力される入力値によってエラーが生じてしまうといった脆弱性が高くならないように設計されることが望まれる。そこで、画面の設計時に、HTML(Hypertext Markup Language)等により記述された画面表示情報の脆弱性をテストする脆弱性テストが実施される。例えば特許文献1には、画面遷移の経路を集約した遷移シナリオから生成されるリクエストを所定の条件に従って改変し、そのリクエストに対するレスポンスの内容に応じて脆弱性の程度を判定する装置が開示されている。 It is widely practiced to allow arbitrary input values to be input into a predetermined area (text box, etc.) on a screen displayed on a display or the like. It is desirable that such screens be designed to avoid high vulnerabilities such as errors caused by input values. Therefore, when designing a screen, a vulnerability test is performed to test the vulnerability of screen display information written in HTML (Hypertext Markup Language) or the like. For example, Patent Document 1 discloses a device that modifies a request generated from a transition scenario that aggregates screen transition routes according to predetermined conditions, and determines the degree of vulnerability according to the content of the response to the request. There is.
特許第6942277号公報Patent No. 6942277
 ところで、脆弱性テストにおいては、画面内で入力値を入力可能な領域に対して種々の入力値を入力することで、エラーが生じるか否かが確認される。このように入力される入力値のセットは、テストパターンと称される。ここで、例えば入力される領域の入力形式に合致していないなど、テストパターンに含まれる入力値が適切に設定されないと、形式不適合(フォーマットエラー)により脆弱性テストを継続することができなくなるおそれがある。具体的には、複数の入力項目のうち1つでも形式不適合があると、脆弱性テストを継続することができない場合がある。したがって、テストパターンを適切に設定することが望まれる。 By the way, in a vulnerability test, it is confirmed whether or not an error occurs by inputting various input values into areas on the screen where input values can be input. A set of input values input in this way is called a test pattern. Here, if the input values included in the test pattern are not set appropriately, for example because they do not match the input format of the input area, there is a risk that the vulnerability test cannot be continued due to format mismatch (format error). There is. Specifically, if there is a format mismatch in even one of the multiple input items, the vulnerability test may not be able to be continued. Therefore, it is desirable to appropriately set the test pattern.
 そこで、本開示に係るテストパターン生成装置及びテストパターン生成プログラムは、適切なテストパターンを生成することを目的とする。 Therefore, a test pattern generation device and a test pattern generation program according to the present disclosure aim to generate appropriate test patterns.
 本開示の一態様に係るテストパターン生成装置(1)は、画面表示情報の脆弱性をテストする脆弱性テストのためのテストパターン(TP)を生成するテストパターン生成装置(1)であって、既定の表示がされた複数の既定表示領域(DA)、及び、入力値(IV)を入力可能な複数の入力領域(IA)を含む対象画面(W)の画面表示情報を取得する画面表示情報取得部(10)と、画面表示情報取得部(10)により取得された画面表示情報を解析して、当該画面表示情報の脆弱性をテストするために複数の入力領域(IA)に入力されるべき入力値(IV)を指定したテストパターン(TP)を生成するテストパターン生成部(11)と、を備え、テストパターン生成部(11)は、複数の入力領域(IA)のそれぞれに設定された変数名(FN)を取得し、複数の入力領域(IA)のそれぞれに入力されるべき入力値(IV)を、当該入力領域(IA)に設定された変数名(FN)に応じて指定する。 A test pattern generation device (1) according to one aspect of the present disclosure is a test pattern generation device (1) that generates a test pattern (TP) for a vulnerability test to test the vulnerability of screen display information, Screen display information for acquiring screen display information of a target screen (W) that includes multiple default display areas (DA) with default displays and multiple input areas (IA) where input values (IV) can be entered. The screen display information acquired by the acquisition unit (10) and the screen display information acquisition unit (10) is analyzed and input into a plurality of input areas (IA) in order to test the vulnerability of the screen display information. a test pattern generation section (11) that generates a test pattern (TP) specifying an input value (IV), the test pattern generation section (11) being set in each of a plurality of input areas (IA); The input value (IV) to be input to each of multiple input areas (IA) is specified according to the variable name (FN) set in the input area (IA). do.
 本開示の一態様に係るテストパターン生成プログラム(P)は、画面表示情報の脆弱性をテストする脆弱性テストのためのテストパターン(TP)を生成するテストパターン生成処理をコンピュータ(C)に実行させるテストパターン生成プログラム(P)であって、コンピュータ(C)を、既定の表示がされた複数の既定表示領域(DA)、及び、入力値(IV)を入力可能な複数の入力領域(IA)を含む対象画面(W)の画面表示情報を取得する画面表示情報取得部(10)と、画面表示情報取得部(10)により取得された画面表示情報を解析して、当該画面表示情報の脆弱性をテストするために複数の入力領域(IA)に入力されるべき入力値(IV)を指定したテストパターン(TP)を生成するテストパターン生成部(11)と、として機能させ、テストパターン生成部(11)は、複数の入力領域(IA)のそれぞれに設定された変数名(FN)を取得し、複数の入力領域(IA)のそれぞれに入力されるべき入力値(IV)を、当該入力領域(IA)に設定された変数名(FN)に応じて指定する。 A test pattern generation program (P) according to one aspect of the present disclosure causes a computer (C) to execute a test pattern generation process to generate a test pattern (TP) for a vulnerability test for testing the vulnerability of screen display information. A test pattern generation program (P) that causes a computer (C) to display a plurality of default display areas (DA) in which default displays are displayed and a plurality of input areas (IA) in which input values (IV) can be entered. ) and a screen display information acquisition unit (10) that acquires the screen display information of the target screen (W), which analyzes the screen display information acquired by the screen display information acquisition unit (10), and A test pattern generation unit (11) that generates a test pattern (TP) specifying input values (IV) to be input to a plurality of input areas (IA) in order to test vulnerabilities; The generation unit (11) acquires the variable name (FN) set in each of the plurality of input areas (IA), and generates an input value (IV) to be input to each of the plurality of input areas (IA). Specify according to the variable name (FN) set in the input area (IA).
 これらのテストパターン生成装置(1)及びテストパターン生成プログラム(P)の少なくともいずれかによれば、既定表示領域(DA)及び複数の入力領域(IA)を含む対象画面(W)の画面表示情報を解析することにより、当該画面表示情報の脆弱性テストにおいて複数の入力領域(IA)に入力されるべき入力値(IV)を指定したテストパターン(TP)が生成される。具体的には、複数の入力領域(IA)のそれぞれに設定された変数名(FN)が取得され、当該入力領域(IA)に設定された変数名(FN)に応じて入力値(IV)が指定される。このように、変数名(FN)を参照することにより好適な入力値(IV)を指定可能となるため、適切なテストパターン(TP)を生成することができる。 According to at least one of these test pattern generation device (1) and test pattern generation program (P), screen display information of a target screen (W) including a default display area (DA) and a plurality of input areas (IA). By analyzing the above, a test pattern (TP) is generated that specifies input values (IV) to be input into a plurality of input areas (IA) in a vulnerability test of the screen display information. Specifically, the variable name (FN) set in each of a plurality of input areas (IA) is obtained, and the input value (IV) is determined according to the variable name (FN) set in the input area (IA). is specified. In this way, it is possible to specify a suitable input value (IV) by referring to the variable name (FN), so that an appropriate test pattern (TP) can be generated.
 本開示の一態様に係るテストパターン生成装置(1)では、テストパターン生成部(11)は、既定表示領域(DA)に基づいて、複数の入力領域(IA)のそれぞれにラベル名(LN)を設定し、複数の入力領域(IA)のそれぞれに入力されるべき入力値(IV)を、当該入力領域(IA)に設定された変数名(FN)及びラベル名(LN)に応じて指定してもよい。これによれば、既定表示領域(DA)に基づいて複数の入力領域(IA)のそれぞれに設定されたラベル名(LN)を参照することにより、より好適な入力値(IV)を指定可能となる。 In the test pattern generation device (1) according to one aspect of the present disclosure, the test pattern generation unit (11) creates a label name (LN) in each of the plurality of input areas (IA) based on the default display area (DA). and specify the input value (IV) to be input into each of multiple input areas (IA) according to the variable name (FN) and label name (LN) set in the input area (IA). You may. According to this, a more suitable input value (IV) can be specified by referring to the label name (LN) set for each of a plurality of input areas (IA) based on the default display area (DA). Become.
 本開示の一態様に係るテストパターン生成装置(1)では、テストパターン生成部(11)は、対象画面(W)において複数の入力領域(IA)のそれぞれから最も近い位置に表示される既定表示領域(DA)に基づいて、当該入力領域(IA)にラベル名(LN)を設定してもよい。これによれば、複数の入力領域(IA)のそれぞれに適切なラベル名(LN)を設定しやすくなる。 In the test pattern generation device (1) according to one aspect of the present disclosure, the test pattern generation unit (11) includes a default display displayed at a position closest to each of the plurality of input areas (IA) on the target screen (W). A label name (LN) may be set in the input area (IA) based on the area (DA). According to this, it becomes easy to set an appropriate label name (LN) for each of the plurality of input areas (IA).
 本開示の一態様に係るテストパターン生成装置(1)は、テストパターン生成部(11)により生成されたテストパターン(TP)を用いて行われた脆弱性テストのテスト結果に基づいて、当該テストパターン(TP)が画面表示情報の脆弱性をテストするための形式に適合しているか否かを判定する形式適合判定部(14)を備え、テストパターン生成部(11)は、形式適合判定部(14)によりテストパターン(TP)が画面表示情報の脆弱性をテストするための形式に適合してないと判定された場合に、複数の入力領域(IA)のそれぞれに新たなラベル名(LN)である修正ラベル名(MLN)を設定し、複数の入力領域(IA)のそれぞれに入力されるべき入力値(IV)を、当該入力領域(IA)に設定された変数名(FN)及び修正ラベル名(MLN)に応じて新たに指定してもよい。これによれば、複数の入力領域(IA)に設定されたラベル名(LN)が適切でなかった場合であっても、別のラベル名(LN)を設定して脆弱性テストを継続することができる。 A test pattern generation device (1) according to an aspect of the present disclosure generates a vulnerability test based on a test result of a vulnerability test performed using a test pattern (TP) generated by a test pattern generation unit (11). The test pattern generation unit (11) includes a format conformance determination unit (14) that determines whether the pattern (TP) conforms to a format for testing the vulnerability of screen display information. (14), if it is determined that the test pattern (TP) does not conform to the format for testing the vulnerability of screen display information, a new label name (LN) is added to each of the multiple input areas (IA). ), and set the input value (IV) to be input in each of the multiple input areas (IA) to the variable name (FN) and the variable name (FN) set in the input area (IA). It may be newly designated according to the modified label name (MLN). According to this, even if the label name (LN) set for multiple input areas (IA) is not appropriate, another label name (LN) can be set and vulnerability testing can be continued. Can be done.
 本開示の一態様に係るテストパターン生成装置(1)では、テストパターン生成部(11)は、対象画面(W)において複数の入力領域(IA)のそれぞれから最も近い位置に表示される既定表示領域(DA)に基づいて、当該入力領域(IA)にラベル名(LN)を設定した場合において、形式適合判定部(14)によりテストパターン(TP)が画面表示情報の脆弱性をテストするための形式に適合してないと判定されたときに、対象画面(W)において複数の入力領域(IA)のそれぞれから2番目に近い位置に表示される既定表示領域(DA)に基づいて、当該入力領域(IA)に修正ラベル名(MLN)を設定してもよい。これによれば、複数の入力領域(IA)のそれぞれに適切なラベル名(LN)を設定しやすくなり、当該ラベル名(LN)が適切でなかった場合であっても、別の比較的適切なラベル名(LN)を設定しやすくなる。 In the test pattern generation device (1) according to one aspect of the present disclosure, the test pattern generation unit (11) includes a default display displayed at a position closest to each of the plurality of input areas (IA) on the target screen (W). When a label name (LN) is set in the input area (IA) based on the area (DA), the test pattern (TP) is used by the format conformance determination unit (14) to test the vulnerability of the screen display information. When it is determined that the format does not conform to the format, the relevant A modified label name (MLN) may be set in the input area (IA). According to this, it becomes easy to set an appropriate label name (LN) for each of multiple input areas (IA), and even if the label name (LN) is not appropriate, another relatively appropriate label name (LN) can be set. This makes it easier to set a label name (LN).
 本開示の一態様に係るテストパターン生成装置(1)は、テストパターン生成部(11)により生成されたテストパターン(TP)を用いて行われた脆弱性テストのテスト結果に基づいて、当該テストパターン(TP)が画面表示情報の脆弱性をテストするための形式に適合しているか否かを判定する形式適合判定部(14)を備え、テストパターン生成部(11)は、形式適合判定部(14)によりテストパターン(TP)が画面表示情報の脆弱性をテストするための形式に適合してないと判定された場合に、複数の入力領域(IA)のそれぞれに入力されるべき入力値(IV)として、ユーザ端末(2)から入力された入力値(IV)を新たに指定してもよい。これによれば、複数の入力領域(IA)に設定されたラベル名(LN)が適切でなかった場合であっても、ユーザの手入力により適切な別のラベル名(LN)を指定して脆弱性テストを継続することができる。 A test pattern generation device (1) according to an aspect of the present disclosure generates a vulnerability test based on a test result of a vulnerability test performed using a test pattern (TP) generated by a test pattern generation unit (11). The test pattern generation unit (11) includes a format conformance determination unit (14) that determines whether the pattern (TP) conforms to a format for testing the vulnerability of screen display information. Input values to be input into each of the plurality of input areas (IA) when it is determined that the test pattern (TP) does not conform to the format for testing the vulnerability of screen display information according to (14) As (IV), the input value (IV) input from the user terminal (2) may be newly specified. According to this, even if the label name (LN) set in multiple input areas (IA) is not appropriate, the user can manually specify another appropriate label name (LN). Vulnerability testing can continue.
 本開示の一態様に係るテストパターン生成装置(1)では、テストパターン生成部(11)は、複数の入力領域(IA)のそれぞれに設定された変数名(FN)及びラベル名(LN)から複数の入力領域(IA)のそれぞれに入力されるべき入力値(IV)を推定するための学習がニューラルネットワークに対して行われた学習済みモデルに、画面表示情報取得部(10)により新たに取得された画面表示情報に係る変数名(FN)及びラベル名(LN)を入力データとして入力することにより、当該入力データに対応する新たな出力データとして出力される入力値(IV)を、複数の入力領域(IA)のそれぞれに入力されるべき入力値(IV)として指定してもよい。これによれば、機械学習を用いてより好適な入力値(IV)を指定可能となる。 In the test pattern generation device (1) according to one aspect of the present disclosure, the test pattern generation unit (11) generates a variable name (FN) and a label name (LN) set in each of the plurality of input areas (IA). The screen display information acquisition unit (10) adds new information to the trained model in which the neural network has been trained to estimate input values (IV) to be input to each of the plurality of input areas (IA). By inputting the variable name (FN) and label name (LN) related to the acquired screen display information as input data, multiple input values (IV) can be output as new output data corresponding to the input data. may be specified as input values (IV) to be input to each of the input areas (IA). According to this, a more suitable input value (IV) can be specified using machine learning.
 本開示の一態様に係るテストパターン生成装置(1)では、テストパターン生成部(11)は、複数の入力領域(IA)のそれぞれに入力されるべき入力値(IV)が日付であるか否かを判定し、複数の入力領域(IA)のそれぞれに入力されるべき入力値(IV)が日付であると判定された場合には、既定表示領域(DA)に含まれる日付の表示の記載形式を判別し、当該記載形式により表される日付を当該入力値(IV)として指定してもよい。これによれば、同一の対象画面(W)内では日付の表示の記載形式は共通している可能性が高いことを利用して、より好適な日付の入力値(IV)を指定可能となる。 In the test pattern generation device (1) according to one aspect of the present disclosure, the test pattern generation unit (11) determines whether the input value (IV) to be input to each of the plurality of input areas (IA) is a date. If it is determined that the input value (IV) to be input into each of the plurality of input areas (IA) is a date, a description of the date display included in the default display area (DA). The format may be determined and the date represented by the description format may be designated as the input value (IV). According to this, it is possible to specify a more suitable date input value (IV) by taking advantage of the fact that the date display format is likely to be common within the same target screen (W). .
 本開示の一態様に係るテストパターン生成装置(1)では、脆弱性テストは、対象画面(W)に含まれる複数の入力領域(IA)のうち、テスト対象である特定入力領域(SIA)、及び、特定入力領域(SIA)以外の残余入力領域(RIA)のそれぞれに入力値(IV)を入力することにより実行されるテストであり、テストパターン生成部(11)は、画面表示情報取得部(10)により取得された画面表示情報を解析して、残余入力領域(RIA)に入力されるべき入力値(IV)を指定したテストパターン(TP)を生成してもよい。これによれば、複数の入力領域(IA)のうちテスト対象以外の入力領域(IA)に好適な入力値(IV)を指定可能となる。 In the test pattern generation device (1) according to one aspect of the present disclosure, a vulnerability test is performed on a specific input area (SIA) that is a test target among a plurality of input areas (IA) included in a target screen (W); This is a test executed by inputting an input value (IV) to each of the remaining input areas (RIA) other than the specific input area (SIA), and the test pattern generation unit (11) is a screen display information acquisition unit. The screen display information obtained in (10) may be analyzed to generate a test pattern (TP) specifying the input value (IV) to be input to the residual input area (RIA). According to this, it becomes possible to specify a suitable input value (IV) for the input area (IA) other than the test target among the plurality of input areas (IA).
 本開示の一態様に係るテストパターン生成装置(1)では、テストパターン生成部(11)は、画面表示情報取得部(10)により取得された画面表示情報を解析して、特定入力領域(SIA)に入力されるべき入力値(IV)であるテスト対象入力値を指定したテストパターン(TP)を生成してもよい。これによれば、テスト対象である特定入力領域(SIA)に好適な入力値(IV)を入力することが可能となる。 In the test pattern generation device (1) according to one aspect of the present disclosure, the test pattern generation unit (11) analyzes the screen display information acquired by the screen display information acquisition unit (10), and ) A test pattern (TP) may be generated in which a test target input value, which is an input value (IV) to be input into the test pattern (IV), is specified. According to this, it becomes possible to input a suitable input value (IV) into the specific input area (SIA) that is the test target.
 なお、上記の括弧内の符号は、後述する実施形態における構成要素の符号を本開示の一例として示したものであって、本開示を実施形態の態様に限定するものではない。 Note that the above reference numerals in parentheses indicate the reference numerals of constituent elements in the embodiments to be described later as an example of the present disclosure, and do not limit the present disclosure to the aspects of the embodiments.
 このように、本開示に係るテストパターン生成装置及びテストパターン生成プログラムは、適切なテストパターンを生成することができる。 In this way, the test pattern generation device and test pattern generation program according to the present disclosure can generate appropriate test patterns.
図1は、本実施形態に係るテストパターン生成装置の機能構成を示すブロック図である。FIG. 1 is a block diagram showing the functional configuration of a test pattern generation device according to this embodiment. 図2は、対象画面の一例を示す図である。FIG. 2 is a diagram showing an example of the target screen. 図3は、対象画面に対応した変数名、ラベル名、及びテストパターンの一例を示す図である。FIG. 3 is a diagram showing an example of variable names, label names, and test patterns corresponding to the target screen. 図4は、一部のラベル名に修正ラベル名を設定した場合における変数名、ラベル名、及びテストパターンの一例を示す図である。FIG. 4 is a diagram showing an example of variable names, label names, and test patterns when corrected label names are set for some of the label names. 図5は、テストパターン生成装置により実行されるテストパターン生成処理のフローチャートである。FIG. 5 is a flowchart of test pattern generation processing executed by the test pattern generation device. 図6は、テストパターン生成プログラムのモジュール構成を示すブロック図である。FIG. 6 is a block diagram showing the module configuration of the test pattern generation program.
 以下、図面を参照して例示的な実施形態について説明する。なお、各図における同一又は相当部分には同一符号を付し、重複する説明を省略する。 Hereinafter, exemplary embodiments will be described with reference to the drawings. Note that the same or corresponding parts in each figure are given the same reference numerals, and redundant explanation will be omitted.
[全体構成]
 図1は、本実施形態に係るテストパターン生成装置1の機能構成を示すブロック図である。図2は、対象画面Wの一例を示す図である。図3は、対象画面Wに対応した変数名FN、ラベル名LN、及びテストパターンTPの一例を示す図である。図1~図3に示されるテストパターン生成装置1は、ディスプレイ等に表示させる画面である対象画面Wの設計に際して、当該対象画面Wの画面表示情報の脆弱性をテストする脆弱性テストのための適切なテストパターンTPを生成する装置である。
[overall structure]
FIG. 1 is a block diagram showing the functional configuration of a test pattern generation device 1 according to this embodiment. FIG. 2 is a diagram showing an example of the target screen W. FIG. 3 is a diagram showing an example of a variable name FN, a label name LN, and a test pattern TP corresponding to the target screen W. The test pattern generation device 1 shown in FIGS. 1 to 3 is a vulnerability test for testing the vulnerability of the screen display information of the target screen W when designing the target screen W, which is a screen to be displayed on a display or the like. This is a device that generates an appropriate test pattern TP.
 ここで、「対象画面W」とは、例えば一般公衆又は特定の顧客等の利用者がディスプレイ等に表示可能な画面である。対象画面Wは、ウェブサイト上のページであってもよく、ネットワーク等を通じて授受可能な書類としてのデータファイルであってもよい。対象画面Wの種類及び目的は特に限定されないが、図2では、対象画面Wの簡易的な一例として、企業内において用いられる架空の申請書(設備使用申請書)が例示されている。図2に示される対象画面Wは、申請対象である設備(本社ホール内設備)の使用を設備管理者に対して申請するために、設備管理者名、並びに、申請者の氏名、生年月日、連絡先、及び拠点名を入力する画面である。「利用者」とは、対象画面Wを実際に利用する者であり、対象画面Wを設計又は開発する者(ユーザ)とは別の者であってもよい。ここでは、利用者は、本社ホール内設備に使用を設備管理者に対して申請しようとする申請者である。 Here, the "target screen W" is a screen that can be displayed on a display or the like by a user, such as the general public or a specific customer. The target screen W may be a page on a website, or may be a data file as a document that can be exchanged over a network or the like. Although the type and purpose of the target screen W are not particularly limited, in FIG. 2, a fictitious application form (equipment use application form) used within a company is illustrated as a simple example of the target screen W. The target screen W shown in Figure 2 displays the name of the equipment manager, as well as the applicant's name and date of birth, in order to apply to the equipment manager for the use of the equipment for which the application is being made (equipment in the head office hall). This is a screen for inputting , contact information, and base name. The "user" is a person who actually uses the target screen W, and may be a person different from the person (user) who designs or develops the target screen W. Here, the user is an applicant who attempts to apply to the equipment manager for use of the equipment in the head office hall.
 「画面表示情報」とは、対象画面Wの内容を詳細に指定する情報である。画面表示情報は、任意の形式により記述されていてよい。ここでは、対象画面Wは、一例としてHTMLにより記述されているものとする。画面表示情報は、例えばウェブサーバ上に記録されており、必要に応じて当該ウェブサーバからダウンロードされてもよい。画面表示情報として記述されることにより、対象画面Wは、複数の既定表示領域DA及び複数の入力領域IAを含むこととなる。 "Screen display information" is information that specifies the contents of the target screen W in detail. The screen display information may be written in any format. Here, it is assumed that the target screen W is written in HTML as an example. The screen display information is recorded on, for example, a web server, and may be downloaded from the web server as needed. By being described as screen display information, the target screen W includes a plurality of default display areas DA and a plurality of input areas IA.
 「既定表示領域DA」とは、既定の表示がされた領域である。換言すると、既定表示領域DAは、利用者によって書き換えられることができない領域、あるいは、利用者によって書き換えられることが想定されていない領域である。図2では、既定表示領域DAとして、「設備使用申請書」、「殿」、「氏名」、「生年月日」、「連絡先」、「拠点名」、「以下の設備の使用を申請します。」、及び「・本社ホール内設備(2020年1月1日供用開始設備)」との表示領域が例示されている。 The "default display area DA" is an area where a default display is displayed. In other words, the default display area DA is an area that cannot be rewritten by the user or an area that is not expected to be rewritten by the user. In Figure 2, the default display area DA includes "Application form for equipment use", "Lord", "Name", "Date of birth", "Contact information", "Base name", and "Application for use of the following equipment". ” and “Facilities in the head office hall (equipment to be put into service on January 1, 2020)” are shown as examples.
 一方、「入力領域IA」とは、入力値IVを入力可能な領域である。換言すると、入力領域IAは、利用者によって入力されるための領域である。「入力値IV」とは、入力領域IAに入力される情報であり、例えば入力領域IAがテキストボックス又はドロップダウンリスト等である場合には文字列であってもよく、入力領域IAがラジオボタン又はチェックボックス等である場合にはチェックの有無であってもよい。図2では、入力領域IAとして、「『殿』の直前のテキストボックス」、「『氏名』の直後のテキストボックス」、「『生年月日』の直後のテキストボックス」、「『連絡先』の直後のテキストボックス」、及び「『拠点名』の直後のテキストボックス」の表示領域が例示されている。 On the other hand, the "input area IA" is an area where an input value IV can be input. In other words, the input area IA is an area for input by the user. "Input value IV" is information input into the input area IA, and for example, if the input area IA is a text box or a drop-down list, it may be a character string, or if the input area IA is a radio button. Alternatively, in the case of a check box or the like, it may be checked or not. In Figure 2, the input area IA is ``Text box immediately before ``Mr.'''', ``Text box immediately after ``Name'''', ``Text box immediately after ``Date of birth'', and ``Contact information''. The display areas of "Text box immediately after 'base name'" and "Text box immediately after 'base name'" are illustrated.
 各入力領域IAには、変数名FNが設定されている。変数名FNとは、画面表示情報において各入力領域IAに紐づけられている文字列であり、各入力領域IAの内容に関連した語句により構成されている場合がある。図3では、各入力領域IAに紐づけられた変数名FNとして、「『殿』の直前のテキストボックス」に紐づけられた「設備管理者」、「『氏名』の直後のテキストボックス」に紐づけられた「申請者」、「『生年月日』の直後のテキストボックス」に紐づけられた「生年月日」、「『連絡先』の直後のテキストボックス」に紐づけられた「電話番号」、及び「『拠点名』の直後のテキストボックス」に紐づけられた「勤務地」が例示されている。 A variable name FN is set in each input area IA. The variable name FN is a character string linked to each input area IA in the screen display information, and may be composed of words related to the contents of each input area IA. In Fig. 3, the variable names FN associated with each input area IA are "Equipment Manager" associated with "Text box immediately before 'Name'" and "Text box immediately after 'Name'". "Applicant" linked to "Applicant", "Date of birth" linked to "Text box immediately after 'Date of birth'", "Telephone number" linked to "Text box immediately after 'Contact information'" ``number'' and ``work location'' linked to the ``text box immediately after ``base name.'''' are shown as examples.
 「脆弱性テスト」とは、画面表示情報の脆弱性を検査するテストである。「脆弱性」とは、ここでは、対象画面Wにおいて入力領域IAに入力される入力値IVについて、当該入力値IVの内容に起因してエラー(対象画面W上での処理を継続できない事象)が発生し得る程度を意味している。このようなエラーは、典型的には、入力領域IAに想定外の入力値IVが入力されることによって発生する事象であってもよい。なお、ここでいう「エラー」とは画面表示情報に脆弱性により対象画面Wが適切に機能しないことを意味しており、後述する「形式不適合(フォーマットエラー)」とは異なる。 "Vulnerability test" is a test that examines the vulnerability of screen display information. "Vulnerability" here refers to an error (an event in which processing on the target screen W cannot be continued) due to the contents of the input value IV entered into the input area IA on the target screen W. This means the extent to which this may occur. Such an error may typically be an event that occurs when an unexpected input value IV is input into the input area IA. Note that the "error" here means that the target screen W does not function properly due to vulnerability in the screen display information, and is different from "format incompatibility (format error)" described later.
 脆弱性テストにおいては、複数の入力領域IAのそれぞれは、特定入力領域SIA又は残余入力領域RIAに分類される。「特定入力領域SIA」とは、対象画面Wに含まれる複数の入力領域IAのうち、テスト対象である入力領域IAを意味している。「残余入力領域RIA」とは、対象画面Wに含まれる複数の入力領域IAのうち、特定入力領域SIA以外の入力領域IAを意味している。つまり、脆弱性テストは、特定入力領域SIA及び残余入力領域RIAのそれぞれに入力値IVを入力することにより実行されるテストである。脆弱性テストにおいては、複数の入力領域IAの全部又は一部を1項目ずつ順に特定入力領域SIAに設定する。図2では、最初に「『殿』の直前のテキストボックス」が特定入力領域SIAに設定され、「『殿』の直前のテキストボックス」以外の入力領域IAが残余入力領域RIAに設定されている。この後、「『氏名』の直後のテキストボックス」が特定入力領域SIAに設定されると、「『氏名』の直後のテキストボックス」以外の入力領域IA(前回特定入力領域SIAに設定されていた「『殿』の直前のテキストボックス」も含む)が残余入力領域RIAに設定される。以下、各入力領域IAが順に特定入力領域SIAに設定され、それ以外の入力領域IAが残余入力領域RIAに設定される。これにより、仮に脆弱性テストにおいてエラーが発生した場合に、そのエラーがいずれの入力領域IAに起因するのかが明確になる。 In the vulnerability test, each of the plurality of input areas IA is classified into a specific input area SIA or a residual input area RIA. The "specific input area SIA" means the input area IA that is the test target among the plurality of input areas IA included in the target screen W. The "remaining input area RIA" means an input area IA other than the specific input area SIA among the plurality of input areas IA included in the target screen W. That is, the vulnerability test is a test executed by inputting the input value IV to each of the specific input area SIA and the remaining input area RIA. In the vulnerability test, all or part of a plurality of input areas IA are sequentially set one item at a time to the specific input area SIA. In FIG. 2, first, "the text box immediately before 'Todo'" is set to the specific input area SIA, and input areas IA other than "the text box immediately before 'Todo'" are set to the remaining input area RIA. . After this, when "the text box immediately after 'Name'" is set in the specific input area SIA, input areas IA other than "the text box immediately after 'Name'" (the text box that was previously set in the specific input area SIA) "including the text box immediately before 'dono'") is set in the remaining input area RIA. Thereafter, each input area IA is sequentially set as the specific input area SIA, and the other input areas IA are set as the remaining input area RIA. As a result, even if an error occurs in the vulnerability test, it becomes clear to which input area IA the error is caused.
 「テストパターンTP」とは、脆弱性テストにおいて画面表示情報の脆弱性をテストするために各入力領域IAに入力されるべき入力値IVを指定した入力値IVのセットである。テストパターンTPは、少なくとも残余入力領域RIAに入力されるべき入力値IVを指定した入力値IVのセットであってもよい。あるいは、テストパターンTPは、特定入力領域SIA及び残余入力領域RIAのそれぞれに入力されるべき入力値IVを指定した入力値IVのセットであってもよい。 "Test pattern TP" is a set of input values IV specifying input values IV to be input into each input area IA in order to test the vulnerability of screen display information in a vulnerability test. The test pattern TP may be a set of input values IV specifying at least the input values IV to be input to the remaining input area RIA. Alternatively, the test pattern TP may be a set of input values IV specifying input values IV to be input to each of the specific input area SIA and the remaining input area RIA.
 テストパターン生成装置1の物理的な構成について説明する。テストパターン生成装置1は、物理的には、ネットワークを介してユーザ端末2等と有線又は無線により通信可能なコンピュータC(サーバ)として構成されている。テストパターン生成装置1は、制御演算装置、記憶装置、及び入出力装置を備えている。制御演算装置は、例えばCPU(Central Processing Unit)等のコントローラとして構成されており、演算処理を実行するとともに記憶装置及び入出力装置の制御を行う。記憶装置は、例えば主記憶装置及び補助記憶装置を有している。主記憶装置は、例えばRAM(Random Access Memory)により構成されている。また、補助記憶装置は、例えばROM(Read Only Memory)により構成されている。入出力装置は、例えば外部からデータを入力されて記憶装置に送信する入力装置、及び、例えば制御演算装置により演算されて記憶装置に記憶された演算結果を外部に出力する出力装置を有している。 The physical configuration of the test pattern generation device 1 will be explained. The test pattern generation device 1 is physically configured as a computer C (server) that can communicate with the user terminal 2 and the like via a network by wire or wirelessly. The test pattern generation device 1 includes a control calculation device, a storage device, and an input/output device. The control arithmetic device is configured as a controller such as a CPU (Central Processing Unit), and performs arithmetic processing and controls a storage device and an input/output device. The storage device includes, for example, a main storage device and an auxiliary storage device. The main storage device is composed of, for example, RAM (Random Access Memory). Further, the auxiliary storage device is constituted by, for example, a ROM (Read Only Memory). The input/output device includes, for example, an input device that receives data from the outside and sends it to the storage device, and an output device that outputs the calculation result calculated by the control calculation device and stored in the storage device to the outside. There is.
 テストパターン生成装置1は、例えば、ROMに記憶されているプログラムをRAMに読み込み、RAMに読み込まれたプログラムをCPUにより実行することにより、所定の処理を実行する。ここでは、テストパターン生成装置1は、ROMに記憶されているテストパターン生成プログラムPをRAMに読み込み、RAMに読み込まれたテストパターン生成プログラムPをCPUにより実行することにより、後述するテストパターン生成処理を実行する。なお、テストパターン生成装置1は、物理的に、上述した構成とは異なる構成を備えていてもよい。 The test pattern generation device 1 executes a predetermined process by, for example, loading a program stored in a ROM into a RAM, and executing the program loaded into the RAM by a CPU. Here, the test pattern generation device 1 loads a test pattern generation program P stored in the ROM into the RAM, and executes the test pattern generation program P read into the RAM by the CPU, thereby performing the test pattern generation process described below. Execute. Note that the test pattern generation device 1 may physically have a configuration different from the configuration described above.
 ユーザ端末2は、対象画面Wの画面表示情報を作成及び編集可能である。ユーザ端末2は、作成及び編集された対象画面Wをブラウザで表示する。また、ユーザ端末2は、ブラウザの拡張機能によりテストパターン生成装置1と連携して対象画面Wの画面表示情報の脆弱性テストを実行する。脆弱性テストを実行するに際して、ユーザ端末2は、画面表示情報をテストパターン生成装置1に送信したり、テストパターン要求をテストパターン生成装置1に送信したり、送信したテストパターン要求に応じてテストパターンTPをテストパターン生成装置1から受信したり、脆弱性テストのテスト結果をテストパターン生成装置1に送信したりする。「テストパターン要求」とは、脆弱性をテストしようとする画面表示情報に応じたテストパターンTPを送信することの要求である。テストパターン要求は、ユーザ端末2からテストパターン生成装置1に既に送信されている画面表示情報に応じたテストパターンTPを送信することの要求であってもよい。ユーザ端末2は、ユーザにより操作されるノートパソコン、デスクトップパソコン、タブレット、又はスマートフォン等であってもよく、ここではユーザ端末2はノートパソコンであるものとする。 The user terminal 2 can create and edit screen display information for the target screen W. The user terminal 2 displays the created and edited target screen W on a browser. Further, the user terminal 2 cooperates with the test pattern generation device 1 using the extension function of the browser to execute a vulnerability test of the screen display information of the target screen W. When executing a vulnerability test, the user terminal 2 sends screen display information to the test pattern generation device 1, sends a test pattern request to the test pattern generation device 1, and executes a test according to the sent test pattern request. The pattern TP is received from the test pattern generation device 1, and the test result of the vulnerability test is transmitted to the test pattern generation device 1. The "test pattern request" is a request to transmit a test pattern TP corresponding to screen display information for which vulnerability is to be tested. The test pattern request may be a request to transmit a test pattern TP according to screen display information that has already been transmitted from the user terminal 2 to the test pattern generation device 1. The user terminal 2 may be a notebook computer, a desktop computer, a tablet, a smartphone, or the like operated by the user, and here it is assumed that the user terminal 2 is a notebook computer.
 次に、テストパターン生成装置1の機能的な構成について説明する。テストパターン生成装置1は、機能的には、画面表示情報取得部10、テストパターン生成部11、テストパターン送信部12、テスト結果受信部13、形式適合判定部14、脆弱性有無判定部15、及び結果通知情報生成部16を備えている。 Next, the functional configuration of the test pattern generation device 1 will be explained. Functionally, the test pattern generation device 1 includes a screen display information acquisition section 10, a test pattern generation section 11, a test pattern transmission section 12, a test result reception section 13, a format conformance determination section 14, a vulnerability determination section 15, and a result notification information generation section 16.
 画面表示情報取得部10は、既定表示領域DA及び入力領域IAを含む対象画面Wの画面表示情報を取得する。画面表示情報取得部10は、例えばユーザ端末2から画面表示情報を取得してもよく、画面表示情報をユーザ端末2から受信した外部サーバ等から当該画像表示情報を取得してもよい。また、画面表示情報取得部10は、テストパターン生成装置1自体に画面表示情報を作成及び編集可能な機能が備えられている場合には、テストパターン生成装置1自体により作成及び編集された画面表示情報を取得してもよい。 The screen display information acquisition unit 10 acquires screen display information of the target screen W including the default display area DA and input area IA. The screen display information acquisition unit 10 may acquire the screen display information from the user terminal 2, for example, or may acquire the image display information from an external server or the like that receives the screen display information from the user terminal 2. In addition, if the test pattern generation device 1 itself is equipped with a function capable of creating and editing screen display information, the screen display information acquisition unit 10 also displays the screen display information created and edited by the test pattern generation device 1 itself. Information may also be obtained.
 テストパターン生成部11は、画面表示情報取得部10により取得された画面表示情報を解析して、当該画面表示情報の脆弱性をテストするために複数の入力領域IAに入力されるべき入力値IVを指定したテストパターンTPを生成する。例えば、テストパターン生成部11は、画面表示情報取得部10により取得された画面表示情報を解析して、残余入力領域RIAに入力されるべき入力値IVを指定したテストパターンTPを生成してもよく、特定入力領域SIA及び残余入力領域RIAのそれぞれに入力されるべき入力値IVを指定したテストパターンTPを生成してもよい。テストパターン生成部11は、画面表示情報取得部10により画面表示情報が取得されたことを契機としてテストパターンTPを生成してもよく、画面表示情報取得部10により画面表示情報が取得されたときに所定条件が揃ったこと(例えば、明示的な指示があったこと)を契機としてテストパターンTPを生成してもよい。 The test pattern generation unit 11 analyzes the screen display information acquired by the screen display information acquisition unit 10, and generates input values IV to be input into the plurality of input areas IA in order to test the vulnerability of the screen display information. A test pattern TP that specifies is generated. For example, the test pattern generation unit 11 may analyze the screen display information acquired by the screen display information acquisition unit 10 and generate a test pattern TP specifying the input value IV to be input into the remaining input area RIA. Often, a test pattern TP may be generated specifying input values IV to be input to each of the specific input area SIA and the remaining input area RIA. The test pattern generation unit 11 may generate the test pattern TP when the screen display information acquisition unit 10 acquires the screen display information, and the test pattern generation unit 11 may generate the test pattern TP when the screen display information acquisition unit 10 acquires the screen display information. The test pattern TP may be generated when a predetermined condition is met (for example, an explicit instruction is given).
 テストパターン生成部11は、画面表示情報取得部10により取得された画面表示情報を解析して、特定入力領域SIAに入力されるべき入力値IVであるテスト対象入力値を指定したテストパターンTPを生成してもよい。より詳細には、テストパターン生成部11は、入力値IVとして、特定入力領域SIAに入力されるべき入力値IV(テスト対象入力値)のみを指定したテストパターンTPを生成してもよく、特定入力領域SIAに入力されるべき入力値IV(テスト対象入力値)及び残余入力領域RIAに入力されるべき入力値IVの両方を指定したテストパターンTPを生成してもよい。また、テストパターン生成部11は、入力値IVとして、残余入力領域RIAに入力されるべき入力値IVのみを指定したテストパターンTPを生成してもよい。 The test pattern generation unit 11 analyzes the screen display information acquired by the screen display information acquisition unit 10, and generates a test pattern TP specifying the test target input value, which is the input value IV to be input into the specific input area SIA. May be generated. More specifically, the test pattern generation unit 11 may generate a test pattern TP specifying only the input value IV (input value to be tested) to be input to the specific input area SIA as the input value IV; A test pattern TP may be generated that specifies both the input value IV (test target input value) to be input to the input area SIA and the input value IV to be input to the remaining input area RIA. Further, the test pattern generation unit 11 may generate a test pattern TP specifying only the input value IV to be input into the remaining input area RIA as the input value IV.
 図4は、一部のラベル名LNに修正ラベル名MLNを設定した場合における変数名FN、ラベル名LN、及びテストパターンTPの一例を示す図である。図2~図4を参照しつつ、テストパターン生成部11によるテストパターンTPの具体的な生成方法について説明する。 FIG. 4 is a diagram showing an example of variable names FN, label names LN, and test patterns TP when corrected label names MLN are set for some of the label names LN. A specific method for generating the test pattern TP by the test pattern generation section 11 will be described with reference to FIGS. 2 to 4.
 上述したように、対象画面Wの各入力領域IAには変数名FNが設定されている。換言すると、入力領域IAに対応する変数名FNは、画面表示情報において定義されている。テストパターン生成部11は、各入力領域IAに設定された変数名FNを取得する。具体的には、テストパターン生成部11は、HTMLにより記述された画面表示情報の内容を解析して、各入力領域IAに設定された変数名FNを取得する。 As described above, variable names FN are set in each input area IA of the target screen W. In other words, the variable name FN corresponding to the input area IA is defined in the screen display information. The test pattern generation unit 11 acquires the variable name FN set in each input area IA. Specifically, the test pattern generation unit 11 analyzes the contents of the screen display information written in HTML and obtains the variable name FN set in each input area IA.
 また、テストパターン生成部11は、対象画面Wの既定表示領域DAに基づいて、各入力領域IAにラベル名LNを設定する。「ラベル名LN」とは、各入力領域IAに入力されるべき入力値IVの内容を表現したものである。ラベル名LNは、テストパターン生成部11が所定のアルゴリズムに従って各入力領域IAに付与するものである。つまり、各入力領域IAに対応するラベル名LNは、画面表示情報において定義されていない。 Furthermore, the test pattern generation unit 11 sets a label name LN in each input area IA based on the default display area DA of the target screen W. "Label name LN" expresses the content of the input value IV to be input into each input area IA. The label name LN is given to each input area IA by the test pattern generation unit 11 according to a predetermined algorithm. That is, the label name LN corresponding to each input area IA is not defined in the screen display information.
 テストパターン生成部11は、対象画面Wにおいて各入力領域IAから最も近い位置に表示される既定表示領域DAに基づいて、当該入力領域IAにラベル名LNを設定する。「最も近い位置」とは、対象画面Wがディスプレイに表示された状態において、各入力領域IA(具体的には、各入力領域IAの中心、又は各入力領域IAの外周上の任意の一点等)からのディスプレイ上での直線距離が最も短いことを意味している。図2及び図3では、「『殿』の直前のテキストボックス」の入力領域IAでは、最も近い位置に表示される既定表示領域DAが「殿」であることからラベル名LNが「殿」と設定されている。「『氏名』の直後のテキストボックス」の入力領域IAでは、最も近い位置に表示される既定表示領域DAが「氏名」であることからラベル名LNが「氏名」と設定されている。「『生年月日』の直後のテキストボックス」の入力領域IAでは、最も近い位置に表示される既定表示領域DAが「生年月日」であることからラベル名LNが「生年月日」と設定されている。「『連絡先』の直後のテキストボックス」の入力領域IAでは、最も近い位置に表示される既定表示領域DAが「連絡先」であることからラベル名LNが「連絡先」と設定されている。「『拠点名』の直後のテキストボックス」の入力領域IAでは、最も近い位置に表示される既定表示領域DAが「(略称不可)」であることからラベル名LNが「(略称不可)」と設定されている。 The test pattern generation unit 11 sets a label name LN for each input area IA on the target screen W based on the default display area DA displayed at the closest position from each input area IA. The "nearest position" refers to each input area IA (specifically, the center of each input area IA, or an arbitrary point on the outer periphery of each input area IA, etc.) when the target screen W is displayed on the display. ) means that the straight line distance on the display is the shortest. In FIGS. 2 and 3, in the input area IA of "the text box immediately before 'Tono'", the label name LN is "Tono" because the default display area DA displayed at the closest position is "Tono". It is set. In the input area IA of the "text box immediately after 'Name'", the label name LN is set to "Name" because the default display area DA displayed at the closest position is "Name". In the input area IA of "Text box immediately after 'Date of Birth'", the label name LN is set to 'Date of Birth' because the default display area DA displayed at the closest position is 'Date of Birth'. has been done. In the input area IA of "Text box immediately after 'Contact'", the label name LN is set to 'Contact' because the default display area DA displayed at the closest position is 'Contact'. . In the input area IA of "Text box immediately after 'base name'", the label name LN is "(abbreviation not allowed)" because the default display area DA displayed at the closest position is "(abbreviation not allowed)". It is set.
 テストパターン生成部11は、既に設定したラベル名LNを修正して修正ラベル名MLNを設定する。「修正ラベル名MLN」とは、既にラベル名LNを設定されている入力領域IAに新たに設定されるラベル名LNである。テストパターン生成部11は、後述するように形式適合判定部14によりテストパターンTPが画面表示情報の脆弱性をテストするための形式に適合していないと判定された場合に、各入力領域IAに修正ラベル名MLNを設定する。このとき、テストパターン生成部11は、対象画面Wに含まれる複数の入力領域IAの全部に修正ラベル名MLNを設定してもよく、一部に修正ラベル名MLNを設定してもよい。複数の入力領域IAのうちの一部に修正ラベル名MLNを設定する場合には、いずれの入力領域IAに修正ラベル名MLNを設定するかは任意に決めることができる。例えば、後述するように形式適合判定部14により形式不適合を指摘された入力領域IAに修正ラベル名MLNを設定してもよい。 The test pattern generation unit 11 modifies the already set label name LN and sets a modified label name MLN. "Modified label name MLN" is a label name LN newly set in the input area IA in which a label name LN has already been set. As will be described later, when the format conformance determination section 14 determines that the test pattern TP does not conform to the format for testing the vulnerability of screen display information, the test pattern generation section 11 generates a Set the modified label name MLN. At this time, the test pattern generation unit 11 may set the corrected label name MLN to all of the plurality of input areas IA included in the target screen W, or may set the corrected label name MLN to some of them. When setting the corrected label name MLN in some of the plurality of input areas IA, it can be arbitrarily determined in which input area IA the corrected label name MLN is set. For example, as will be described later, the corrected label name MLN may be set in the input area IA for which format incompatibility has been pointed out by the format compatibility determination unit 14.
 例えば、テストパターン生成部11は、対象画面Wにおいて各入力領域IAから最も近い位置に表示される既定表示領域DAに基づいて、当該入力領域IAにラベル名LNを設定した場合において、後述するように形式適合判定部14によりテストパターンTPが画面表示情報の脆弱性をテストするための形式に適合していない(換言すると、当該入力領域IAに入力する形式に適合していない)と判定されたときに、対象画面Wにおいて各入力領域IAから2番目に近い位置に表示される既定表示領域DAに基づいて、当該入力領域IAに修正ラベル名MLNを設定してもよい。ここでは、図3に示されるラベル名LNに基づいて脆弱性テストが実行された結果、後述する形式不適合となって脆弱性テストを継続することができなくなった場合に、図4に示されるように修正ラベル名MLNが設定されている。つまり、図3においては、「『拠点名』の直後のテキストボックス」の入力領域IAでは、最も近い位置に表示される既定表示領域DAが「(略称不可)」であることからラベル名LNが「(略称不可)」と設定されている。これに対して、図4では、「『拠点名』の直後のテキストボックス」の入力領域IAでは、2番目に近い位置に表示される既定表示領域DAが「拠点名」であることから修正ラベル名MLNが「拠点名」と設定されている。 For example, when the test pattern generation unit 11 sets a label name LN to the input area IA based on the default display area DA displayed at the closest position from each input area IA on the target screen W, The format conformance determination unit 14 determined that the test pattern TP does not conform to the format for testing the vulnerability of screen display information (in other words, it does not conform to the format to be input into the input area IA). Sometimes, the modified label name MLN may be set in the input area IA based on the default display area DA displayed at the second closest position from each input area IA on the target screen W. Here, as a result of executing a vulnerability test based on the label name LN shown in Fig. 3, if a format mismatch (described later) occurs and the vulnerability test cannot be continued, as shown in Fig. 4. A modified label name MLN is set in . In other words, in FIG. 3, in the input area IA of the "text box immediately after 'base name'", the label name LN is It is set as "(abbreviation not allowed)". On the other hand, in Figure 4, in the input area IA of the "text box immediately after 'base name'", the modified label is The name MLN is set as "base name".
 テストパターン生成部11は、各入力領域IAに入力されるべき入力値IVを指定する。少なくとも、テストパターン生成部11は、各入力領域IAに入力されるべき入力値IVを、当該入力領域IAに設定された変数名FNに応じて指定する。「変数名FNに応じて指定する」とは、変数名FNをそのまま入力値IVとして指定することであってもよく、変数名FNに対して所定の改変を行ったものを入力値IVとして指定することであってもよく、変数名FNに紐づけられる所定の文字列等を入力値IVとして指定することであってもよい。 The test pattern generation unit 11 specifies the input value IV to be input to each input area IA. At least, the test pattern generation unit 11 specifies the input value IV to be input to each input area IA according to the variable name FN set in the input area IA. "Specify according to the variable name FN" may mean specifying the variable name FN as it is as the input value IV, or specifying a predetermined modification to the variable name FN as the input value IV. Alternatively, a predetermined character string or the like linked to the variable name FN may be specified as the input value IV.
 また、テストパターン生成部11は、各入力領域IAにラベル名LNを設定している場合には、各入力領域IAに入力されるべき入力値IVを、当該入力領域IAに設定された変数名FN及びラベル名LNに応じて指定してもよい。この場合に変数名FN及びラベル名LNからどのような入力値IVを指定するかは、種々設定可能である。図3では、各入力領域IAに対して指定された入力値IVとして、「『殿』の直前のテキストボックス」に対して指定された「田中一郎」、「『氏名』の直後のテキストボックス」に対して指定された「鈴木花子」、「『生年月日』の直後のテキストボックス」に対して指定された「1990年4月1日」、「『連絡先』の直後のテキストボックス」に対して指定された「050-000-000」、及び「『拠点名』の直後のテキストボックス」に対して指定された「東京都」が例示されている。なお、ここでは、「『拠点名』の直後のテキストボックス」に対する変数名FNが「勤務地」でありラベル名LNが「(略称不可)」であるため、拠点名(本社、九州オフィス等)を入力されるべきであることが検出されておらず、その結果、誤って「東京都」と入力されてしまっている(この説明では、ここに「本社」「九州オフィス」等を入力しないと形式不適合となることを前提としている)。 In addition, when a label name LN is set in each input area IA, the test pattern generation unit 11 converts the input value IV to be input into each input area IA into the variable name set in the input area IA. It may be specified according to FN and label name LN. In this case, various settings can be made as to what input value IV is specified from the variable name FN and label name LN. In FIG. 3, the input values IV specified for each input area IA are "Ichiro Tanaka" specified for "the text box immediately before 'dono'" and "text box immediately after 'name'". "Hanako Suzuki" specified for "April 1, 1990" specified for "Text box immediately after 'Date of birth'", "Text box immediately after 'Contact information'" Examples include "050-000-000" specified for "base name" and "Tokyo" specified for "text box immediately after 'base name'". In addition, here, the variable name FN for "the text box immediately after 'base name'" is "work location" and the label name LN is "(abbreviation not allowed)", so the base name (head office, Kyushu office, etc.) was not detected, and as a result, "Tokyo" was entered by mistake (in this explanation, "Head Office", "Kyushu Office", etc. should be entered here). (This assumes that the format is non-conforming.)
 テストパターン生成部11は、少なくともいずれかの入力領域IAに修正ラベル名MLNを設定している場合には、各入力領域IAに入力されるべき入力値IVを、当該入力領域IAに設定された変数名FN及び修正ラベル名MLNに応じて新たに指定してもよい。この場合においても、変数名FN及びラベル名LNからどのような入力値IVを指定するかは、種々設定可能である。図4では、「『拠点名』の直後のテキストボックス」に対して「本社」との修正ラベル名MLNが指定されている。ここでは、図3とは異なり、「『拠点名』の直後のテキストボックス」に対するラベル名LNが「拠点名」に修正されているため、拠点名(本社、九州オフィス等)を入力されるべきであることが検出されており、その結果、正しく「本社」と入力されている。 When the modified label name MLN is set in at least one of the input areas IA, the test pattern generation unit 11 sets the input value IV to be input in each input area IA to the input value IV set in the input area IA. It may be newly designated according to the variable name FN and modified label name MLN. Even in this case, various settings can be made as to what input value IV is specified from the variable name FN and label name LN. In FIG. 4, the corrected label name MLN of "head office" is specified for the "text box immediately after 'base name'". Here, unlike in Figure 3, the label name LN for "text box immediately after 'base name'" has been corrected to "base name", so the base name (head office, Kyushu office, etc.) should be entered. , and as a result, "Headquarters" is correctly entered.
 例えば、テストパターン生成部11は、例えばディープラーニング等の機械学習(いわゆるAI(Artificial Intelligence))を用いて、各入力領域IAに入力されるべき入力値IVを指定してもよい。一例として、入力データが入力される入力層、出力データを出力する出力層、及び入力層と出力層との間に配置された中間層を備えるニューラルネットワークが利用可能である。この場合、テストパターン生成部11は、各入力領域IAに設定された変数名FN及びラベル名LN(修正ラベル名MLN)から複数の入力領域IAのそれぞれに入力されるべき入力値IVを推定するための学習がニューラルネットワークに対して行われた学習済みモデルに、画面表示情報取得部10により新たに取得された画面表示情報に係る変数名FN及びラベル名LN(修正ラベル名MLN)を入力データとして入力することにより、当該入力データに対応する新たな出力データとして出力される入力値IVを、各入力領域IAに入力されるべき入力値IVとして指定してもよい。 For example, the test pattern generation unit 11 may specify the input value IV to be input to each input area IA using machine learning such as deep learning (so-called AI (Artificial Intelligence)). As an example, a neural network can be used that includes an input layer into which input data is input, an output layer which outputs output data, and an intermediate layer arranged between the input layer and the output layer. In this case, the test pattern generation unit 11 estimates the input value IV to be input to each of the plurality of input areas IA from the variable name FN and label name LN (corrected label name MLN) set in each input area IA. The variable name FN and label name LN (corrected label name MLN) related to the screen display information newly acquired by the screen display information acquisition unit 10 are input data to the trained model in which the learning for the neural network has been performed for the neural network. The input value IV to be output as new output data corresponding to the input data may be specified as the input value IV to be input to each input area IA.
 テストパターン生成部11は、各入力領域IAに入力されるべき入力値IVが日付(例えば年、月、日等)であるか否かを判定する。テストパターン生成部11は、各入力領域IAに設定された変数名FN及びラベル名LN(修正ラベル名MLN)に基づいて、当該入力領域IAに入力されるべき入力値IVが日付(例えば年、月、日等)であるか否かを判定してもよい。 The test pattern generation unit 11 determines whether the input value IV to be input into each input area IA is a date (for example, year, month, day, etc.). Based on the variable name FN and label name LN (corrected label name MLN) set in each input area IA, the test pattern generation unit 11 determines whether the input value IV to be input to the input area IA is based on the date (for example, year, month, day, etc.).
 テストパターン生成部11は、各入力領域IAに入力されるべき入力値IVが日付であると判定された場合には、既定表示領域DAに含まれる日付の表示の記載形式を判別し、当該記載形式により表される日付を当該入力値IVとして指定する。「記載形式」とは、日付の記載方法のパターンであり、例えば「年・月・日」の記載の順序、これら「年・月・日」の間にスラッシュ又はドット等を挟むか否か、「年」を記載するか否か等の形式である。テストパターン生成部11は、対象画面Wに含まれる既定表示領域DAの画面表示情報を解析して、対象画面Wに含まれている日付の表示を抽出する。ここでは、図2に示されるように、「・本社ホール内設備(2020年1月1日供用開始設備)」との既定表示領域DAの一部として、「2020年1月1日」との日付の表示が抽出される。また、図2において、「『生年月日』の直後のテキストボックス」の入力領域IAに入力されるべき入力値IVは日付であるため、テストパターン生成部11は、当該入力領域IAに入力する日付を、「2020年1月1日」の記載形式に合わせた「1990年4月1日」としている。 When it is determined that the input value IV to be input into each input area IA is a date, the test pattern generation unit 11 determines the description format of the date display included in the default display area DA, and The date represented by the format is designated as the input value IV. "Description format" is the pattern of how dates are written, such as the order in which "year, month, and day" are written, whether or not to insert slashes or dots between these "year, month, and day," The format includes whether or not to include the year. The test pattern generation unit 11 analyzes the screen display information of the default display area DA included in the target screen W, and extracts the date display included in the target screen W. Here, as shown in Figure 2, "January 1, 2020" is displayed as part of the default display area DA for "Facilities in the head office hall (equipment that started service on January 1, 2020)". The date display is extracted. In addition, in FIG. 2, since the input value IV to be input into the input area IA of "the text box immediately after 'date of birth'" is a date, the test pattern generation unit 11 inputs it into the input area IA. The date is set to ``April 1, 1990,'' which matches the writing format of ``January 1, 2020.''
 テストパターン送信部12は、テストパターン要求をユーザ端末2から受信する。「テストパターン要求」とは、テストパターン生成部11により生成されたテストパターンTPをユーザ端末2に送信することの要求である。 The test pattern transmitter 12 receives a test pattern request from the user terminal 2. The “test pattern request” is a request to transmit the test pattern TP generated by the test pattern generation unit 11 to the user terminal 2.
 テストパターン送信部12は、テストパターンTPをユーザ端末2に送信する。例えば、テストパターン送信部12は、ユーザ端末2からテストパターン要求を受信したことを契機として、当該ユーザ端末2にテストパターンTPを送信してもよい。あるいは、テストパターン送信部12は、テストパターン要求の受信以外の事象を契機として、ユーザ端末2にテストパターンTPを送信してもよい。 The test pattern transmitter 12 transmits the test pattern TP to the user terminal 2. For example, upon receiving a test pattern request from the user terminal 2, the test pattern transmitter 12 may transmit the test pattern TP to the user terminal 2. Alternatively, the test pattern transmitter 12 may transmit the test pattern TP to the user terminal 2 in response to an event other than reception of a test pattern request.
 テスト結果受信部13は、ユーザ端末2からテスト結果を受信する。「テスト結果」とは、ユーザ端末2において実行された脆弱性テストの結果である。具体的には、テスト結果は、テストパターン送信部12によりユーザ端末2に送信されたテストパターンTPを用いてユーザ端末2において実行された脆弱性テストの結果である。テスト結果は、テストパターンTPが画面表示情報の脆弱性をテストするための形式に適合しているか否か、及び、テストパターンTPが画面表示情報の脆弱性をテストするための形式に適合している場合には対象画面Wの画像表示情報が脆弱性を有しているか否か、についての情報を含んでいてもよい。 The test result receiving unit 13 receives test results from the user terminal 2. The “test result” is the result of a vulnerability test executed on the user terminal 2. Specifically, the test result is a result of a vulnerability test executed on the user terminal 2 using the test pattern TP transmitted to the user terminal 2 by the test pattern transmitting unit 12. The test results determine whether the test pattern TP conforms to the format for testing the vulnerability of screen display information, and whether the test pattern TP conforms to the format for testing the vulnerability of screen display information. If so, information regarding whether or not the image display information of the target screen W has vulnerability may be included.
 形式適合判定部14は、テストパターン生成部11により生成されたテストパターンTPを用いて行われた脆弱性テストのテスト結果に基づいて、当該テストパターンTPが画面表示情報の脆弱性をテストするための形式に適合しているか否かを判定する。形式適合判定部14は、いずれかの入力領域IAに入力された入力値IVが適切な形式に適合していないことがテスト結果に示されている場合には、テストパターンTPが画面表示情報の脆弱性をテストするための形式に適合していないと判定してもよい(形式不適合)。一方、形式適合判定部14は、全ての入力領域IAに入力された入力値IVが適切な形式に適合していることがテスト結果に示されている場合には、テストパターンTPが画面表示情報の脆弱性をテストするための形式に適合していると判定してもよい(形式適合)。一例として、「『拠点名』の直後のテキストボックス」の入力領域IAに対して「東京都」との入力値IVが入力されている場合には、「東京都」は「拠点名」ではないため形式不適合のテスト結果となるため、形式適合判定部14は、少なくとも「『拠点名』の直後のテキストボックス」の入力領域IAについて形式不適合と判定する。 The format compatibility determination unit 14 determines whether the test pattern TP tests the vulnerability of the screen display information based on the test result of the vulnerability test performed using the test pattern TP generated by the test pattern generation unit 11. Determine whether it conforms to the format. If the test result indicates that the input value IV input to any input area IA does not conform to the appropriate format, the format conformance determination unit 14 determines that the test pattern TP is the screen display information. It may be determined that the format does not conform to the format for testing vulnerabilities (format incompatibility). On the other hand, if the test result shows that the input values IV input to all the input areas IA conform to the appropriate format, the format conformance determination unit 14 determines that the test pattern TP is the screen display information. may be determined to conform to the format for testing vulnerabilities (format conformance). As an example, if the input value IV of "Tokyo" is entered in the input area IA of the "text box immediately after 'base name'", "Tokyo" is not the "base name". Therefore, the format compatibility determining unit 14 determines that at least the input area IA of "the text box immediately after 'base name'" is format incompatible.
 脆弱性有無判定部15は、テストパターンTPが画面表示情報の脆弱性をテストするための形式に適合している場合に、画面表示情報の脆弱性の有無を判定する。脆弱性有無判定部15は、テストパターン生成部11により生成されたテストパターンTPを用いて行われた脆弱性テストのテスト結果に基づいて、画面表示情報の脆弱性の有無を判定してもよい。脆弱性有無判定部15は、ユーザ端末2において実行された脆弱性テストにおいて「脆弱性なし」とのテスト結果である場合に、画面表示情報の脆弱性がないと判定してもよい(脆弱性なし判定)。一方、脆弱性有無判定部15は、ユーザ端末2において実行された脆弱性テストにおいて「脆弱性あり」とのテスト結果である場合に、画面表示情報の脆弱性があると判定してもよい(脆弱性あり判定)。 The vulnerability determination unit 15 determines the presence or absence of vulnerability in the screen display information when the test pattern TP conforms to the format for testing the vulnerability of the screen display information. The vulnerability determination unit 15 may determine the presence or absence of vulnerability in the screen display information based on the test results of the vulnerability test performed using the test pattern TP generated by the test pattern generation unit 11. . The vulnerability presence/absence determining unit 15 may determine that there is no vulnerability in the screen display information when the test result is “no vulnerability” in the vulnerability test executed on the user terminal 2 (vulnerability None judgment). On the other hand, the vulnerability presence/absence determination unit 15 may determine that the screen display information is vulnerable if the vulnerability test executed on the user terminal 2 shows that the test result is "vulnerable" ( (Judgment of vulnerability).
 結果通知情報生成部16は、形式適合判定部14及び脆弱性有無判定部15による判定結果をユーザ端末2に通知する結果通知情報を生成する。結果通知情報生成部16は、生成した結果通知情報をユーザ端末2に送信してもよい。例えば、結果通知情報生成部16は、生成した結果通知情報を、直ちにユーザ端末2に送信してもよく、送信すべき指令をユーザ端末2から受信したことを契機として当該ユーザ端末2に送信してもよい。 The result notification information generation unit 16 generates result notification information that notifies the user terminal 2 of the determination results by the format compatibility determination unit 14 and the vulnerability presence determination unit 15. The result notification information generation unit 16 may transmit the generated result notification information to the user terminal 2. For example, the result notification information generation unit 16 may transmit the generated result notification information to the user terminal 2 immediately, or may transmit the generated result notification information to the user terminal 2 upon receiving a command to transmit from the user terminal 2. It's okay.
[テストパターン生成処理]
 図5は、テストパターン生成装置1により実行されるテストパターン生成処理のフローチャートである。図5に示されるテストパターン生成処理は、画面表示情報の脆弱性をテストする脆弱性テストのためのテストパターンTPを生成する処理である。テストパターン生成処理は、後述するテストパターン生成プログラムPがコンピュータCにより実行されることによって開始される。
[Test pattern generation process]
FIG. 5 is a flowchart of the test pattern generation process executed by the test pattern generation device 1. The test pattern generation process shown in FIG. 5 is a process of generating a test pattern TP for a vulnerability test to test the vulnerability of screen display information. The test pattern generation process is started by the computer C executing a test pattern generation program P, which will be described later.
 ステップS10において、ユーザ端末2は既定表示領域DA及び入力領域IAを含む対象画面Wの画面表示情報を取得する。その後、テストパターン生成処理はステップS12に移行する。 In step S10, the user terminal 2 acquires screen display information of the target screen W including the default display area DA and input area IA. After that, the test pattern generation process moves to step S12.
 ステップS12において、ユーザ端末2は、画面表示情報をテストパターン生成装置1に送信する。すなわち、テストパターン生成装置1の画面表示情報取得部10は、既定表示領域DA及び入力領域IAを含む対象画面Wの画面表示情報をユーザ端末2から取得する。その後、テストパターン生成処理はステップS14に移行する。 In step S12, the user terminal 2 transmits screen display information to the test pattern generation device 1. That is, the screen display information acquisition unit 10 of the test pattern generation device 1 acquires screen display information of the target screen W including the default display area DA and the input area IA from the user terminal 2. After that, the test pattern generation process moves to step S14.
 ステップS14において、テストパターン生成装置1のテストパターン生成部11は、画面表示情報取得部10により取得された画面表示情報を解析する。このとき、テストパターン生成部11は、各入力領域IAに設定された変数名FNを取得する。続くステップS16において、テストパターン生成部11は、対象画面Wの既定表示領域DAに基づいて、各入力領域IAにラベル名LNを設定する。その後、テストパターン生成処理はステップS18に移行する。 In step S14, the test pattern generation unit 11 of the test pattern generation device 1 analyzes the screen display information acquired by the screen display information acquisition unit 10. At this time, the test pattern generation unit 11 acquires the variable name FN set in each input area IA. In subsequent step S16, the test pattern generation unit 11 sets a label name LN in each input area IA based on the default display area DA of the target screen W. Thereafter, the test pattern generation process moves to step S18.
 ステップS18において、テストパターン生成装置1のテストパターン生成部11は、各入力領域IAに設定された変数名FN及びラベル名LNに応じて入力値IVを指定したテストパターンTPを生成する。テストパターン生成部11は、残余入力領域RIAに入力されるべき入力値IVを指定したテストパターンTPを生成してもよく、特定入力領域SIA及び残余入力領域RIAのそれぞれに入力されるべき入力値IVを指定したテストパターンTPを生成してもよい。その後、テストパターン生成処理はステップS20に移行する。 In step S18, the test pattern generation unit 11 of the test pattern generation device 1 generates a test pattern TP specifying the input value IV according to the variable name FN and label name LN set in each input area IA. The test pattern generation unit 11 may generate a test pattern TP specifying an input value IV to be input to the residual input area RIA, and an input value to be input to each of the specific input area SIA and the residual input area RIA. A test pattern TP specifying the IV may be generated. After that, the test pattern generation process moves to step S20.
 ステップS20において、テストパターン生成装置1のテストパターン送信部12は、テストパターン要求をユーザ端末2から受信する。続くステップS22において、テストパターン送信部12は、テストパターンTPをユーザ端末2に送信する。その後、テストパターン生成処理はステップS24に移行する。 In step S20, the test pattern transmitter 12 of the test pattern generation device 1 receives a test pattern request from the user terminal 2. In subsequent step S22, the test pattern transmitter 12 transmits the test pattern TP to the user terminal 2. Thereafter, the test pattern generation process moves to step S24.
 ステップS24において、ユーザ端末2は、テストパターン生成装置1から受信したテストパターンTPを用いて、ブラウザの拡張機能により対象画面Wの画面表示情報の脆弱性テストを実行する。ユーザ端末2は、脆弱性テストのテスト結果を生成する。続くステップS26において、ユーザ端末2はテスト結果をテストパターン生成装置1に送信し、これに対して、テストパターン生成装置1のテスト結果受信部13はユーザ端末2からテスト結果を受信する。その後、テストパターン生成処理はステップS28に移行する。 In step S24, the user terminal 2 uses the test pattern TP received from the test pattern generation device 1 to execute a vulnerability test of the screen display information of the target screen W using the extension function of the browser. The user terminal 2 generates test results of the vulnerability test. In the following step S26, the user terminal 2 transmits the test result to the test pattern generation device 1, and in response, the test result reception unit 13 of the test pattern generation device 1 receives the test result from the user terminal 2. After that, the test pattern generation process moves to step S28.
 ステップS28において、テストパターン生成装置1の形式適合判定部14は、テストパターン生成部11により生成されたテストパターンTPを用いて行われた脆弱性テストのテスト結果に基づいて、当該テストパターンTPが画面表示情報の脆弱性をテストするための形式に適合しているか否かを判定する。形式適合判定部14は、いずれかの入力領域IAに入力された入力値IVが適切な形式に適合していないことがテスト結果に示されている場合には、テストパターンTPが画面表示情報の脆弱性をテストするための形式に適合していないと判定する(形式不適合)。一方、形式適合判定部14は、全ての入力領域IAに入力された入力値IVが適切な形式に適合していることがテスト結果に示されている場合には、テストパターンTPが画面表示情報の脆弱性をテストするための形式に適合していると判定する(形式適合)。形式適合判定部14により形式不適合と判定された場合(ステップS28:NO)、テストパターン生成処理はステップS30に移行する。一方、形式適合判定部14により形式適合と判定された場合(ステップS28:YES)、テストパターン生成処理はステップS32に移行する。 In step S28, the format compatibility determination unit 14 of the test pattern generation device 1 determines whether the test pattern TP is correct based on the test result of the vulnerability test performed using the test pattern TP generated by the test pattern generation unit 11. Determine whether the screen display information conforms to the format for testing vulnerability. If the test result indicates that the input value IV input to any input area IA does not conform to the appropriate format, the format conformance determination unit 14 determines that the test pattern TP is the screen display information. Determine that it does not conform to the format for testing vulnerabilities (format non-conformance). On the other hand, if the test result shows that the input values IV input to all the input areas IA conform to the appropriate format, the format conformance determination unit 14 determines that the test pattern TP is the screen display information. It is determined that the format conforms to the format for testing vulnerabilities (format conformance). If the format compatibility determination unit 14 determines that the format is incompatible (step S28: NO), the test pattern generation process moves to step S30. On the other hand, if the format compatibility determination unit 14 determines that the format is compatible (step S28: YES), the test pattern generation process moves to step S32.
 ステップS30において、テストパターン生成装置1のテストパターン生成部11は、既に設定したラベル名LNを修正して修正ラベル名MLNを設定する。テストパターン生成部11は、対象画面Wに含まれる複数の入力領域IAの全部に修正ラベル名MLNを設定してもよく、一部に修正ラベル名MLNを設定してもよい。その後、テストパターン生成処理はステップS18に移行し、修正ラベル名MLNを用いてステップS18以降を繰り返す。 In step S30, the test pattern generation unit 11 of the test pattern generation device 1 modifies the already set label name LN and sets a modified label name MLN. The test pattern generation unit 11 may set the corrected label name MLN in all of the plurality of input areas IA included in the target screen W, or may set the corrected label name MLN in some of them. Thereafter, the test pattern generation process moves to step S18, and steps S18 and subsequent steps are repeated using the corrected label name MLN.
 ステップS32において、テストパターン生成装置1の脆弱性有無判定部15は、脆弱性有無判定部15は、テストパターン生成部11により生成されたテストパターンTPを用いて行われた脆弱性テストのテスト結果に基づいて、画面表示情報の脆弱性の有無を判定する。脆弱性有無判定部15は、ユーザ端末2において実行された脆弱性テストにおいて「脆弱性なし」とのテスト結果である場合に、画面表示情報の脆弱性がないと判定する(脆弱性なし判定)。一方、脆弱性有無判定部15は、ユーザ端末2において実行された脆弱性テストにおいて「脆弱性あり」とのテスト結果である場合に、画面表示情報の脆弱性があると判定する(脆弱性あり判定)。脆弱性有無判定部15により脆弱性なし判定がされた場合(ステップS32:YES)、テストパターン生成処理はステップS34に移行する。一方、脆弱性有無判定部15により脆弱性あり判定がされた場合(ステップS32:NO)、テストパターン生成処理はステップS36に移行する。 In step S32, the vulnerability presence/absence determination unit 15 of the test pattern generation device 1 determines the test result of the vulnerability test performed using the test pattern TP generated by the test pattern generation unit 11. Based on this, it is determined whether there is any vulnerability in the screen display information. The vulnerability presence/absence determination unit 15 determines that there is no vulnerability in the screen display information when the test result is "no vulnerability" in the vulnerability test executed on the user terminal 2 (no vulnerability determination). . On the other hand, the vulnerability determination unit 15 determines that the screen display information is vulnerable if the test result is "vulnerable" in the vulnerability test executed on the user terminal 2 (vulnerable judgement). If the vulnerability presence determination unit 15 determines that there is no vulnerability (step S32: YES), the test pattern generation process moves to step S34. On the other hand, if the vulnerability determination unit 15 determines that there is a vulnerability (step S32: NO), the test pattern generation process moves to step S36.
 ステップS34において、テストパターン生成装置1の結果通知情報生成部16は、脆弱性有無判定部15による判定結果が脆弱性なし判定であったことをユーザ端末2に通知する結果通知情報を生成する。一方、ステップS36において、テストパターン生成装置1の結果通知情報生成部16は、脆弱性有無判定部15による判定結果が脆弱性あり判定であったことをユーザ端末2に通知する結果通知情報を生成する。以上により、テストパターン生成処理は終了する。 In step S34, the result notification information generation unit 16 of the test pattern generation device 1 generates result notification information that notifies the user terminal 2 that the determination result by the vulnerability presence/absence determination unit 15 is a determination that there is no vulnerability. On the other hand, in step S36, the result notification information generation unit 16 of the test pattern generation device 1 generates result notification information that notifies the user terminal 2 that the determination result by the vulnerability presence determination unit 15 is a vulnerability determination. do. With the above steps, the test pattern generation process ends.
[テストパターン生成プログラム]
 コンピュータCをテストパターン生成装置1として機能させるためのテストパターン生成プログラムPについて説明する。図6は、テストパターン生成プログラムPのモジュール構成を示すブロック図である。図6に示されるテストパターン生成プログラムPは、画面表示情報の脆弱性をテストする脆弱性テストのためのテストパターンTPを生成するテストパターン生成処理をコンピュータCに実行させるプログラムである。
[Test pattern generation program]
A test pattern generation program P for causing the computer C to function as the test pattern generation device 1 will be explained. FIG. 6 is a block diagram showing the module configuration of the test pattern generation program P. The test pattern generation program P shown in FIG. 6 is a program that causes the computer C to execute a test pattern generation process for generating a test pattern TP for a vulnerability test for testing the vulnerability of screen display information.
 テストパターン生成プログラムPは、メインモジュールMM、画面表示情報取得モジュールM10、テストパターン生成モジュールM11、テストパターン送信モジュールM12、テスト結果受信モジュールM13、形式適合判定モジュールM14、脆弱性有無判定モジュールM15、及び結果通知情報生成モジュールM16を備えている。メインモジュールMMは、コンピュータCを統括的に制御する部分である。画面表示情報取得モジュールM10、テストパターン生成モジュールM11、テストパターン送信モジュールM12、テスト結果受信モジュールM13、形式適合判定モジュールM14、脆弱性有無判定モジュールM15、及び結果通知情報生成モジュールM16のそれぞれを実行することにより実現される機能は、画面表示情報取得部10、テストパターン生成部11、テストパターン送信部12、テスト結果受信部13、形式適合判定部14、脆弱性有無判定部15、及び結果通知情報生成部16のそれぞれの機能と同様である。なお、テストパターン生成プログラムPは、メインモジュールMM、画面表示情報取得モジュールM10、及びテストパターン生成モジュールM11以外の少なくともいずれかのモジュールを備えていなくてもよい。 The test pattern generation program P includes a main module MM, a screen display information acquisition module M10, a test pattern generation module M11, a test pattern transmission module M12, a test result reception module M13, a format conformance determination module M14, a vulnerability determination module M15, and It is equipped with a result notification information generation module M16. The main module MM is a part that controls the computer C in an integrated manner. Each of the screen display information acquisition module M10, test pattern generation module M11, test pattern transmission module M12, test result reception module M13, format conformance determination module M14, vulnerability presence determination module M15, and result notification information generation module M16 is executed. The functions realized by this are the screen display information acquisition unit 10, the test pattern generation unit 11, the test pattern transmission unit 12, the test result reception unit 13, the format conformance determination unit 14, the vulnerability determination unit 15, and the result notification information. The functions are the same as those of the generation unit 16. Note that the test pattern generation program P does not need to include at least one module other than the main module MM, the screen display information acquisition module M10, and the test pattern generation module M11.
[作用及び効果]
 以上説明したように、テストパターン生成装置1は、画面表示情報の脆弱性をテストする脆弱性テストのためのテストパターンTPを生成するテストパターン生成装置1であって、既定の表示がされた複数の既定表示領域DA、及び、入力値IVを入力可能な複数の入力領域IAを含む対象画面Wの画面表示情報を取得する画面表示情報取得部10と、画面表示情報取得部10により取得された画面表示情報を解析して、当該画面表示情報の脆弱性をテストするために複数の入力領域IAに入力されるべき入力値IVを指定したテストパターンTPを生成するテストパターン生成部11と、を備え、テストパターン生成部11は、複数の入力領域IAのそれぞれに設定された変数名FNを取得し、複数の入力領域IAのそれぞれに入力されるべき入力値IVを、当該入力領域IAに設定された変数名FNに応じて指定する。
[Action and effect]
As explained above, the test pattern generation device 1 is a test pattern generation device 1 that generates test patterns TP for a vulnerability test for testing the vulnerability of screen display information, and includes a plurality of predetermined displayed patterns. A screen display information acquisition unit 10 that acquires screen display information of a target screen W including a default display area DA and a plurality of input areas IA in which input values IV can be input; a test pattern generation unit 11 that analyzes screen display information and generates a test pattern TP specifying input values IV to be input to a plurality of input areas IA in order to test the vulnerability of the screen display information; In preparation, the test pattern generation unit 11 acquires the variable name FN set in each of the plurality of input areas IA, and sets the input value IV to be input to each of the plurality of input areas IA in the input area IA. Specify according to the specified variable name FN.
 テストパターン生成プログラムPは、画面表示情報の脆弱性をテストする脆弱性テストのためのテストパターンTPを生成するテストパターン生成処理をコンピュータCに実行させるテストパターン生成プログラムPであって、コンピュータCを、既定の表示がされた複数の既定表示領域DA、及び、入力値IVを入力可能な複数の入力領域IAを含む対象画面Wの画面表示情報を取得する画面表示情報取得部10と、画面表示情報取得部10により取得された画面表示情報を解析して、当該画面表示情報の脆弱性をテストするために複数の入力領域IAに入力されるべき入力値IVを指定したテストパターンTPを生成するテストパターン生成部11と、として機能させ、テストパターン生成部11は、複数の入力領域IAのそれぞれに設定された変数名FNを取得し、複数の入力領域IAのそれぞれに入力されるべき入力値IVを、当該入力領域IAに設定された変数名FNに応じて指定する。 The test pattern generation program P is a test pattern generation program P that causes the computer C to execute a test pattern generation process for generating a test pattern TP for a vulnerability test for testing the vulnerability of screen display information. , a screen display information acquisition unit 10 that acquires screen display information of a target screen W including a plurality of default display areas DA in which default displays are displayed and a plurality of input areas IA in which input values IV can be input; Analyzes the screen display information acquired by the information acquisition unit 10, and generates a test pattern TP specifying input values IV to be input into a plurality of input areas IA in order to test the vulnerability of the screen display information. The test pattern generation unit 11 acquires the variable name FN set in each of the plurality of input areas IA, and acquires the input value to be input to each of the plurality of input areas IA. IV is specified according to the variable name FN set in the input area IA.
 テストパターン生成装置1及びテストパターン生成プログラムPの少なくともいずれかによれば、既定表示領域DA及び複数の入力領域IAを含む対象画面Wの画面表示情報を解析することにより、当該画面表示情報の脆弱性テストにおいて複数の入力領域IAに入力されるべき入力値IVを指定したテストパターンTPが生成される。具体的には、複数の入力領域IAのそれぞれに設定された変数名FNが取得され、当該入力領域IAに設定された変数名FNに応じて入力値IVが指定される。このように、変数名FNを参照することにより好適な入力値IVを指定可能となるため、適切なテストパターンTPを生成することができる。 According to at least one of the test pattern generation device 1 and the test pattern generation program P, by analyzing the screen display information of the target screen W including the default display area DA and the plurality of input areas IA, the vulnerability of the screen display information is determined. A test pattern TP is generated that specifies input values IV to be input to a plurality of input areas IA in the performance test. Specifically, the variable name FN set in each of the plurality of input areas IA is acquired, and the input value IV is specified according to the variable name FN set in the input area IA. In this way, it is possible to specify a suitable input value IV by referring to the variable name FN, so that an appropriate test pattern TP can be generated.
 テストパターン生成装置1では、テストパターン生成部11は、既定表示領域DAに基づいて、複数の入力領域IAのそれぞれにラベル名LNを設定し、複数の入力領域IAのそれぞれに入力されるべき入力値IVを、当該入力領域IAに設定された変数名FN及びラベル名LNに応じて指定する。これによれば、既定表示領域DAに基づいて複数の入力領域IAのそれぞれに設定されたラベル名LNを参照することにより、より好適な入力値IVを指定可能となる。 In the test pattern generation device 1, the test pattern generation unit 11 sets a label name LN to each of the plurality of input areas IA based on the default display area DA, and inputs the input to be input to each of the plurality of input areas IA. The value IV is specified according to the variable name FN and label name LN set in the input area IA. According to this, a more suitable input value IV can be specified by referring to the label name LN set to each of the plurality of input areas IA based on the default display area DA.
 テストパターン生成装置1では、テストパターン生成部11は、対象画面Wにおいて複数の入力領域IAのそれぞれから最も近い位置に表示される既定表示領域DAに基づいて、当該入力領域IAにラベル名LNを設定する。これによれば、複数の入力領域IAのそれぞれに適切なラベル名LNを設定しやすくなる。 In the test pattern generation device 1, the test pattern generation unit 11 assigns a label name LN to the input area IA based on the default display area DA displayed at the closest position from each of the input areas IA on the target screen W. Set. According to this, it becomes easy to set appropriate label names LN for each of the plurality of input areas IA.
 テストパターン生成装置1は、テストパターン生成部11により生成されたテストパターンTPを用いて行われた脆弱性テストのテスト結果に基づいて、当該テストパターンTPが画面表示情報の脆弱性をテストするための形式に適合しているか否かを判定する形式適合判定部14を備え、テストパターン生成部11は、形式適合判定部14によりテストパターンTPが画面表示情報の脆弱性をテストするための形式に適合してないと判定された場合に、複数の入力領域IAのそれぞれに新たなラベル名LNである修正ラベル名MLNを設定し、複数の入力領域IAのそれぞれに入力されるべき入力値IVを、当該入力領域IAに設定された変数名FN及び修正ラベル名MLNに応じて新たに指定する。これによれば、複数の入力領域IAに設定されたラベル名LNが適切でなかった場合であっても、別のラベル名LNを設定して脆弱性テストを継続することができる。 The test pattern generation device 1 uses the test pattern TP to test the vulnerability of screen display information based on the test result of the vulnerability test performed using the test pattern TP generated by the test pattern generation unit 11. The test pattern generating section 11 includes a format conformance determining section 14 that determines whether the test pattern TP conforms to the format of the screen display information. If it is determined that they do not conform, a corrected label name MLN, which is a new label name LN, is set in each of the plurality of input areas IA, and an input value IV to be input in each of the plurality of input areas IA is set. , is newly designated according to the variable name FN and modified label name MLN set in the input area IA. According to this, even if the label names LN set in the plurality of input areas IA are not appropriate, it is possible to set another label name LN and continue the vulnerability test.
 テストパターン生成装置1では、テストパターン生成部11は、対象画面Wにおいて複数の入力領域IAのそれぞれから最も近い位置に表示される既定表示領域DAに基づいて、当該入力領域IAにラベル名LNを設定した場合において、形式適合判定部14によりテストパターンTPが画面表示情報の脆弱性をテストするための形式に適合してないと判定されたときに、対象画面Wにおいて複数の入力領域IAのそれぞれから2番目に近い位置に表示される既定表示領域DAに基づいて、当該入力領域IAに修正ラベル名MLNを設定する。これによれば、複数の入力領域IAのそれぞれに適切なラベル名LNを設定しやすくなり、当該ラベル名LNが適切でなかった場合であっても、別の比較的適切なラベル名LNを設定しやすくなる。 In the test pattern generation device 1, the test pattern generation unit 11 assigns a label name LN to the input area IA based on the default display area DA displayed at the closest position from each of the input areas IA on the target screen W. In this case, when the format conformance determination unit 14 determines that the test pattern TP does not conform to the format for testing the vulnerability of screen display information, each of the plurality of input areas IA on the target screen W A modified label name MLN is set in the input area IA based on the default display area DA displayed at the second closest position. According to this, it becomes easier to set an appropriate label name LN for each of the plurality of input areas IA, and even if the label name LN is not appropriate, another relatively appropriate label name LN is set. It becomes easier.
 テストパターン生成装置1では、テストパターン生成部11は、複数の入力領域IAのそれぞれに設定された変数名FN及びラベル名LNから複数の入力領域IAのそれぞれに入力されるべき入力値IVを推定するための学習がニューラルネットワークに対して行われた学習済みモデルに、画面表示情報取得部10により新たに取得された画面表示情報に係る変数名FN及びラベル名LNを入力データとして入力することにより、当該入力データに対応する新たな出力データとして出力される入力値IVを、複数の入力領域IAのそれぞれに入力されるべき入力値IVとして指定する。これによれば、機械学習を用いてより好適な入力値IVを指定可能となる。 In the test pattern generation device 1, the test pattern generation unit 11 estimates an input value IV to be input to each of the plurality of input areas IA from the variable name FN and label name LN set in each of the plurality of input areas IA. By inputting the variable name FN and label name LN related to the screen display information newly acquired by the screen display information acquisition unit 10 as input data to the trained model in which the neural network has been trained to , the input value IV to be output as new output data corresponding to the input data is designated as the input value IV to be input to each of the plurality of input areas IA. According to this, it becomes possible to specify a more suitable input value IV using machine learning.
 テストパターン生成装置1では、テストパターン生成部11は、複数の入力領域IAのそれぞれに入力されるべき入力値IVが日付であるか否かを判定し、複数の入力領域IAのそれぞれに入力されるべき入力値IVが日付であると判定された場合には、既定表示領域DAに含まれる日付の表示の記載形式を判別し、当該記載形式により表される日付を当該入力値IVとして指定する。これによれば、同一の対象画面W内では日付の表示の記載形式は共通している可能性が高いことを利用して、より好適な日付の入力値IVを指定可能となる。 In the test pattern generation device 1, the test pattern generation unit 11 determines whether the input value IV to be input to each of the plurality of input areas IA is a date, and determines whether the input value IV to be input to each of the plurality of input areas IA is a date. If it is determined that the input value IV to be input is a date, the format of the date display included in the default display area DA is determined, and the date represented by the format is specified as the input value IV. . According to this, it is possible to specify a more suitable date input value IV by utilizing the fact that there is a high possibility that the description format of date display is common within the same target screen W.
 テストパターン生成装置1では、脆弱性テストは、対象画面Wに含まれる複数の入力領域IAのうち、テスト対象である特定入力領域SIA、及び、特定入力領域SIA以外の残余入力領域RIAのそれぞれに入力値IVを入力することにより実行されるテストであり、テストパターン生成部11は、画面表示情報取得部10により取得された画面表示情報を解析して、残余入力領域RIAに入力されるべき入力値IVを指定したテストパターンTPを生成する。これによれば、複数の入力領域IAのうちテスト対象以外の入力領域IAに好適な入力値IVを指定可能となる。 In the test pattern generation device 1, the vulnerability test is performed on each of the specific input area SIA that is the test target and the remaining input area RIA other than the specific input area SIA among the plurality of input areas IA included in the target screen W. This is a test that is executed by inputting an input value IV, and the test pattern generation unit 11 analyzes the screen display information acquired by the screen display information acquisition unit 10 to determine the input that should be input into the remaining input area RIA. A test pattern TP with a specified value IV is generated. According to this, it becomes possible to specify a suitable input value IV for the input area IA other than the test target among the plurality of input areas IA.
 テストパターン生成装置1では、テストパターン生成部11は、画面表示情報取得部10により取得された画面表示情報を解析して、特定入力領域SIAに入力されるべき入力値IVであるテスト対象入力値を指定したテストパターンTPを生成する。これによれば、テスト対象である特定入力領域SIAに好適な入力値IVを入力することが可能となる。 In the test pattern generation device 1, the test pattern generation unit 11 analyzes the screen display information acquired by the screen display information acquisition unit 10, and generates a test target input value which is the input value IV to be input into the specific input area SIA. A test pattern TP that specifies is generated. According to this, it becomes possible to input a suitable input value IV to the specific input area SIA that is the test target.
[変形形態]
 上述した実施形態は、当業者の知識に基づいて変更又は改良が施された様々な形態により実施可能である。
[Deformed form]
The embodiments described above can be implemented in various forms with changes or improvements based on the knowledge of those skilled in the art.
 例えば、上述した実施形態において図2に示される対象画面Wは一例であり、テストパターン生成装置1はこの対象画面Wとは全く異なる態様の対象画面Wに対しても適用可能である。 For example, in the embodiment described above, the target screen W shown in FIG. 2 is an example, and the test pattern generation device 1 is also applicable to a target screen W in a completely different form from this target screen W.
 また、上述したテストパターン生成装置1では、テストパターン生成部11は、対象画面Wにおいて各入力領域IAから最も近い位置に表示される既定表示領域DAに基づいて、当該入力領域IAにラベル名LNを設定する。しかし、テストパターン生成部11は、対象画面Wにおいて各入力領域IAと同じ行(対象画面Wにおいて各入力領域IAと上下方向における同じ高さの位置、つまり、横に並んだ位置)に表示される既定表示領域DAに基づいて、当該入力領域IAにラベル名LNを設定してもよい。つまり、テストパターン生成部11は、対象画面Wにおいて各入力領域IAから最も近い位置に表示される既定表示領域DAよりも、対象画面Wにおいて各入力領域IAと同じ行に表示される既定表示領域DAを優先してもよい。 In the test pattern generation device 1 described above, the test pattern generation unit 11 also assigns a label name LN to the input area IA based on the default display area DA displayed at the position closest to each input area IA on the target screen W. Set. However, the test pattern generation unit 11 is displayed in the same row as each input area IA on the target screen W (at the same height in the vertical direction as each input area IA on the target screen W, that is, in a horizontal position). The label name LN may be set in the input area IA based on the default display area DA. In other words, the test pattern generation unit 11 selects a default display area that is displayed in the same row as each input area IA on the target screen W, rather than a default display area DA that is displayed in the closest position from each input area IA on the target screen W. Priority may be given to DA.
 また、上述したテストパターン生成装置1では、テストパターン生成処理のステップS28において形式適合判定部14により形式不適合と判定された場合に(ステップS28:NO)、ステップS30においてテストパターン生成部11により修正ラベル名MLNが設定され、その後、修正ラベル名MLNを用いてテストパターンTPが再度生成される。しかし、テストパターン生成装置1は、このように自動でテストパターンTPを生成し直すことに代えて(または、このように自動でテストパターンTPを生成し直すことに加えて)、ユーザの手入力(手作業)により修正が行われてもよい。 In addition, in the above-described test pattern generation device 1, when the format conformance determining unit 14 determines that the format is non-conforming in step S28 of the test pattern generation process (step S28: NO), the test pattern generating unit 11 corrects the pattern in step S30. The label name MLN is set, and then the test pattern TP is generated again using the modified label name MLN. However, instead of automatically regenerating the test pattern TP in this way (or in addition to automatically regenerating the test pattern TP in this way), the test pattern generation device 1 uses manual input from the user. Corrections may also be made (manually).
 すなわち、テストパターン生成装置1は、テストパターン生成部11により生成されたテストパターンTPを用いて行われた脆弱性テストのテスト結果に基づいて、当該テストパターンTPが画面表示情報の脆弱性をテストするための形式に適合しているか否かを判定する形式適合判定部14を備え、テストパターン生成部11は、形式適合判定部14によりテストパターンTPが画面表示情報の脆弱性をテストするための形式に適合してないと判定された場合に、複数の入力領域IAのそれぞれに入力されるべき入力値IVとして、ユーザ端末2から入力された入力値IVを新たに指定してもよい。これによれば、複数の入力領域IAに設定されたラベル名LNが適切でなかった場合であっても、ユーザの手入力により適切な別のラベル名LNを指定して脆弱性テストを継続することができる。 That is, the test pattern generation device 1 uses the test pattern TP to test the vulnerability of the screen display information based on the test result of the vulnerability test performed using the test pattern TP generated by the test pattern generation unit 11. The test pattern generating section 11 includes a format conformance determining section 14 that determines whether the test pattern TP conforms to a format for testing the vulnerability of screen display information. If it is determined that the input value IV does not conform to the format, the input value IV input from the user terminal 2 may be newly designated as the input value IV to be input to each of the plurality of input areas IA. According to this, even if the label name LN set in multiple input areas IA is not appropriate, the vulnerability test can be continued by specifying another appropriate label name LN by manual input by the user. be able to.

Claims (11)

  1.  画面表示情報の脆弱性をテストする脆弱性テストのためのテストパターンを生成するテストパターン生成装置であって、
     既定の表示がされた複数の既定表示領域、及び、入力値を入力可能な複数の入力領域を含む対象画面の前記画面表示情報を取得する画面表示情報取得部と、
     前記画面表示情報取得部により取得された前記画面表示情報を解析して、当該画面表示情報の前記脆弱性をテストするために複数の前記入力領域に入力されるべき前記入力値を指定した前記テストパターンを生成するテストパターン生成部と、を備え、
     前記テストパターン生成部は、
      複数の前記入力領域のそれぞれに設定された変数名を取得し、
      複数の前記入力領域のそれぞれに入力されるべき前記入力値を、当該入力領域に設定された前記変数名に応じて指定する、テストパターン生成装置。
    A test pattern generation device that generates a test pattern for a vulnerability test to test the vulnerability of screen display information,
    a screen display information acquisition unit that acquires the screen display information of a target screen including a plurality of default display areas in which default displays are displayed and a plurality of input areas in which input values can be input;
    The test specifies the input values to be input into the plurality of input areas in order to analyze the screen display information acquired by the screen display information acquisition unit and test the vulnerability of the screen display information. A test pattern generation unit that generates a pattern,
    The test pattern generation unit includes:
    Obtain the variable name set in each of the plurality of input areas,
    A test pattern generation device that specifies the input value to be input to each of the plurality of input areas according to the variable name set in the input area.
  2.  前記テストパターン生成部は、
      前記既定表示領域に基づいて、複数の前記入力領域のそれぞれにラベル名を設定し、
      複数の前記入力領域のそれぞれに入力されるべき前記入力値を、当該入力領域に設定された前記変数名及び前記ラベル名に応じて指定する、請求項1に記載のテストパターン生成装置。
    The test pattern generation unit includes:
    setting a label name for each of the plurality of input areas based on the default display area;
    The test pattern generation device according to claim 1, wherein the input value to be input into each of the plurality of input areas is specified according to the variable name and the label name set in the input area.
  3.  前記テストパターン生成部は、前記対象画面において複数の前記入力領域のそれぞれから最も近い位置に表示される前記既定表示領域に基づいて、当該入力領域に前記ラベル名を設定する、請求項2に記載のテストパターン生成装置。 The test pattern generation unit sets the label name to the input area based on the default display area that is displayed at a position closest to each of the plurality of input areas on the target screen. test pattern generator.
  4.  前記テストパターン生成部により生成された前記テストパターンを用いて行われた前記脆弱性テストのテスト結果に基づいて、当該テストパターンが前記画面表示情報の前記脆弱性をテストするための形式に適合しているか否かを判定する形式適合判定部を備え、
     前記テストパターン生成部は、
      前記形式適合判定部により前記テストパターンが前記画面表示情報の前記脆弱性をテストするための形式に適合してないと判定された場合に、複数の前記入力領域のそれぞれに新たな前記ラベル名である修正ラベル名を設定し、
      複数の前記入力領域のそれぞれに入力されるべき前記入力値を、当該入力領域に設定された前記変数名及び前記修正ラベル名に応じて新たに指定する、請求項2に記載のテストパターン生成装置。
    Based on the test result of the vulnerability test performed using the test pattern generated by the test pattern generation unit, the test pattern conforms to the format for testing the vulnerability of the screen display information. a format compatibility determination unit that determines whether the
    The test pattern generation unit includes:
    If the format conformance determination unit determines that the test pattern does not conform to the format for testing the vulnerability of the screen display information, a new label name is displayed in each of the plurality of input areas. Set a certain correction label name,
    The test pattern generation device according to claim 2, wherein the input value to be input to each of the plurality of input areas is newly specified according to the variable name and the modified label name set in the input area. .
  5.  前記テストパターン生成部は、前記対象画面において複数の前記入力領域のそれぞれから最も近い位置に表示される前記既定表示領域に基づいて、当該入力領域に前記ラベル名を設定した場合において、前記形式適合判定部により前記テストパターンが前記画面表示情報の前記脆弱性をテストするための形式に適合してないと判定されたときに、前記対象画面において複数の前記入力領域のそれぞれから2番目に近い位置に表示される前記既定表示領域に基づいて、当該入力領域に前記修正ラベル名を設定する、請求項4に記載のテストパターン生成装置。 The test pattern generation unit may set the label name to the input area based on the default display area that is displayed at a position closest to each of the plurality of input areas on the target screen. when the determination unit determines that the test pattern does not conform to the format for testing the vulnerability of the screen display information, the second closest position from each of the plurality of input areas on the target screen; The test pattern generation device according to claim 4, wherein the modified label name is set in the input area based on the default display area displayed in the input area.
  6.  前記テストパターン生成部により生成された前記テストパターンを用いて行われた前記脆弱性テストのテスト結果に基づいて、当該テストパターンが前記画面表示情報の前記脆弱性をテストするための形式に適合しているか否かを判定する形式適合判定部を備え、
     前記テストパターン生成部は、前記形式適合判定部により前記テストパターンが前記画面表示情報の前記脆弱性をテストするための形式に適合してないと判定された場合に、複数の前記入力領域のそれぞれに入力されるべき前記入力値として、ユーザ端末から入力された前記入力値を新たに指定する、請求項1に記載のテストパターン生成装置。
    Based on the test result of the vulnerability test performed using the test pattern generated by the test pattern generation unit, the test pattern conforms to the format for testing the vulnerability of the screen display information. a format compatibility determination unit that determines whether the
    The test pattern generation unit is configured to generate data in each of the plurality of input areas when the format conformance determination unit determines that the test pattern does not conform to the format for testing the vulnerability of the screen display information. The test pattern generation device according to claim 1, wherein the input value input from a user terminal is newly specified as the input value to be input to the test pattern generation device.
  7.  前記テストパターン生成部は、複数の前記入力領域のそれぞれに設定された前記変数名及び前記ラベル名から複数の前記入力領域のそれぞれに入力されるべき前記入力値を推定するための学習がニューラルネットワークに対して行われた学習済みモデルに、前記画面表示情報取得部により新たに取得された前記画面表示情報に係る前記変数名及び前記ラベル名を入力データとして入力することにより、当該入力データに対応する新たな出力データとして出力される前記入力値を、複数の前記入力領域のそれぞれに入力されるべき前記入力値として指定する、請求項2に記載のテストパターン生成装置。 The test pattern generation unit uses a neural network for learning to estimate the input value to be input to each of the plurality of input areas from the variable name and the label name set to each of the plurality of input areas. By inputting, as input data, the variable name and the label name related to the screen display information newly acquired by the screen display information acquisition unit into the trained model that has been trained, the input data can be handled. 3. The test pattern generation device according to claim 2, wherein the input value to be output as new output data is specified as the input value to be input to each of the plurality of input areas.
  8.  前記テストパターン生成部は、
      複数の前記入力領域のそれぞれに入力されるべき前記入力値が日付であるか否かを判定し、
      複数の前記入力領域のそれぞれに入力されるべき前記入力値が日付であると判定された場合には、前記既定表示領域に含まれる日付の表示の記載形式を判別し、当該記載形式により表される日付を当該入力値として指定する、請求項1に記載のテストパターン生成装置。
    The test pattern generation unit includes:
    determining whether the input value to be input into each of the plurality of input areas is a date;
    If it is determined that the input value to be input into each of the plurality of input areas is a date, the format of the date display included in the default display area is determined, and the date is expressed in the format. The test pattern generation device according to claim 1, wherein a date specified as the input value is specified as the input value.
  9.  前記脆弱性テストは、前記対象画面に含まれる複数の前記入力領域のうち、テスト対象である特定入力領域、及び、前記特定入力領域以外の残余入力領域のそれぞれに前記入力値を入力することにより実行されるテストであり、
     前記テストパターン生成部は、前記画面表示情報取得部により取得された前記画面表示情報を解析して、前記残余入力領域に入力されるべき前記入力値を指定した前記テストパターンを生成する、請求項1~8のいずれか一項に記載のテストパターン生成装置。
    The vulnerability test is performed by inputting the input value into each of the specific input area to be tested and the remaining input area other than the specific input area among the plurality of input areas included in the target screen. is a test that is executed,
    The test pattern generation unit analyzes the screen display information acquired by the screen display information acquisition unit and generates the test pattern specifying the input value to be input into the remaining input area. 9. The test pattern generation device according to any one of 1 to 8.
  10.  前記テストパターン生成部は、前記画面表示情報取得部により取得された前記画面表示情報を解析して、前記特定入力領域に入力されるべき前記入力値であるテスト対象入力値を指定した前記テストパターンを生成する、請求項9に記載のテストパターン生成装置。 The test pattern generation unit analyzes the screen display information acquired by the screen display information acquisition unit and generates the test pattern specifying a test target input value that is the input value to be input to the specific input area. The test pattern generation device according to claim 9, which generates a test pattern.
  11.  画面表示情報の脆弱性をテストする脆弱性テストのためのテストパターンを生成するテストパターン生成処理をコンピュータに実行させるテストパターン生成プログラムであって、
     前記コンピュータを、
      既定の表示がされた複数の既定表示領域、及び、入力値を入力可能な複数の入力領域を含む対象画面の前記画面表示情報を取得する画面表示情報取得部と、
      前記画面表示情報取得部により取得された前記画面表示情報を解析して、当該画面表示情報の前記脆弱性をテストするために複数の前記入力領域に入力されるべき前記入力値を指定した前記テストパターンを生成するテストパターン生成部と、として機能させ、
     前記テストパターン生成部は、
      複数の前記入力領域のそれぞれに設定された変数名を取得し、
      複数の前記入力領域のそれぞれに入力されるべき前記入力値を、当該入力領域に設定された前記変数名に応じて指定する、テストパターン生成プログラム。
    A test pattern generation program that causes a computer to execute a test pattern generation process that generates a test pattern for a vulnerability test to test the vulnerability of screen display information,
    The computer,
    a screen display information acquisition unit that acquires the screen display information of a target screen including a plurality of default display areas in which default displays are displayed and a plurality of input areas in which input values can be input;
    The test specifies the input values to be input into the plurality of input areas in order to analyze the screen display information acquired by the screen display information acquisition unit and test the vulnerability of the screen display information. Functions as a test pattern generation section that generates a pattern,
    The test pattern generation unit includes:
    Obtain the variable name set in each of the plurality of input areas,
    A test pattern generation program that specifies the input value to be input to each of the plurality of input areas according to the variable name set in the input area.
PCT/JP2023/018167 2022-05-17 2023-05-15 Test pattern generation device and test pattern generation program WO2023224013A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2022-081201 2022-05-17
JP2022081201 2022-05-17

Publications (1)

Publication Number Publication Date
WO2023224013A1 true WO2023224013A1 (en) 2023-11-23

Family

ID=88835622

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2023/018167 WO2023224013A1 (en) 2022-05-17 2023-05-15 Test pattern generation device and test pattern generation program

Country Status (1)

Country Link
WO (1) WO2023224013A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001060151A (en) * 1999-08-20 2001-03-06 Nec Corp Program analyzing device, and storage medium stored with program for program analysis or data for program analysis
US20040039989A1 (en) * 2002-08-26 2004-02-26 Peter Warren Structured forms with configurable labels
JP2010277288A (en) * 2009-05-28 2010-12-09 Mitsubishi Electric Corp Web application diagnostic device, web application diagnostic program and web application diagnostic method
JP2019101889A (en) * 2017-12-06 2019-06-24 日本電信電話株式会社 Test execution device and program
JP2019191689A (en) * 2018-04-19 2019-10-31 Heroz株式会社 Web inspection program and web inspection apparatus
US10769427B1 (en) * 2018-04-19 2020-09-08 Automation Anywhere, Inc. Detection and definition of virtual objects in remote screens
JP2021064355A (en) * 2019-10-14 2021-04-22 ユーアイパス, インコーポレイテッドUiPath, Inc. Naming of robotic process automation activities based on automatically detected target labels
JP6902814B1 (en) * 2021-02-25 2021-07-14 アミフィアブル株式会社 Test support system, test support method and program

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001060151A (en) * 1999-08-20 2001-03-06 Nec Corp Program analyzing device, and storage medium stored with program for program analysis or data for program analysis
US20040039989A1 (en) * 2002-08-26 2004-02-26 Peter Warren Structured forms with configurable labels
JP2010277288A (en) * 2009-05-28 2010-12-09 Mitsubishi Electric Corp Web application diagnostic device, web application diagnostic program and web application diagnostic method
JP2019101889A (en) * 2017-12-06 2019-06-24 日本電信電話株式会社 Test execution device and program
JP2019191689A (en) * 2018-04-19 2019-10-31 Heroz株式会社 Web inspection program and web inspection apparatus
US10769427B1 (en) * 2018-04-19 2020-09-08 Automation Anywhere, Inc. Detection and definition of virtual objects in remote screens
JP2021064355A (en) * 2019-10-14 2021-04-22 ユーアイパス, インコーポレイテッドUiPath, Inc. Naming of robotic process automation activities based on automatically detected target labels
JP6902814B1 (en) * 2021-02-25 2021-07-14 アミフィアブル株式会社 Test support system, test support method and program

Similar Documents

Publication Publication Date Title
JP4961123B2 (en) Automated test case validation loosely coupled with respect to automated test case execution
CN109726099B (en) Application gray level publishing method, device and equipment
US20200409666A1 (en) Multi-technology visual integrated data management and analytics development and deployment environment
US10560484B2 (en) Managing access in one or more computing systems
WO2012014284A1 (en) Method of generating test scenario, test scenario generating system and test scenario generating program
JP6891779B2 (en) Test script modifiers and programs
JP2008250914A (en) Program correcting device, method and program
CN112328482A (en) Test method and device based on script template, computer equipment and storage medium
CN109388950A (en) Ensure the system and method for system configuration changed safely
JPWO2009144826A1 (en) Inspection file generation program, inspection file generation apparatus, and inspection file generation method
WO2023224013A1 (en) Test pattern generation device and test pattern generation program
CN107480050A (en) A kind of method of testing of automatic test renewal bag
WO2014155718A1 (en) Information processing device and information processing system
JP4215255B2 (en) Degradation confirmation inspection method, degradation confirmation inspection system, and program therefor
CN102681869A (en) Updating a web package within a manufacturing execution system
CN115033481A (en) Method and device for automatic test code generation based on browser access and computer equipment
JP2016071398A (en) Test execution device, test execution method, and computer program
JP2010009153A (en) Design support system, design support device, design support program and recording medium recording same program
JP5351565B2 (en) Information processing apparatus, information processing method, and program
JP6881559B1 (en) Document creation support device, document creation support method, and program
JP7391503B2 (en) Information processing system and information processing method
JP4393893B2 (en) Pattern system construction device, pattern application device and program, competitive element detection program, and software development support program
CN114189527B (en) Information synchronization method and device, electronic equipment and storage medium
JP4467363B2 (en) Product development support system and method, product test support system, and computer program
JP6353759B2 (en) Test execution device, test execution method, and computer program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23807615

Country of ref document: EP

Kind code of ref document: A1