Forum Discussion
jsc
13 years agoRegular Contributor
I created a small test project, consisting of 3 testitems:
- item 1: just posting a Log.Warning
- item 2: tryinig to initialize an object, that does not exist (so scripts (from script extensions) running in the background, trying to find it)
- item 3: just posting a Log.Warning
The settings for the project are:
- timeout = 1 min
- Stop on error = none
- Stop on exception = none
When I run this project, I get the following Exception, that I manually have to click, to make the execution move to the next testitem.
In the log I get 2 error messages:
1. The execution timeout has expired.
2. The test execution was interrupted.
The first one is the error message thrown by the timeout event handler.
The second one is from my script - I think because they are terminated while trying to initialize some
How can I solve this problem, that I do not get the second error log entry and the exception popping up?
My event handler is shown below.
Kind regards,
Joachim
--------------------------------------------------------------------
function GeneralEvents_OnTimeout(Sender, Params)
{
Params.Break = true;
}
- item 1: just posting a Log.Warning
- item 2: tryinig to initialize an object, that does not exist (so scripts (from script extensions) running in the background, trying to find it)
- item 3: just posting a Log.Warning
The settings for the project are:
- timeout = 1 min
- Stop on error = none
- Stop on exception = none
When I run this project, I get the following Exception, that I manually have to click, to make the execution move to the next testitem.
In the log I get 2 error messages:
1. The execution timeout has expired.
2. The test execution was interrupted.
The first one is the error message thrown by the timeout event handler.
The second one is from my script - I think because they are terminated while trying to initialize some
How can I solve this problem, that I do not get the second error log entry and the exception popping up?
My event handler is shown below.
Kind regards,
Joachim
--------------------------------------------------------------------
function GeneralEvents_OnTimeout(Sender, Params)
{
Params.Break = true;
}