QuickTest uses the below method when it learns objects during the recording process.
- First, it "looks" at the object on which you are recording and stores it as a test object,
- Determines the test object class that best fits it.
- Then, for each test object class, QuickTest has a list of mandatory properties that it always learns; When you record on an object, QuickTest always learns these default property values, and then "looks" at the rest of the objects on the page, dialog box, or other parent object to check whether this description is enough to uniquely identify the object. If it is not, QuickTest adds assistive properties, one by one, to the description, until it has compiled a unique description; If no assistive properties are available, or if those available are not sufficient to create a unique description, QuickTest adds a special ordinal identifier, such as the object's location on the page or in the source code, to create a unique description.
- Reads the current value of the object's properties in your application and stores the list of properties and values with the test object
- Chooses a unique name for the object, generally using the value of one of its prominent properties.
No comments:
Post a Comment