Dim oPage
Set oPage=Browser("name:=Google").Page("title:=Google")
oPage.WebEdit("xpath:=//INPUT[@name='q']").Set "advancedqtp"'Entering value in Google textbox.
oPage.WebButton("xpath:=//INPUT[@value='Google Search']").Click'Clicking Google Search button.
Try it and enjoy