Common Issues

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

3 replies »

  1. 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