Hi,
Thanks a lot for you reply. I have tried the same for a site '
http://mindprod.com/application/brokenlinks.manual.html#SAMPLEHTMLEXPORT' where the link number 31(index) also return -1(Success)But in reality it should return 0 or error code because page is not found for the same. Below is my used code:
----Code---------
#include <IE.au3>
$oIE = _IECreate ("
http://mindprod.com/application/brokenlinks.manual.html#SAMPLEHTMLEXPORT")
$oLinks = _IELinkGetCollection ($oIE)
$iNumLinks = @extended
MsgBox(0, "Link Info", $iNumLinks & " links found")
;For $oLink In $oLinks
; MsgBox(0, "Link Info", $oLink.href)
;Next
$s=_IELinkClickByIndex ($oIE, 31)
MsgBox(0, "Link Info", $s)
--End----------------------------
regards
Niranjan