Micro Focus QTP (UFT) Forums
Identifying objects on .jsp page - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Identifying objects on .jsp page (/Thread-Identifying-objects-on-jsp-page)



Identifying objects on .jsp page - qatestbrian - 01-28-2010

Hello all you QTP Gurus,

Okay, so I am working with QTP 9.5 on an application making use of an AJAX framework. From the main page there is a link that launches a template selection page. QTP can see both of these pages. There is a drop down list of the different templates available for the user to select. When one of these templates is selected QTP is unable to see this page or its objects. And the way QTP can't "see" the objects is strange.
When I say strange I mean the following:
Object spy can see the page and identify all the objects on the page successfully. When I use the Object Repository manager to create a repository for the page a weird thing happens. I select the F6 button and select the default objects to learn. I hit the start button and off goes the QTP Object Identification application learning the page and its objects. When I go to the object repository, it is empty. There is no error trown, just no objects.
When I attempt to close the repository it asks me if I want to save indicating that something was done to the repository but didn't stick. When I use the "Add Object" button and select the page, those objects appear for a split second in the repository and then they disappear. When I try to use DP to indentify, Browser, Window, Page and object QTP throws a message saying it can't find the objects.
Do I need the Web Extensibility Toolkit to test this page? If so, why could QTP identify the objects for the .jsp page with the template drop down list but not the page generated from selecting an item from that list? Any input would be greatly appreciated.
Thanks,