Interview Questions

What are assistive properties or an ordinal identifier?

QuickTest Professional (QTP) Questions and Answers


(Continued from previous question...)

What are assistive properties or an ordinal identifier?

When mandatory property values are not sufficient to uniquely identify the object within its parent object, QuickTest adds some assistive properties and/or an ordinal identifier to create a unique description. Note: You can retrieve or modify property values of the test object during the run session by adding GetTOProperty and SetTOProperty statements in the Keyword View or Expert View. You can retrieve property values of the runtime object during the run session by adding GetROProperty statements. If the available test object methods or properties for an object do not provide the functionality you need, you can access the internal methods and properties of any run-time object using the Object property. You can also use the attribute object property to identify Web objects in your application according to user-defined properties.

(Continued on next question...)

Other Interview Questions