I'm having a problem to get the status(pass or fail) during
runtime for every iteration ran, and must get the results
stored to an excel sheet if possible.
Answer / kaps
Reporter.ReportEvent is used 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 - a pass status
1 or micFail - a fail status
2 or micDone - a message Done
3 or micWarning - a warning message to the result window
Result can be export to an excel sheet.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain QTP testing process?
In Test Director bug rEPORTS, wHAT ARE THE CONTENTS(fIELDS)? iF yoU PREAPARE BUG REPORT IN eXCEL sHEET , hOW U SEND TO dEVELOPMENT TEAM THRW T.D?
A dialog is diplays " Transaction 254689 has been successfully completed" How to get the transaction ID from the message ?
Expalin Text/Text Area Checkpoint
synchronization, wait,wait Property?
If the objects hierarchy is changing from build to build, then how you will handle that condition?
How to handle run time errors?
Suppose I want fail that check point? How can you do that?
How can we log a defect in Testdirector from Q.T.P ?
How is a Step generator used in UFT?
write is the code for regular expression in QTP
What are the types of Object Repository’s in QTP?