in reply to Re: Re: GUITest to test GUI
in thread GUITest to test GUI

Process 1 | Process 2 |------------------------------|---------------------------------| | | | | write "batch 1" to a file F | | | starts "batch 1" | | | | | T | * Notices generic popup | I | * Reads "batch 1" from file F | M | * writes to a log file etc | E | * Ignores popup until F changes | | | * Aborts system shutdown | | | | | batch 1 finishes | | | write "batch 2" to F | | | start "batch 2" | | | | * (no popups detected) | | | * detects and aborts sys shtdn | | batch 2 finishes | | | | | | ...etc | | V

 

Replies are listed 'Best First'.
Re: Re: Re: Re: GUITest to test GUI
by tilly (Archbishop) on May 17, 2004 at 18:43 UTC
    If you do this, make sure that you're not Suffering from Buffering. Else Process 2 might think that you're on a job previous to the current one.

    I'd also suggest that if you've taken the above step, then Process 1 should write additional information (eg timestamps before and after any batch step)) to the log. This has no immediate relevance to your problem, but if the batch process gets slow, those timestamps will let you figure out which steps are performance problems. Build it from the start, and when you need it, it will be there.