Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Display value in between report event
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi,

I want to display a value stored in a variable in one of the report event and value stored in the Action1 datasheet in between my comments like the following

reporter.ReportEvent micFail,"Customer does not exist with id "&datatable.RawValue&,"Fail"

The its shows the syntax error as expected end of statement..[/font]
can i know the exact syntax for this with example ...[font=Arial]
Reply
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
here is the syntax:


Reporter.ReportEvent EventStatus, ReportStepName, Details [, Reporter]

Ex:
Reporter.ReportEvent micFail, "Custom Step", "The user-defined step failed."
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
Try this:

Reporter.ReportEvent micFail,"Customer does not exist with id "&DataTable.RawValue ("A") ,"Fail"

Thanks.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Changing System Display Setting and Resolution using UFT or VB script or any code srikanthbura 0 2,660 09-07-2018, 11:21 AM
Last Post: srikanthbura
  Scroll Browser to display Specific Row in WebTable kdunn 3 3,754 06-15-2018, 04:07 AM
Last Post: Ankur
  Launch report button missing in QC uma87 0 3,532 10-27-2011, 08:15 PM
Last Post: uma87
  How can I report defects to QC from script results BullzEyezz 5 12,938 07-22-2010, 06:45 PM
Last Post: BullzEyezz
  How to perform the "Double click" event on Java Addins i.e Java button venkatbatchu 2 7,904 01-24-2010, 01:07 PM
Last Post: venkatbatchu

Forum Jump:


Users browsing this thread: 1 Guest(s)