How to get page name or title from browser in QTP?

GetROproperty() is used to get page name or title from browser in QTP.

Sample Code:

Dim pageName
pageName = Browser("Browser").Page("micclass:=Page").GetROproperty( "title" )

Cheers!!!

No comments:

Post a Comment