Tuesday, 16 September 2014

To check Title of the page


Browser("Yahoo India").Sync
Browser("Yahoo India").Page("Yahoo India").Sync
pt= Browser("Yahoo India").Page("Yahoo India").GetROProperty("title")

If pt = "Yahoo India" Then
    msgbox "Page title is correct"
else
msgbox "Page title is incorrect"

    End If

No comments:

Post a Comment