Wednesday, January 14, 2015

Object Identification in QTP


Object Identification While Recording

Stores Object as Test Object, Determining the class it fits.
For each test object class, Quick Test always learns a list of Mandatory properties or Assistive properties. Checks whether this description is enough to uniquely identify the object. If it is not, Quick Test adds assistive properties, one by one, to the description, until it has a unique description.

Object Identification during Test Run

Searches for a run-time object that exactly matches the description of the test object
It expects to find a perfect match for both the mandatory and any assistive properties of test object

Uses Smart Identification mechanism to identify an object, even when the recorded description is no longer accurate.

No comments: