How to make klick after put value in TextBox

How to make klick after put value in TextBox

am 07.10.2007 00:01:50 von Tena

How to make click on form after I put value in TextBox.
I tray everything but unsuccessful.

Please help me.

*****************************************

use warnings;
use Win32::IEAutomation;

my $ie = Win32::IEAutomation->new( visible => 1, maximize => 1 );
$ie->gotoURL('http://www.prva-generacija.hr/');
$ie->getTextBox('name:', "txtUserName")->SetValue('user1');
$ie->getTextBox('name:', "txtPassword")->SetValue('passwd1');


******************************************

Re: How to make klick after put value in TextBox

am 07.10.2007 12:13:59 von Peter Wyzl

"Tena" wrote in message
news:fe90ki$sb1$1@localhost.localdomain...
> How to make click on form after I put value in TextBox.
> I tray everything but unsuccessful.
>
> Please help me.
>
> *****************************************
>
> use warnings;
> use Win32::IEAutomation;
>
> my $ie = Win32::IEAutomation->new( visible => 1, maximize => 1 );
> $ie->gotoURL('http://www.prva-generacija.hr/');
> $ie->getTextBox('name:', "txtUserName")->SetValue('user1');
> $ie->getTextBox('name:', "txtPassword")->SetValue('passwd1');
>
>
> ******************************************


From the Win32::IEAutomation documentation:

# Finding button and clicking it
# using 'caption:' option
$ie->getButton('caption:', "Google Search")->Click;

In that case you are probably looking for the caption to be 'submit' or
whatever the button you are trying click is called...

P