Jump to content
Sign in to follow this  
LurchMan

IE Help

Recommended Posts

LurchMan

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 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.

Share this post


Link to post
Share on other sites
Melba23

LurchMan,

From the Forum rules:

"Do not discuss any of the following:

[...]

forum or site auto-login methods"

And so..... :oops:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×