Update to reporting values = pass, fail or deferred. - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: Update to reporting values = pass, fail or deferred. (/Thread-Update-to-reporting-values-pass-fail-or-deferred) |
Update to reporting values = pass, fail or deferred. - Emil-Dean - 03-21-2010 Howdy , I need to update QTP reporter to reflect a pass, fail or deferred in my recorded scripts. I currently have reporter set to 0. So if a check point or test fails I need the reporter to reflect that. Any suggestions on how to incorporate that into tests are appreciated. Thank you Reporter.Filter = rfEnableAll Reporter.ReportEvent 0, "2.1.30 Step 1" ,"Send a valid Speed Restriction Bulletin (xxxx) message." RE: Update to reporting values = pass, fail or deferred. - Saket - 03-22-2010 you can use something like - Code: Val =Browser("Name").Page("Page").WebEdit("edit box").Check (CheckPoint("error")) |