Forum Discussion

Seretta's avatar
Seretta
Occasional Contributor
14 years ago

How can I start a batch file (*.bat) and give it a timeout?

Hi,

I want to start a batch file, but I want TestComplete to regain control after a given time if it still isn't finished. How can I do it?

Until now I was using the wshShell, but if I set the Wait on Return flag I never get control back if there is a problem. Does somebody have a suggestion?

Thanks a lot