Sign in to follow this  
Followers 0
noviceuser

How can I emulate a click on this image?

2 posts in this topic

Hi,

I am attempting to automate the log in to a site, that involves clicking on a submit button.

However the button has no name and I am at a bit of a loss how to emulate the click.

Here is an extract of the relevant form:

<form action="/M/home.mc" method="post" id="ism_home_login" target="_top">

<div>

<label for="user_name">Username: </label>

<input type="text" class="text" id="user_name" name="user_name" />

</div>

<div>

<label for="password">Password: </label>

<input type="password" class="text" id="password" name="password" />

</div>

<input type="hidden" name="FPL|login_cb" />

<input type="hidden" name="NextPage" value="/M/myteam.mc" />

<input type="image" value="Go" class="ism_submit" onclick="this.style.visibility='hidden'" src="/images/fpl/2007/go.gif" />

</div>

</div>

</form>

Thanks for any help.

Share this post


Link to post
Share on other sites



Problem solved - I used _IEAction to submit the form and it seems to work.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0