Micro Focus QTP (UFT) Forums
Uniquely identifying a particular web Page - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: Uniquely identifying a particular web Page (/Thread-Uniquely-identifying-a-particular-web-Page)



Uniquely identifying a particular web Page - sunny rao - 12-08-2008

hi all,

Working on a web application and use a

Code:
'Do while loop
loop Until Browser.Exist(1)


Script waits till the (browser) page loads. But the problem is if a particular button is not clicked the page does not go to the next page, It simply refreshes
now QTP recognizes it as a new page and runs the script and ultimately stops.

All the pages have first two hierarchy same : Browser("xyz").Page("abc_1")
Browser("xyz").page("abc_2')
...........and so on

Can anybody suggest how to uniquely identify each web page.