
- Forum
- Testing
- Software Testing
- QTP Custom Result Message
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, ...
-
12-04-2011, 11:47 PM #1
- 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?
-
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

Reply With Quote





