Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: GUITest to test GUI

by bbfu (Curate)
on May 17, 2004 at 18:02 UTC ( [id://354042]=note: print w/replies, xml ) Need Help??


in reply to GUITest to test GUI

Two strategies that come to mind: 1) Perhaps the batch files will return a return-code indicating whether they succeeded or failed (which you can check via $?), or 2) You can use Win32::Process::Create to start the batch files instead of system() (which would allow your program to continue running without waiting for the batch files to finish).

bbfu
Black flowers blossom
Fearless on my breath

Replies are listed 'Best First'.
Re: Re: GUITest to test GUI
by Anonymous Monk on May 19, 2004 at 09:22 UTC
    I cannot start another batch file until the first one has finished. Thats because what those batch files do is install software.

    I am looking into the Multi-Threading appraoch now.

    Thanks

      You misunderstood. By allowing your program to continue to run, I meant that it would allow your GUITest code to run, and thus detect the popups (or lack thereof).

      bbfu
      Black flowers blossom
      Fearless on my breath

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://354042]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-24 11:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found