Hi,
In my script, I use “logerror”. according to help, it will set script result as failure, right?
In my master script, I write as this:
repeat with each testScript of TestList
RunWithNewResults testScript
put the result into outcome
convert outcome’s runDate to date and long time
put testScript & “:” && status of outcome && RETURN && RETURN after currentReport
put the logfile of outcome into currentLogfile
if the status of outcome is"Failure"
log"in failure process"
closeJob
put “ErrorMessage” of last item of ScriptResults(testScript) after currentReport
put return after currentReport
insert folder(currentLogfile)&“Screen_Error.tiff” into attachfileList
end if
end repeat
if my testscript runs with an logerror happening, it can not run down after runwithNewResults,
it will gives an error STInvalidDateException Value is not a date: ‘’
if my testscript runs without an logerror happening, it will be fine.
I wonder whether logerror and runwithNewResult has any conflict?