Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: GUITest to test GUI

by bbfu (Curate)
on May 17, 2004 at 18:02 UTC ( #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).

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.


      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).

      Black flowers blossom
      Fearless on my breath

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2021-04-20 23:09 GMT
Find Nodes?
    Voting Booth?

    No recent polls found