[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[qftestJUI] Ref. QftestJUI 1.08.5 / automatically ending play mode.
Ref. QftestJUI 1.08.5 / automatically ending play mode. Hi, What is the best way to automatically halt the 'Play' mode? Basically during the Setup node if certains conditions fail (e.g. a properties file fails to load) then I wish to ensure that qftestJUI halts the playback mode (i.e. just as though the user had clicked on the Stop button). One way is to throw a user exception (the 'Throw' node). This of course will result in the user exception dialog being displayed and puts an end to execution of the test suite. On windows throwing a user exception results in the user-exception dialog being displayed almost straight away. But for some reason, on HP-UX, there is an approx. 20+ second delay before the exception dialog finally appears!! The only way to avoid this 20 second delay is to catch the exception (i.e. catch UserException node). But then one is back to square one as the test suite will then continue to execute (i.e. the 'Sequence', then the 'Cleanup' nodes) ... Effectively I need to be able to catch the user exception, display my diagnostic warning popup message and then end 'Play' mode (just as though the user had clicked on the stop button)... Any advice/tips would be much appreciated. Thank you in anticipation of your help Kind Regards Adrian