JeanL
13 years agoContributor
OnStopTest Event and exception
Hi,
The manual says:
"
The OnStopTest event is not generated if the test is stopped right after it has begun. Also, the OnStopTest is not generated in Connected Applications.
In all other cases, the OnStopTest event is generated when the test run is finished. For instance, if --
- An exception occurred during the script execution.
"
For example I had the case where UBound() had faulty parameter which caused exception, and when unexpected exception occurred, I got popup about it and execution stopped there without executing the OnStopTest event where I do several things. And this is not happening right after the beginning of the test. Why test doesn't go to OnStopTest Event in this case?
The manual says:
"
The OnStopTest event is not generated if the test is stopped right after it has begun. Also, the OnStopTest is not generated in Connected Applications.
In all other cases, the OnStopTest event is generated when the test run is finished. For instance, if --
- An exception occurred during the script execution.
"
For example I had the case where UBound() had faulty parameter which caused exception, and when unexpected exception occurred, I got popup about it and execution stopped there without executing the OnStopTest event where I do several things. And this is not happening right after the beginning of the test. Why test doesn't go to OnStopTest Event in this case?