01-19-2009, 09:08 PM
you can just do a ".Exist" for your red x image in your if statement, it maybe easier to build your own checkpoint than to use QTP's check point
Something like this:
Something like this:
Code:
If <red x image>.Exist then
<Execute x steps>
Reporter.ReportEvent micPass, "MyCheckpoint", "red x image was displayed"' "
Else
Reporter.ReportEvent micFail, "MyCheckpoint", "red x image was not displayed"' "
End if