Forum Discussion
irina_lukina
14 years agoSuper Contributor
Hi Anand,
As the Terminating Tests on Timeout help topic states, you need to do this:
1. Set the needed test item's timeout on the Test Items page.
2. Add the OnTimeout event to the Event controls. For more information, see the Adding Events to Event Controls help topic.
3. Specify the following handler for the added event:
function GeneralEvents_OnTimeout(Sender, Params)
{
Runner.Stop(true);
}
Does this help?