Test end event/trigger
Hi all,
I may be asking the wrong questions so I'll just explain what I'm trying to do:
When a TestComplete completes running, I am having it go to an url, which is basically a REST api to trigger the next run (we built an internal web app to queue tests).
So first, I tried putting this rest api trigger at the end of a script. But that's not good enough - because in the event the run gets some exceptions, I dont get to the api part.
So next, I tried to use a try-catch block to catch any exceptions. If exception, then trigger api. This is slightly better, but what if a run is not going as expected and someone ends the run manually.
I need a general way to say, if this test complete run finishes, do this.
Hi,
OnStopTest event (https://support.smartbear.com/testcomplete/docs/reference/events/onstoptest.html) seems to be what you are looking for...