![]() |
Display value in between report event - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others) +--- Thread: Display value in between report event (/Thread-Display-value-in-between-report-event) |
Display value in between report event - kamalteja - 02-29-2008 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] RE: Display value in between report event - Ankur - 03-11-2008 here is the syntax: Reporter.ReportEvent EventStatus, ReportStepName, Details [, Reporter] Ex: Reporter.ReportEvent micFail, "Custom Step", "The user-defined step failed." RE: Display value in between report event - sherinvg - 03-14-2008 Try this: Reporter.ReportEvent micFail,"Customer does not exist with id "&DataTable.RawValue ("A") ,"Fail" Thanks. |