QuickTest identifies the objects in your application based on set of properties, stores them into Object Repository and uses the same during run time.
For recognizing the objects, QuickTest follows the below mechanism,
- Initially it will look for Mandatory Properties [like Class, Label etc…] for unique identification of the object.
Example: for uniquely identifying the OK button, it will consider of Class: Push Button and Label: OK
- In case, Mandatory Properties doesn’t provide unique identification, it will look for some Assistive Properties [like innertext, outertext, etc…]and tries to recognize.
- Even Assistive Properties doesn’t provide unique identification for that particular object, QuickTest go for Ordinal Identifier. Ordinal Identifier includes,
- Index.
- Location.
- Creation Time.
NOTE:
- You can modify property values of the test object during the run session by adding SetTOProperty statements in the Keyword View or Expert View.
No comments:
Post a Comment