Micro Focus QTP (UFT) Forums

Full Version: Object Identification not working on Run Time
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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.
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