denhenp
10 years agoNew Contributor
Waiting for a window to close functionality. Jscript or keyword test.
Hi, I'm fairly new to testcomplete and in need of some help creating a jscript/keyword test, either will work. Test scenario is: I click a createprofile btn that opens up a new window. I a...
- 10 years ago
Hello denhenp,
Congratulations on your solution :)
I'd like to suggest the following improvent on your script:
if(milisec >= 45000) { Log.Error("Waited 45 sec for the window to close.. Stopping test");
/*Stops the current Test Item*/
Runner.Stop(true); }and then... Setup TC not to stop on error, see http://support.smartbear.com/viewarticle/63574/
Regards,
Leandro de Araújo Souza