QTP 10 with IE8 (Descriptive method)

94 Views Asked by At

I'm New to QTP 10. I am having a couple of issues when using descriptive programming,

  1. In some screens, while performing a click event
    1. Screen sizes get shrinked eg: iframe body
    2. Some times a Menu Panel is disappearing
  2. We are trying to automate a big application and it has number of Save buttons (And other buttons) which are using with the same object properties. On that time we failed to get a unique property value, So We were using abs_x, abs_y , x, y values. These coordinate values are changing from system to system and in fact it has changed a number of times in same system itself.

How to resolve these problem?

1

There are 1 best solutions below

0
On

You really shouldn't be using QTP10 in 2016. QTP's name was changed to UFT and the current version is 12.54. The license for QTP is also valid for UFT so I don't see why not to upgrade.

In any case you should not use abs_x and abs_y in description, this is very brittle and can change between test runs. You should try to find a way to identify your objects in a way that is intrinsic to the object.

By upgrading to UFT you'll get some more functionality (for example Insight - Image Based Testing) which may solve your identification issues. Another option is to ask your R&D team to add some properties to the HTML to help testing.