Micro Focus QTP (UFT) Forums
Object Spy does not detect objects - 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 Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Object Spy does not detect objects (/Thread-Object-Spy-does-not-detect-objects)



Object Spy does not detect objects - kuks - 04-07-2012

Hi,

I am a beginner. I was going through the QTP tutorial to learn the basics.

In chapter: HP QuickTest Professional Tutorial > Creating Object Repositories > Learning Objects in Your Application, they tell you how to use object spy, in order to display object class and name (Step no. 5). That is, when you pin object spy to the right hand side of your screen click on the hand symbol, and redirect your mouse to user name text box on http://newtours.demoaut.com/, the the hierarchy box should display object name and class as WebEdit:userName.

However, the problem I am facing here is; when I move my mouse over the website, I get only one kind of object class all over, WinObject. It considers the entire screen as a single object instead of counting sub objects on the browser differently.

Please help me figure out the problem and resolve this issue. I am unable to go ahead Sad


RE: Object Spy does not detect objects - swathi - 04-07-2012

if the spy recognizing web objects as Winobjects. make sure you launch QTP first. then launch the applicaton in browser.




RE: Object Spy does not detect objects - kuks - 04-07-2012

Still doesn't work Sad Infact i even installed the Add-ons required by qtp11 to support IE9 and 64-bit. Now it detects every object as WinEdit or so.


RE: Object Spy does not detect objects - dineshkumar - 04-08-2012

Swathi is right if you still face the problem do a normal recording and observe, it should work.

-Dinesh


RE: Object Spy does not detect objects - kuks - 04-08-2012

Still doesn't work Sad Infact i even installed the Add-ons required by qtp11 to support IE9 and 64-bit. Now it detects every object as WinEdit or so.


RE: Object Spy does not detect objects - sltester - 06-29-2012

Hi All,
I am facing the same problem. Did you find a solution? If anyone knows how to fix it please help me. I just have 8 days left on my QTP trial.
Thank you
-Sree

None of the methods suggested fixed the issue.When I tried to record to get hold of the objects its recording everything as "WinObjects". I tried using different browsers. Its still the same.


RE: Object Spy does not detect objects - supputuri - 06-29-2012

Hi,
This will happen when you are using the wrongversionof IE9 with QTP on 64bit mac.

Can you share the screenshot with what version of QTP you are using? (IE>Tools>About IE) So that Can assist you....


RE: Object Spy does not detect objects - Halemani - 07-02-2012

I think you guys are using Windows 7.
I think recording also is not working.
In Windows 7 there is something called as UAC( User Account Settings). Bring it to lowest level and it will work.
Here is the link from MS to get it down: http://support.microsoft.com/kb/975787
This happens because of the UAC. There are other ways of changing UAC settings. Look into those if the above help does not work. I have tried on 2 systems and it fixes the problem. Fixed Spy and Recording issues.

Let us know what happened!!
This will work for any version of IEs. It works with IE 6 but it comes with XP only.
So you guys are using IE8 or IE9. I have tested it worked fine with both 8 and 9 on 2 different systems respectively.


RE: Object Spy does not detect objects - Akhila - 10-29-2012

Hi There,

I am getting the same issue...when I use object spy its recording all object properties as Winobjects.
Even after dropping the User accoutn settings to lowest level as suggested above.
Does anyone knows the solution for this issue?

Thanks,
Akhile


RE: Object Spy does not detect objects - newqtp - 10-30-2012

If you are on windows7 and Qtp does not recognize and unable to record, in this case you need two plugin to make qtp record on windows 7, Find these plugins QTPWEB_00037 and QTP_00644 and install.