Exforsys
+ Reply to Thread
Results 1 to 2 of 2

QTP Custom Result Message

This is a discussion on QTP Custom Result Message within the Software Testing forums, part of the Testing category; Is it possible to customise the QTP Result Message? If Yes, How? At present the result status list Passed, Failed, ...

  1. #1
    srinivas babu is offline Junior Member Array
    Join Date
    Feb 2006
    Answers
    11

    QTP Custom Result Message

    Is it possible to customise the QTP Result Message? If Yes, How?
    At present the result status list Passed, Failed, Total result of the script, How can I customise this result message?


  2. #2
    lokeshm is offline Member Array
    Join Date
    Apr 2005
    Answers
    83
    You can use Reporter.ReportEvent
    Syntax -Reporter.ReportEvent EventStatus, ReportStepName, Details [, ImageFilePath]

    Event Status can have values

    0 or micPass sends a pass status to test result window
    1 or micFail sends a pass 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


Latest Article

Network Security Risk Assessment and Measurement

Read More...