Forum Discussion

ivan_sy's avatar
ivan_sy
Contributor
11 years ago

A way to check if the current Test Item test run have no warnings or errors

Hi,



Anyone here got a script that checks for the current KeywordTests if there's a Warning or Error on the KeywordTests's entire logs?



For example., Test Script is Adding a record.



Once the TestScript KeywordTest run reaches its end part, it will trigger the event "OnStopTest" and then it would generate the logs (just for that KeywordTest) and report thru API or something to a central server.



Im planning to build up a web app and that a VBScript on TestComplete/TestExecute will API the current status of the test run and show if it was a pass, fail or warn.