| || |
A question to see if this is possible
If (anchor2.Exists = True) And (anchor8.Exists = True) And (anchor10.Exists = True) And _
(anchor9.Exists = True) And (anchor11.Exists = False) Then
TestLog.Comment "Menu selections correct"
TestLog.Comment "Menu selections incorrect"
In the above code if either of the actions happens the test is marked as a Pass, but I was wandering can you for example if you get the "Menu selections incorrect" part of the statement have it marked in the log file as Failed instead of pass, then let the script carry on to its next statement.
Re: Log file
Instead of TestLog.Comments, use UserChecks with pass or fail.