Sign in to follow this  
Followers 0
Fibo

Java Button Click

2 posts in this topic

Hi,

I am creating a script to automatically login to our FTP server's web based console and create a username. The FTp server is hosted by our unhelpful ISP. No most of my script works OK but I cannot seem to find a way to press the freaken button to create a new user. Yes, I am a newbie AutoIT and I have read most of the forums and Google with still no idea in mind.

Here is the snippet of the source code I could grab from the website (viewsource) that seems relevant:

<tbody><tr><td><a class="core_button_normal" href="/xml/config/FtpCreateInsertDataNG;jsessionid=5CA00B77C7C979F1B00D0EC176AE16A7.TC46a?__frame=_top&__lf=ftp_delete_account_flow" nx="type:toolBarButton;parent:toolbar_;cmd:name=new,jump=FtpCreateInsertDataNG,;" id="button_new">New user</a><script type="text/javascript">__registry__.addId("button_new");</script></td></tr></tbody>

Any Ideas please?

Fibo

Share this post


Link to post
Share on other sites



I have tried the Send ("{Tab}") and

$o_Submit = _IEGetObjByName ($o_IE, "button_new")

_IEAction ($o_Submit, "click")

_IELoadWait ($o_IE)

but nothing wants to click the damn button. The tab thingy just skips the button altogether - seems it cannot be high-lighted...

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