Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[UFT] Fixed web tests with dynamic parts
#1
Not Solved
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
Reply


Messages In This Thread
[UFT] Fixed web tests with dynamic parts - by jdd - 04-04-2016, 02:37 PM
RE: Fixed web tests with dynamic parts - by jdd - 04-04-2016, 05:44 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  UFT 14.53 not able to record steps of web application rupesh doshi 3 2,594 10-10-2019, 01:50 PM
Last Post: rupesh doshi
  Run Button is not available in QTP 11 - while running tests from QC 11 Kannan R 0 1,776 08-13-2013, 08:15 PM
Last Post: Kannan R
  cannot open QTP tests learnasugo 8 8,791 10-18-2012, 11:28 AM
Last Post: Ankesh
Exclamation Running the tests in Firefox dol_fin 3 7,814 03-01-2012, 11:35 PM
Last Post: inborntester
  How to pass values between different tests in QTP vijaya.t 6 16,105 01-30-2012, 11:09 AM
Last Post: mrajeshtnl

Forum Jump:


Users browsing this thread: 1 Guest(s)