| || |
QuickTest object identification
How does QuickTest identify objects? Does it use the Document Object Model (DOM)? If one of your textboxes changes or is moved elsewhere on the page, is it easy to go into the script and change the properties of the textbox object to reflect the change, instead of having to re-record the entire script?
Re: QuickTest object identification
Objects have their "properties" saved and later used during playback to locate the object on a page.
An object's properites can be viewed and modified using the AQT Tools:Object Repository dialog. Within reason an object's properties can be modified to reflect changes to the application under test.
This feature is quite similar to WinRunner's GUI Map editor [but IMO not as flexible].
Because object properties are used to locate the object during playback, simply relocating the object on a page does not normally require modification to its Object Repository definition [unless the object was being identified by its X:Y coordinates, which is NOT the default properties which are recorded for most/all objects].
For more information refer to the "Understanding How QuickTest Learns Objects" in the QuickTest User's Guide [which is provided with the downloadable evaluation version of QuickTest].
-Hope this helps, Terry Horwath
[This message has been edited by Terry Horwath (edited 11-01-2001).]