Hi to all I am trying to count link edit and Image of google search .i am using this code but i am not getting the right result . can any buddy tell me where ma i wrong Systemutil.Run "iexplore","http://in.yahoo.com/" wait(10) Set Desc = Description.Create() Desc("micclass").Value = "WebEdit" Desc("micclass").Value = "Link" Desc("micclass").value = "Image" Set Edits =Browser("name:=Yahoo! India").page("title:=Yahoo! India").ChildObjects(Desc) Set Link =Browser("name:=Yahoo! India").page("title:=Yahoo! India").ChildObjects(Desc) Set Image = Browser("name:=Yahoo! India").page("title:=Yahoo! India").ChildObjects(Desc) Msgbox "Number of Image: " & Image.Count MsgBox "Number of Edits: " & Edits.Count MsgBox "Number of Link: " & Link.Count
kind Regards Rahul Bansal -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
