Hi Thanks please find the code below
I am trying it on sample website..
http://www.9th-direction.com/?p=233
on this web site there is link ISTQB Sample Question Paper Dump 1
it is pdf file, when i reach here on the ie explorer there is popup blocker and i am not able to download the file.
I have tried it using send key method on dialog box of download, but @ rntime there is issue with ie explorer.
SO how to handle such scenarios.
Thanks,
Code:
systemutil.Run "C:\Program Files\Internet Explorer\iexplore.exe"
Browser("title:=about:blank").Navigate "about:blank"
Browser("title:=about:blank").Navigate "http://www.9th-direction.com/?p=233"
Set oLinks=Description.Create()
oLinks("micclass").value="Link"
set oAll=Browser("Software Testing Tutorial").Page("ISTQB Question Dump |").ChildObjects(oLinks)
cnt=oAll.count
'print cnt
For i=0 to cnt-1
print oAll(i).Getroproperty("name")
If oAll(i).Getroproperty("name")="ISTQB Sample Question Paper Dump 1" Then
msgbox "Match Found"&i
oAll(i).click
exit for
End If
Next
I am trying it on sample website..
http://www.9th-direction.com/?p=233
on this web site there is link ISTQB Sample Question Paper Dump 1
it is pdf file, when i reach here on the ie explorer there is popup blocker and i am not able to download the file.
I have tried it using send key method on dialog box of download, but @ rntime there is issue with ie explorer.
SO how to handle such scenarios.
Thanks,