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.



I'm having a problem to get the status(pass or fail) during runtime for every iteration ran, ..

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

Post New Answer

More QTP Interview Questions

How can I use the value retrieved by OUTPUT VALUE check point as Input for other Actions?

1 Answers   Motorola,


what is delay in QTP?

2 Answers  


What is the syntax for how to call one script from another?

0 Answers  


What is FRAME WORK? How many Frameworks can QTP supports?

4 Answers  


how can u find the syntax errors or other script errors in your test during the execution of your QTP Test - (i.e., not after the execution/test run finished, but before finishing the test run)

2 Answers   HCL,






i want know iam working 2+ exp in QTP can i do performence testing (eg:loadrunner) yes r no?

6 Answers   IBM,


what is advantage of descripting programming in QTP?

3 Answers   ADP,


what are build and version plz explain why nomber changes in build and version?

3 Answers  


How many add-ins comes by default with quicktest professional?

0 Answers  


What is difference between function and procedure?

41 Answers   HCL, IBM, iGate, Infosys, TCS, Veritas, Wipro,


write script for bitmap image?

0 Answers   CA,


What is your role and responsibilities in QTP with your current organization?

1 Answers   Oracle,


Categories