Micro Focus QTP (UFT) Forums
Object Spy gives different results - 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: Object Spy gives different results (/Thread-Object-Spy-gives-different-results)



Object Spy gives different results - shipu - 12-18-2013

Hello,

I am writing desciptive programming in visual basic window. When I click a vbbutton using object spy, I get vbname = "continue".

But when another person click on the same button using object spy, he gets vbname = blank.

Any idea why am i getting value but he is not.

Please help.

S


RE: Object Spy gives different results - basanth27 - 12-19-2013

Is he spying on the same machine, probably the machine is haunted.(sorry about the pun Smile )

Well, this should not happen, unless there are some QTP installation problems or the focus is on some other window. Why dont you restart the machine, open qtp first and then open the application and try again.


RE: Object Spy gives different results - shipu - 12-19-2013

two different machines. both machines have the same qtp version/build, same vbappllication. I tried restarting the machine. No luck.

I wrote a script in DP but when I run the script in his machine it fails. Then, I used the object spy and saw that some properties have no value in his machine but I do.

I am lost.


RE: Object Spy gives different results - basanth27 - 12-20-2013

Probably could be the add-ins. Did you check if the Addins on his machines are selected and loaded?


RE: Object Spy gives different results - shipu - 12-25-2013

We both have the same add-ins selected and installed.