Micro Focus QTP (UFT) Forums
Object Identification not working on Run Time - 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: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: Object Identification not working on Run Time (/Thread-Object-Identification-not-working-on-Run-Time)



Object Identification not working on Run Time - Ajatshatru - 05-05-2015

I have written a code for Web page. The code requires me to click on links that opens new browser windows multiple times during the run time and close the same. All the elements on all the browser windows are normally identifiable using the object spy. However, intermittently during run time when a new browser window opens up the elements on the page are not getting recognized (hence it throws errors). When i go into the debug mode and try using the object spy the maximum identification i can capture is Browser(<>).Page(<>). Nothing in the page is getting recognized.

Now if i close this browser and reopen it and check again, the elements on the page are getting captured by the object spy and i can continue with my script execution. Sometimes I have to close and reopen multiple times for it to work.

Is there any way to handle this scenario. check for object identifications on the run time maybe. Dunno if it this is any relevant but i am not making use of the OR in my project.

Thanks in advance.


RE: Object Identification not working on Run Time - supputuri - 05-06-2015

I would first check the security setting and I am sensing the BHO Manager is getting disabled when you are trying to click on the links which will bring-up the browsers.


RE: Object Identification not working on Run Time - Ajatshatru - 05-06-2015

Hi,

BHO manager getting disabled is in my list for possible reasons. But i am not sure how to check this at all. Also, can you please tell me which settings are you talking about.

Thanks