Jump to content
Sign in to follow this  

_IEAction, IELinkClickByText: how to use with odd link

Recommended Posts


I cant get a link to click on a webpage. The page may be made up of frames. I can only view the source of the page by saving it locally and opeing the .mht file with notepad. The link seems to be in the cell of a table, the link text is "Wait Time Information System (WTIS)", lost of formatting around the link.

------------ source of HTML --------------

<TD><A class=3Dblack_link=20



1', 'misc')">Wait=20

Time Information System=20


---------- ERROR MESSAGE: ClickByText ----------------

_IELinkClickByText ($oIE, "Wait Time Information Systems (WTIS)")

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

(ClickByIndex also fails)

---------- ERROR MESSAGE: _IEAction -----------------------

Cant seem to get _IEAction to work either:

;$oSubmit = _IEGetObjByName ($oIE, "Wait Time Information System (WTIS)")

;_IEAction ($oSubmit, "click")

--> IE.au3 V2.4-0 Warning from function _IEGetObjByName, $_IEStatus_NoMatch (Name: Wait Time Information System (WTIS), Index: 0)

--> IE.au3 V2.4-0 Error from function _IEAction, $_IEStatus_InvalidDataType

Attached pic of webpage.

Any advice is 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