I was wondering if someone could give me advice or help on how best to accomplish submitting some clicks in an HTML page in IE.
I am able to click on submission buttons that look like the following:
<a id="J_LinkBuy" href="#" data-addfastbuy="true" title="wifes_web">Pay Now<b></b></a>
Using the following code:
AutoIt Code
$oLink = _IEGetObjById($oIE, "J_LinkBuy") $href = $oLink.href MsgBox(1, "href link", $href ) _IEAction($oLink, "click")
However, when I try to do the same thing for the following button elsewhere on the page, it never submits.
<div class="tb-btn-buy"> <a href="#" data-addfastbuy="true" title="wife2" class="J_ClickCatcher J_LinkBuy"> Pay Now <b class="J_ClickCatcher J_LinkBuy"></b> </a> </div>
Instead of a id= , I see the page uses a class= , which I'm not sure if I can use _IEAction click to work on. I don't think I can just write:
AutoIt Code
Also, this link tag may send to some javascript. I'm not sure.
Thanks in advance!