The first time QuickTest encounters an object during a run session, it creates a temporary version of the test object for that run session. QuickTest uses the object description to create this temporary version of the object. For the remainder of the component, QuickTest refers to the temporary version of the test object rather than to the test object in the object repository.
Note: The Object Repository window is read-only during record and run sessions.
There are several ways to modify test object properties. Choose the way that best suits your needs:
- You can manually change a test object property value to match a new static property of an object in your application. For
- You can create a function (operation) that uses the SetTOProperty method to modify test object properties during a run session without changing the property values in the object repository.
- You can modify the set of properties that QuickTest uses to identify the object, so that it will be able to identify an object even when some of its properties change.
- You can use regular expressions to identify an object based on conditions or patterns you define.
No comments:
Post a Comment