Micro Focus QTP (UFT) Forums
How to get the dynamic page in Active Screen ? - 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 Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: How to get the dynamic page in Active Screen ? (/Thread-How-to-get-the-dynamic-page-in-Active-Screen)



How to get the dynamic page in Active Screen ? - Uma - 09-07-2011

Hi,

Normally If I click next Sync page it will show the result page in the active screen.Then I will use stand check point to Assert the result.
Like this,
Code:
Browser("name:="&result").Page("url:="&url1).Sync
Browser("name:="&result").Page("url:="&url1).WebElement("outerhtml:="&webel).Check CheckPoint("0")

Now My Problmatic code is,
My Code is,
Code:
Browser("RETS(.*)").Page("RETs(.*)").WebList("name:=Type").Select Res
Browser("RETS(.*)").Page("RETs(.*)").WebList("name:=Format").Select Format1
Browser("RETS(.*)").Page("RETS(.*)").WebButton("name:=GetMetadata").Click
Browser("RETS(.*)".Page("Page_10").Sync



Here If I click next to Sync I am not ableto see anything in my active screen.Actually I am using url string arguments for Page_10.
Like this,
Code:
Browser("RETS(.*)".Page("url:=&url").Sync
I must have to get this in the Active screen.Then I need to assert by using stand Check point?
What is the problem.
It is little urgent.
Any help?

Thanks,
Uma