How to make klick after put value in TextBox

Discussion in 'Perl Misc' started by Tena, Oct 6, 2007.

  1. Tena

    Tena Guest

    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');


    ******************************************
    Tena, Oct 6, 2007
    #1
    1. Advertising

  2. Tena

    Peter Wyzl Guest

    "Tena" <> wrote in message
    news:fe90ki$sb1$...
    > 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
    Peter Wyzl, Oct 7, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Eph0nk
    Replies:
    2
    Views:
    38,884
    Eph0nk
    Aug 6, 2003
  2. Gabriel Rossetti
    Replies:
    3
    Views:
    478
    Jerry Hill
    Apr 25, 2008
  3. AGSHAR
    Replies:
    1
    Views:
    577
    AGSHAR
    May 31, 2008
  4. zhixuen
    Replies:
    0
    Views:
    1,209
    zhixuen
    Feb 10, 2009
  5. Jurjen de Groot
    Replies:
    0
    Views:
    283
    Jurjen de Groot
    May 19, 2008
Loading...

Share This Page