Target a <INPUT> Field on a Webpage

Hi,

I am trying to write a Script that will automate restarting of a Router. So I want to login to the website and select buttons on forms etc.  I have everything working except one step requires me to enter the username/password into a < input / > field on a form on a html page.  I have so far been unable to use the Target Control to achieve this.  Is this possible, if so can you please provide me an example of this.

Regards,

Marcus

Try GUI.

Hi Marcus

Does the router have a telnet interface? Automating it via Telnet should be quite simple (I have done that with our dsl router). Automating web browsers is problematic at best, since the gui automation actions rely on the parent/child window relationship to discover windows… however browsers typically don’t use standard controls… so picking out an input field is difficult.

HTH