I'm New to QTP 10. I am having a couple of issues when using descriptive programming,
- In some screens, while performing a click event
- Screen sizes get shrinked eg:
iframe
body
- Some times a Menu Panel is disappearing
- Screen sizes get shrinked eg:
- 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?
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
andabs_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.