Forum Discussion
cunderw
9 years agoCommunity Hero
You can check at end of each test using the General Events On Test Stop event handler, and call the below the function to dertmine the status of the test that just ran.
function GetTestStatus() {
var result = "";
try {
if(Log.ErrCount == 0) {
result = "PASSED";
} else {
result = "FAILED";
}
} catch(err) {
Log.Warning(err);
}
return result;
}