Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

cannot click on 'word' which leads to another page

$
0
0
[ autoit ]         

first part of the code works fine, which is the login page, however on the following page, i cannot click on the word 'changes' which would lead to another page. the source of 'changes' is





<td class="pls"></td>
<td  nowrap  id="mx146_0"  align="middle"   valign="top" style="vertical-align:top;"><div nowrap needsrefresh="false" vis="true" id="mx145_compHolder" class="bc" style="display:inline;">
<span align='middle' ctype="label" id="mx145" tabindex="0"   ev="CHANGE" targetid="mx145" mxevent="click"  class="text favappsportletlink  " style="display:block;;cursor:pointer;;;" title="Changes "><img id='mx145_image' src='../webclient/skins/tivoli09/images/appimg_generic.gif' class='favappsportletlinkimg' border='0' alt="Changes" style='vertical-align:top;margin:0px;margin-left:3px;margin-right:3px;'/>Changes</span></div></td>
<td class="prs"></td>


i tried using the below but failed. im using IE8 btw and the error im getting is below.
[ autoit ]      
$oDiv = _IEGetObjByID($oForm, "mx145") _IEAction($oDiv, "click")



--> IE.au3 V2.4-0 Error from function _IEGetObById, $_IEStatus_InvalidObjectType
--> IE.au3 V2.4-0 Error from function _IEAction, $_IEStatus_InvalidDataType
C:\Program Files (x86)\AutoIt3\Include\IE.au3 (2361) : ==> The requested action with this object has failed.:
If IsObj($o_object.document.GetElementsByName($s_Id).item($i_index)) Then
If IsObj($o_object.document^ ERROR

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>