amit72avcg
14 years agoOccasional Contributor
How to specify a Timeout limit through scripts?
Hi,
Without using Project TestItems (Timeout) property, is there any other method through which we can run a particular routine for a specified time interval.
Is it possible to specify a time limit through code?
I am using Utils.Timer property but getting a warning message. I am using TestComplete Version 6.
The code I am using is:
var test = Utils["Timers"]["Add"](20000, Unit1["abc"](), true);
The warning message is:
The unit that contains the timer procedure "" is not specified.
No timer procedure specified. The timer will be disabled.
Is there any solution for this?
Thanks and Regards,
Amit