During executing of my scripts,my app locked up.and that affects silktest agent,it waits forever,until jumps to next testcase,I am looking for better solution to capture problem and unlocked app.Any Ideas?
Unfortunately, there's not an easy way around this, if at all. The app needs to be fixed. If you turn on the results logging of agent calls, and force SilkTest to write the log to the disk after every line, then you should have a remnant of the log file that would tell you exactly where the test failed. Then the developers can look at their code to see exactly what it was doing when the failure occurred. Generally, failures like this occur when the programmers do something tricky or non-standard with API calls.
Instead of wait forever until it is unlocked, wait for specific time and after came out of that Check whether the app Exists or not
</font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">myApp.WaitForReady(nTimeout)
//Code for Unlock App</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">Thanks,
If the app is locked, you can kill the process(s) to close it down. Search this forum on how to do that. You can adjust the OPT_APPREADY_TIMEOUT agent option to shorten the time that it moves on to the next testcase.
Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac.