Object Spy is not showing properties of pointed object!!

It is inevitable that if you are using QTP, you will come across many weird issues. It happens to me also many times.

Once, I was facing the issue that object spy was pointing to  some other object and I was getting the properties of some other object.

As you see in the below screenshot, search box on the Google Page is getting identified when the mouse is somewhere else…

Screenshot depicting the issue

After much mathapachchi, I got the solution of this issue:

The issue was that the zoom level of the browser was other than 100%

So, object spy will show the properties of the object pointed only if the zoom level of the browser is 100%

You can always try this after changing the zoom level of the browser….

Advertisements
Tagged with: , , , , ,
Posted in Common Issues
3 comments on “Object Spy is not showing properties of pointed object!!
  1. Balaji says:

    Thanks for sharing Vijay.
    I’ve been looking for a solution to this issue.

  2. Vijay says:

    Glad to know that this post has helped you!

  3. Sachin says:

    thanks vijay! this issue was actually causing my script to run weird – it would not click on a image button but still the step would pass

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog Stats
  • 168,130 hits
Categories

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 796 other followers

%d bloggers like this: