Win32-GuiTest and waits

Discussion in 'Perl Misc' started by Tom, May 12, 2004.

  1. Tom

    Tom Guest

    I'm trying to test an application using Win32-GuiTest, and I'm running
    into a timing problem where I send keystrokes for a search and I need
    to wait for a response before sending more keystrokes or mouseclicks.
    Otherwise the next keystrokes are lost. I can't use the WaitWindow
    functions because the window is already displayed. Since the OK
    button is grayed out until the response comes back, I tried to use the
    IsGrayedButton function, but it always returns 0.

    Is there any other way I can detect a completed function so I can
    continue? Possibly a way to test the mouse icon (hourglass means
    busy)?

    Thanks,

    Tom
    Tom, May 12, 2004
    #1
    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. Allton, Paul

    win32-guitest

    Allton, Paul, Nov 12, 2004, in forum: Ruby
    Replies:
    1
    Views:
    135
    Chad Fowler
    Nov 12, 2004
  2. Kyle Schmitt

    win32-guitest for ruby

    Kyle Schmitt, Mar 1, 2007, in forum: Ruby
    Replies:
    3
    Views:
    107
    Paul Rogers
    Mar 1, 2007
  3. Liang He

    WIN32-GUITEST issue

    Liang He, Oct 25, 2007, in forum: Ruby
    Replies:
    2
    Views:
    99
    Manish Sapariya
    Oct 26, 2007
  4. gw1500se
    Replies:
    5
    Views:
    138
    gw1500se
    Jul 6, 2003
  5. gw1500se

    Another Win32::GuiTest problem

    gw1500se, Jul 6, 2003, in forum: Perl Misc
    Replies:
    0
    Views:
    77
    gw1500se
    Jul 6, 2003
Loading...

Share This Page