How to use Reporter.Report Event in QTP ?

Answer

  • You can use Reporter.ReportEvent to report custom test steps in QTP's test results tree

  • Syntax

  • Reporter.ReportEventEventStatus, ReportStepName, Details [, ImageFilePath]
  • Event Status can have values

    • 0 or micPass  sends a pass status to test result window
    • 1 or micFail sends a fail status to test result window
    • 2 or micDone sends a message to test result window without affecting the Pass/Fail status
    • 3 or micWarning sends a warning message to the result window

     

  • When test cases are executed using automation tools it may be difficult for certain users to understand the test results  You can use  results.xml to create an xsl which will present the test results as per your preferences

  • You can use VBScript Library functions to store the results in xls or a text file.

All qtp Questions

Ask your interview questions on qtp

Write Your comment or Questions if you want the answers on qtp from qtp Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---