I recently came across a situation where I had a Browser object embedded in an Excel File. I was able to identify it only as a WinObject so I was not able to access the contents inside the Page.
Following was what I was getting in Object Spy :-
I came across an interesting solution to this problem :-
- Goto Start > QTP > Tools > Register New Browser Control
- Enter the Path of the exe of the Parent Application (in my case it was excel.exe)
- Register the exe
- Restart QTP
After implementing this, I was able to successfully identify the Page and all its contents :-