HighlanderSword Posted November 26, 2012 Share Posted November 26, 2012 Hello, I have a web page that has several button that have no object id assigned to them. How would I simulate a click on a button like this ? Below is the HTML from the web page. Thanks Paul </tr> </tbody> </table> <div id="clearone"> </div> </div> <h4>Administrative Permissions</h4> <table border="0" cellspacing="5"> <br> <tr> <th>Group Admin Permission:</th><td><input value="Grant" onclick="grantGroupPerm();" type="button" class="button"></td><td><input value="Revoke" onclick="revokeGroupPerm();" type="button" class="button"></td><td><input value="Inquire" onclick="showAdmins('group');" type="button" class="button"></td> </tr> </table> Link to comment Share on other sites More sharing options...
HighlanderSword Posted November 26, 2012 Author Share Posted November 26, 2012 Hello, I found the solution, I used the code below $oInputs = _IETagNameGetCollection ($oIE, "input") For $oInput In $oInputs If $oInput.value = "Inquire" Then _IEAction ($oInput, "click") EndIf Next Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now