How to determine that test was interrupted?
Hello community!
I need to get value "test interrupted" or "test completed" when OnStopTest event is triggered.
I try to get it from log message "The test execution was interrupted.", but sometimes message appears after OnStopTest event is ended.
OnLogError event does not triggered after OnStopTest event.
To add mark at the end of each test not conveniently.
Anybody knows another solution?
Sure BVS ! Thank you for updating us.
Let me post a temporary solution to this thread that our support engineers provided you with.
First, they suggest that you create a feature request for adding the «Interrupted» property to the Log object.
And, here's one more suggestion from them:
>>
Also, here is another idea that you can try: save a log to a text file and write a custom script to find the needed "The test execution was interrupted" string in the whole log. Here is the article where you can find more information about the Log object: https://support.smartbear.com/testcomplete/docs/reference/project-objects/test-log/log/index.html.
<<
Edit: If you are interested in the implementation of this feature, please upvote - Adding the «Interrupted» property to the Log object