What are Object Properties?
A set of characteristics that defines an object’s appearance, values, state and identity in an application.
QTP captures these object properties during recording.
Logical Name – Logical name is a value QuickTest usually takes from one of the object properties (like TEXT) to refer to the object in the recorded script.
Object Repository
What is Object Repository?
Object Repository is a location within the test structure where QuickTest stores object information captured during recording.
The Object Repository can be used to:
Screenshot of Object Repository
A set of characteristics that defines an object’s appearance, values, state and identity in an application.
QTP captures these object properties during recording.
Logical Name – Logical name is a value QuickTest usually takes from one of the object properties (like TEXT) to refer to the object in the recorded script.
Object Repository
What is Object Repository?
Object Repository is a location within the test structure where QuickTest stores object information captured during recording.
The Object Repository can be used to:
- Rename logical names for readability.
- Add a new object in the repository.
- Configure the object properties used to identify an object.
Screenshot of Object Repository
- The Object Repository can be Per Action or Shared.
- The shared repository can be used by multiple actions of the same test or by actions from different tests. Test object properties are prone to frequent updation.
- Per Action object repository is used by one or very few tests.Test object properties are modified less frequently.
No comments:
Post a Comment