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

What are different types of frame works ?

3 Answers  


1. Pls can anyone give me the descriptive programing script to find the number of edit boxes in a login window in flights reservation (windows application only not web). 2. Using descriptive programing, how do you handle changing URLs. Pls anyone, very urgent

2 Answers   Infotech,


how do you do database testing in qtp

5 Answers   NIIT,


How to Start recording using QTP?

1 Answers  


what testplan contents and what test strategy contents,what is the diff b/w them

0 Answers  


Can any body explain me how to prepare QTP frame work with an example?? alexander.gdk@gmail.com

1 Answers  


Wt is the difference between Business Component and scripted component?

1 Answers   BSL,


How to create runtime property for an object?

0 Answers  


Tell some commonly used Excel VBA functions?

0 Answers  


I AM NEW IN QTP,PLZ TELL ME ANY BOOKS FOR QTP, MY COMPANY IS QTP,SO I LEARN QTP,PLZ ANYBUDY HELP ME

68 Answers   AZTEC,


What is the main difference between QTP 8.0& QTP 9.2.And what r the features and benefits of QTP.

1 Answers   HCL,


In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?

0 Answers  


Categories