Greetings,
I am coming from a year of Telerik Test Studio and now looking at HP UFT solution for our project for about a week now. I have stumbled upon a problem that other testing tools also tend to struggle with - dynamic urls. Our url is in a form of <hostname>/controller/action/<order hash>/ where hostname would be parametrized and orderhash should be ignored. So far I have not found a way to make UFT ignore order hash.
Exact problem is that in action that uses one of these pages at first (recorded) run Page object can be found but when hash changes UFT no longer matches the page. Using object repository and setting Create new Page test object for Different test object descriptions but that did not help. I tried to look up to what UFT matches the Page but there seems to be no such method to do so. I tried using a different approach using direct descriptive matching but that just renders object repository useless and hence the reusability of testing locators.
This is really stopping the testing as objects can not matched so if anyone has any hints on how to solve or work around this problem I would be very much grateful.
Best regards,
Janez
edit: updated title with uft
I am coming from a year of Telerik Test Studio and now looking at HP UFT solution for our project for about a week now. I have stumbled upon a problem that other testing tools also tend to struggle with - dynamic urls. Our url is in a form of <hostname>/controller/action/<order hash>/ where hostname would be parametrized and orderhash should be ignored. So far I have not found a way to make UFT ignore order hash.
Exact problem is that in action that uses one of these pages at first (recorded) run Page object can be found but when hash changes UFT no longer matches the page. Using object repository and setting Create new Page test object for Different test object descriptions but that did not help. I tried to look up to what UFT matches the Page but there seems to be no such method to do so. I tried using a different approach using direct descriptive matching but that just renders object repository useless and hence the reusability of testing locators.
This is really stopping the testing as objects can not matched so if anyone has any hints on how to solve or work around this problem I would be very much grateful.
Best regards,
Janez
edit: updated title with uft