Parameterize values for operations or local objects
Relevant for: GUI tests and scripted GUI components
This topic describes how to parameterize values for an operation or a local object.
Parameterize a value for an operation
Perform the following steps to parameterize a value for an operation:
-
Do one of the following:
-
For test step operations, in the Keyword View click in the Value column of the required step.
-
For property values for local objects, do one of the following:
-
Right-click a step and select Object Properties. The Object Properties Dialog Box opens.
-
Open the Object Repository Window and select the object.
-
-
-
Open the Value Configuration Options dialog by: .
-
For a value for an operation, in the Keyword View, click the parameterization icon for the value that you want to parameterize.
-
For property values for local objects, in the Object Repository click in the Value cell for the property that you want to parameterize, and click the parameterization icon .
The parameters list opens, displaying the available parameter types and parameters.
-
-
In the parameters list, select the type of parameter you want:
-
Test/action parameter
-
Data Table parameter
-
Environment parameter
-
Random number parameter
-
-
If you need to add a parameter, click the Add New Parameter button at the bottom of the parameter list.
-
Parameterize the value using the Value Configuration Options Dialog Box.
Use the Data Driver to parameterize a constant value
For details, see Data Driver Dialog Box.
Enter parameters as values in the Editor
You can enter input and output parameters as values in the Editor using the Parameter utility object. For more information, see Parameter in UFT One Object Model Reference for GUI Testing.