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:

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

  2. 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.

  3. In the parameters list, select the type of parameter you want:

    • Test/action parameter

    • Data Table parameter

    • Environment parameter

    • Random number parameter

  4. If you need to add a parameter, click the Add New Parameter button at the bottom of the parameter list.

  5. Parameterize the value using the Value Configuration Options Dialog Box.

Back to top

Use the Data Driver to parameterize a constant value

For details, see Data Driver Dialog Box.

Back to top

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.

Back to top