We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
So I thought you could maybe evaluate the message in the log...and you can get to that by:
Project.Logs.LogItem(Project.Logs.LogItemsCount - 1)
And then by digging deep into the log like...
Project.Logs.LogItem(Project.Logs.LogItemsCount - 1).Child(0).Child(0).Data(0).Rows(0).ChildRow(0).ChildRow(0).ValueByName("Message");
BUT the problem is the log message "Script execution was interrupted." is not written until after the OnStopTest event fires.
So I think it's probably easier to figure out where your script stops "Naturally"...
and then have it call a different function to terminate the processes instead of terminating them from the OnStopTest event.