06-07-2011, 03:42 AM
Code:
result=Browser("Automation Site | Edit").Page("My Site").Image("help icon").Check( CheckPoint("about"))
if result then ' button found - checkpoint passes
Reporter.ReportEvent micFail, "Step 3, "The help icon was found when not expected"
ExitAction
Else ' checkpoint failed - button NOT found
'do some other stuff
End If