Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Update to reporting values = pass, fail or deferred.
#2
Solved: 10 Years, 9 Months, 1 Week ago
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

Reply


Messages In This Thread
RE: Update to reporting values = pass, fail or deferred. - by Saket - 03-22-2010, 10:25 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is VBScripting disabled in Office 365 update? soumyarani 0 1,267 12-19-2020, 12:37 PM
Last Post: soumyarani
  Pass reference to datatable into function smallsteve 2 1,902 09-28-2017, 09:18 PM
Last Post: smallsteve
  UFT 12.02 Compatibility for IE 11.0 : Fail to identify the defined Object Amruta_121 9 10,517 01-11-2016, 12:45 PM
Last Post: vinod123
  Can you please help me in QTP DP to pass the variable name anshika.agarwal 1 2,601 09-04-2014, 06:43 PM
Last Post: anshika.agarwal
  vb script to stop execution of functions if conditions fail visitjaga 1 7,146 12-05-2013, 12:26 AM
Last Post: ravi.gajul

Forum Jump:


Users browsing this thread: 1 Guest(s)