Jump to content
Sign in to follow this  
VeeDub

Issue with IE Management - unable to click on image

Recommended Posts

VeeDub

Hello,

I'm trying to click on the first 'Go' image on this site http://www.privateschoolsdirectory.com.au

The code that I'm using is:

If ProcessExists("iexplore.exe") Then
$oIE = _IEAttach("The Private Schools Directory")
$Status = _IEImgClick($oIE,"images/goBtn.gif","src")
If $Status <> -1 Then
MsgBox(0,"Error - Go",@error)
EndIf
EndIf

The _IEImgClick fails with

--> IE.au3 V2.4-0 Warning from function _IEImgClick, $_IEStatus_NoMatch

I know that the image source is correct.

I'm wondering if the issue is that there is more than one 'Go' image on the page. I've tried using different indexes: 0, 1, 2 but that hasn't made any difference.

Suggestions on how to troubleshoot would be appreciated

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×