if not imagefound("someImage")
logError "Image did not appear."
No I want to change the count of the errors. For Example, I have executed a case which fails due to 2 failures, but after execution eggplant shows an alert (see image)
Number of Errors Logged: 2
which I want to change to the number of cases. (in this case 1 should be displayed).
Any Idea, how can I do this?
set warningCount to the warnings of the last item of ScriptResults()
Answer "Number of warnings: " & warningCount