diff --git a/smoketestoo_native/data/Global.xml b/smoketestoo_native/data/Global.xml index 6f9c066fc3b6..e956f45e56eb 100644 --- a/smoketestoo_native/data/Global.xml +++ b/smoketestoo_native/data/Global.xml @@ -448,7 +448,11 @@ Function RecordTestCaseStatus( nAction as Integer, bState as Boolean, sFailureAn gErrorState (nStatusType, nAction) = nState If ( nState = cLogFalse ) And ( sFailureAnnotation <> "" ) Then - gTestCaseAnnotations( nStatusType, nAction ) = gTestCaseAnnotations( nStatusType, nAction ) + sFailureAnnotation + chr(13) + if gTestCaseAnnotations(nStatusType, nAction) <> "" then + gTestCaseAnnotations(nStatusType, nAction) = _ + gTestCaseAnnotations(nStatusType, nAction) & "; " + end if + gTestCaseAnnotations( nStatusType, nAction ) = gTestCaseAnnotations( nStatusType, nAction ) + sFailureAnnotation End If RecordTestCaseStatus = bState @@ -721,6 +725,10 @@ Function StartTestWithDefaultOptions result = result & action(j) end if end if + if gTestCaseAnnotations(i, j) <> "" then + result = result & "(" & _ + gTestCaseAnnotations(i, j) & ")" + end if end if next j next i