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 |
|
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:
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:
|