Forum Discussion
Hi AlexKaras:
Thanks for your nice help. I am sorry for describing the case not clear.
I set the timeout to 1 min for the Save Result File in the column named Timeout, min. When running the project, we can see the error "The execution timeout has expired. " in the log. But as you said, the Err.Number didn't change. Then we didn't get into the if condition.
Hi,
So, if I got you right, the behavior that you observe is correct, expected and is as following:
-- Test Item that exceeded Timeout set for it posts an error to test log and continues to run. This Test Item is not stopped because TestComplete does not stop test item that timed-out but just generates the OnTimeout event as documented. You may implement the handler for the OnTimeout event and stop test item (or the whole test run) if you need;
-- Next Test Item is started to be executed because the On Error setting for the timed-out Test Item is set to 'Continue running' value.
Is the above scenario correct?