| || |
MessageBox.Exists () hangs SilkTest
I am have a testcase that starts a process and then waits for two message boxes.
My script repeats this testcase 262 times. After a random number of times, SilkTest just hangs on if MessageBox.Exists () and there is no message box. When this happens I cannot stop the script with Shift-Shift. I must close everything with Task Manager and then re-boot. When I start to re-boot I get a message saying QAP-CALL left open. This does not happen the first few times through the test case. It usually happens after the testcase has been repeated several times although the number of times is not consistent.
Does anyone have any ideas why this might be happening and what I can do about it. It just seems as if SilkTest loses track of where it is and what it should be doing.
Any help will be greatly appreciated.
[This message has been edited by AJ (edited 06-28-2000).]
Re: MessageBox.Exists () hangs SilkTest
I recommend you try 2 things:
1st: Add a sleep(1) before the exists
if that does not do much...
2nd: Add this function by John Green.
and pass it arg (2)
The library is also in the downloads section under Web Functions
If you're not using a browser for testing, replace the browser with your application main win