Parameterizing Property Value For Objects and Checkpoints in QTP in Testing

You can parametrize the values for one or more properties of an object stored in the local object repository in the Object Properties dialog box or Object Repository window. You can parametrize the values for one or more properties of a checkpoint in the Checkpoint Properties dialog box.

To parametrize local object values,

open the dialog box for the object properties in one of the following ways:

  • Select a step and choose Edit > Step Properties > Object Properties.

    object-properties-dialogbox.jpg

  • Choose Resources > Object Repository, click the Object Repository toolbar button. The object repository dialog box opens.

    object-repository-dialogbox.jpg

  • Click the Value cell for the property that you want to parametrize and click the parametrization icon. The value Configuration options dialog box opens.

     Value-Confirguration-dialog-box.jpg

  • Select Parameter. If the value is already parametrized, then the Parameter box displays the current parameter definition for the value. If the value is not yet parametrized, the Parameter box displays the default parameter definition for the value.

      Parameter-value.jpg

  • Click OK to accept the displayed parameter statement or change the displayed parameter definition and then click OK.

      Parameter-value-icon.jpg

  • To accept the displayed parameter statement and parametrize another of the displayed values, select another property and follow the previous steps.


Similar Articles