jose_pita
12 years agoSuper Contributor
How to know from which test an error came from at runtime
Hi Guys,
I have this function handling the error event:
function GeneralEvents_OnLogError(Sender, LogParams)
{
if(LogParams.Priority >300)
Runner.Stop(true);
}
And I want to know from which test the error came from, so that I could skip that "if" even if the priority is biggen than 300.
I've checked the "Sender" and "LogParams" and nothing useful appears.
Thanks for the help
I have this function handling the error event:
function GeneralEvents_OnLogError(Sender, LogParams)
{
if(LogParams.Priority >300)
Runner.Stop(true);
}
And I want to know from which test the error came from, so that I could skip that "if" even if the priority is biggen than 300.
I've checked the "Sender" and "LogParams" and nothing useful appears.
Thanks for the help