You can specify or modify values for properties in the test object description. You can specify a value using a constant value (either a simple value or a constant value that includes regular expressions) or you can parameterize it. You can do this for objects in the local object repository using the Object Repository window or Object Properties dialog box, and for objects in the shared object repository using the Object Repository Manager.
You can also find and replace specific object property values
Note: In some cases, the Smart Identification mechanism may enable QuickTest to identify an object, even when some of its property values change. However, if you know about property value changes for a specific object, you should try to correct the object definition so that QuickTest can identify the object from its basic object description.
Tip: You can use the Object Spy at any time to view run-time or test object properties and values of the objects in the application you are testing. You open the Object Spy by choosing Tools > Object Spy or clicking the Object Spy toolbar button
- Select the test object whose property value you want to specify.
- In the Test object details area, click in the value cell for the required property.
Tip: For an object in the local object repository, you can also select the required test object and choose Edit > Step Properties > Object Properties, and then make the following property value changes in the Object Properties dialog box.
- Specify the property value in one of the following ways:
- If you want to specify a constant value, enter it in the value cell.
- If you want to parameterize the value or specify a constant value using a regular expression, click the parameterization button in the value cell. If you specify a constant value using a regular expression, the icon is displayed next to the value.
- If you specified a constant value, it is shown in the Value column of the Test object details area. If you parameterized the value, the parameter name is shown with one of the following icons in the Value column
No comments:
Post a Comment