03-07-2011, 04:11 AM
may be it shoud be
Code:
if(isExpectedErrorOccure <0) then
Reporter.ReportEvent micFail, "Login Test", "test reason: " & reason & " failed."
else
Reporter.ReportEvent micPass, "Login Test", "test reason: " & reason & " passed."