LurchMan Posted March 13, 2012 Posted March 13, 2012 (edited) Hello Everyone - I'm working on automating a simple internal website that has a login form but the submit button doesn't have a name. Below is the HTML code for the form I'm trying to work with. I have tried to using _IEFormSubmit() but this didn't submit the form as expected. Can someone help me with explaining how to click this button with no name? <form name="login" method="post" action="/login_validate"> <div style="margin-left: 370px; margin-right: 370px;" class="tableborder"> <table cellspacing="0" cellpadding="0" border="0" align="center"> <tr> <th colspan="1">Login</th> <th colspan="2" style="text-align: right;"> <a href="/forgot_passwd" class="header">Forgot Password?</a> </th> </tr> <tr> <td class="">Username</td> <td align="center"><input type="text" name="login_username" id="login_username" class="logininput"></td> <td></td> </tr> <tr> <td class="">Password</td> <td align="center"><input type="password" name="login_passwd" id="login_passwd" class="logininput"></td> <td valign="bottom" align="right"><input type="submit" class="button" value="Login"> </tr> </table> </div> </form> Thanks for any help in advance. Edited March 13, 2012 by LurchMan Dating a girl is just like writing software. Everything's going to work just fine in the testing lab (dating), but as soon as you have contract with a customer (marriage), then your program (life) is going to be facing new situations you never expected. You'll be forced to patch the code (admit you're wrong) and then the code (wife) will just end up all bloated and unmaintainable in the end.
Jfish Posted March 13, 2012 Posted March 13, 2012 The answer is in the forum ... Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt
Moderators Melba23 Posted March 13, 2012 Moderators Posted March 13, 2012 LurchMan,From the Forum rules:"Do not discuss any of the following:[...]forum or site auto-login methods"And so..... M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
Recommended Posts