Thursday, August 19, 2010

yahoo search through QTP

InvokeApplication "C:\Program Files\Internet Explorer\iexplore http://in.yahoo.com/?p=us"
Browser("name:=Yahoo! India").Page("title:=Yahoo! India").WebEdit("html id:=p_13838465-p").Set DataTable.Value("Yahoo_Search", dtGlobalSheet)
Browser("name:=Yahoo! India").Page("title:=Yahoo! India").WebButton("html id:=search-submit").Click
Browser("opentitle:= Yahoo! India").Close

1 comment: