03-22-2010, 10:25 AM
you can use something like -
Code:
Val =Browser("Name").Page("Page").WebEdit("edit box").Check (CheckPoint("error"))
If Val = "Pass" Then
Reporter.ReportEvent 0, "2.1.30 Step 1" ,"Send a valid Speed Restriction Bulletin (xxxx) message."
Else
Reporter.ReportEvent 1, "2.1.30 Step 1" ,"Send a valid Speed Restriction Bulletin (xxxx) message."
End If