Test Combinations Generator

This dialog box enables Business Process Testing users to use the Test Combinations Generator to generate test configurations. This enabling users to create a larger variety of test configuration data sets. These test configurations can be used to test a wider variety of scenarios for applications.

To access
  1. In the Test Plan module, select a business process test that has test parameters.

  2. In the Test Configurations tab, choose Test Combinations Generator .

Important information
  • Available for Business Process Testing users only.

  • The business process test cannot be read-only.

  • Prerequisite: For the Test Combinations Generator to be available in ALM, install the ALM plugin in UFT One.

Relevant tasks

User interface elements are described below:

Back to top

Parameter Values

UI Element

Description

<Parameter values grid> 

A grid for entering parameter values manually.

GENERATE PARAMETERS

A panel for specifying how Business Process Testing should generate parameters for the configuration. Enter values for these fields: 

  • Parameter. The name of the parameter (from the available test-level parameters) whose values should be generated.

  • Generation type. The type of data that should be generated. Valid values are: 

    • Number

    • Date

    • Full name

    • First name

    • Surname

    • Password

    • City

    • E-mail

    • URL 

    • MAC address

    • IP address

    • Regular expression

    Depending on the type, additional fields may be display. For example, for numbers: 

    • Min number. The minimum number of the first value to generate.

    • Max number. The maximum number of the last value to generate.

    • Number of entries. The number of sets of values to generate for each parameter in the grid on the left.

      Tip: You can either type a number in the text box or use the slider to specify the number of entries.

Generate Available in the GENERATE PARAMETERS pane. Creates the parameter value combinations and displays them in the grid to the left.
Add selected values to: 

Determine whether the selected values are expected to cause an exception or error.

  • Happy path. The values are expected not to cause an exception or error. The selected parameters are displayed in green.

  • Error path. The values are expected to cause an exception or error. This is useful for negative testing of your application. The selected parameters are displayed in red.

Available after: Clicking Generate in the GENERATE PARAMETERS pane.

IMPORT Optionally click IMPORT to import values from a Business Process Testing data table resource created previously in either ALM or UFT One. The Import Test Configuration Generator Settings dialog box is displayed, enabling you to navigate to a location and select a data table to import.
EXPORT Optionally click EXPORT to create Business Process Testing data table resource based on the current parameter values for use at a different time. The Export Test Configuration Generator Settings dialog box is displayed, enabling you to navigate to a location and name the exported data table.
VIEW COMBINATIONS Advance to the next phase in the generation process: Viewing combinations.

Back to top

Combinations

UI Element

Description

CONFIGURATION NAME Name for the test configuration.
PERMUTATIONS The combinations that will be generated. Business Process Testing generates Number of entries permutations for each value in the Parameter values grid. The total number of permutations is listed at the bottom of the grid.
ERROR PATHS The list of combinations to generate that are designated for the error path.
ALGORITHM Generate different configurations depending on the selected combination algorithm (Linear, Pairwise, or Triplewise). Choose an algorithm for your testing needs. Business Process Testing updates the list of permutations accordingly.
FILTER Filter the generated combinations to see error paths or regular paths. Click Close when done.
BACK TO PARAMETERS Go back to the Parameter Values phase of the generation process.
GENERATE Generate test configurations.

Back to top