Value Configuration Options Dialog Box

Relevant for: GUI tests and components

This dialog box enables you to define a selected value as a constant or a parameter. In some situations, you can also define the constant or parameter using a regular expression.

To access
  1. Ensure that a GUI action or component is in focus in the document pane.

  2. In the Value column of the Keyword View, click the parameterization button for a selected value.

  3. In the list of parameters, click the Add New Parameter button at the bottom of the parameters list.

Important information

Relevant for keyword components: If at least one input component parameter is defined in the component, the default input type is Component parameter and the default input name is the first output parameter displayed in the Parameters pane of the Business Component Settings dialog box.

User interface elements are described below:

UI Elements

Description

Constant

A manually defined value that remains unchanged for the duration of the run.

You can edit the value directly in the Constant box. This box offers the same editing options as the Value cell in which you clicked the parameterization button to open this dialog box.

Regular expression
(tests and scripted components)

Enables you to specify a constant value using a regular expression.

This option is available only for string value types in some situations, for example, when parameterizing an object value. This option is not available for method arguments or for keyword components.

To use a regular expression: Enter a regular expression in the Constant box and select the Regular expression check box.

For more details, see Regular expressions, Smart Regular Expression List, and Regular Expression Evaluator.

Parameter

A value that is defined or generated externally and is retrieved during a run session. The parameter section displays:

  • The current parameter type and details for the value if a value is already parameterized.

  • The default parameter type and details for the value if a value is not yet parameterized. You can change the default definition by selecting a different parameter type or modifying the parameter settings for the value.

Options for tests and scripted components include:

The options in the Parameter section change according to the parameter type you select and are very similar to the options in the Parameter Options dialog box. For details, see Parameter Options Dialog Box

For more details on using parameters in your tests or scripted component, see Parameterize object values.

Options for keyword components include:

  • Component parameter. Variable values defined within a component for use in the same component or later components in a business process test.

  • Local parameter. Variable values defined within a component for use exclusively within the same component.