url="ww.google.com"
systemutil.Run"IEXPLORE",url 'It is to Open a Browser with any website address
Set gBrowser=Browser("name:=Google.*")
Set gPage=gBrowser.Page("title:=Google.*")
gPage.webedit("name:=q","type:=text","html tag:=INPUT").set "QTP"
gpage.webbutton("name:=Google Search","index:=0","type:=submit","html tag:=INPUT").click
No comments:
Post a Comment