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 the exception handling can be done using quicktest professional?

0 Answers  


How QTP recognizes Objects in AUT?

1 Answers   Crea,


diff between qtp versions from 8.5

0 Answers   Semantic Space,


What are the disadvantages of Recovery Scenarios in QTP ?

3 Answers  


What is the quicktest professional testing process?

0 Answers  


How to retrive XML file data in QTP ? using Script(Chandana)

6 Answers   Wipro,


what type of automation is follwed in the project?

0 Answers   Google,


what is batch run ?

4 Answers   HCL,


what is the diff b/w assistive and mandatary rules of object repository in QTP???

0 Answers  


In qtp what type of data tables are used , name and list out them

1 Answers   Polaris,


Can the mode of object repository be change during run time? Eg. if the mode is per-action during design time can i change it to shared and vice-versa? Any scripting possible?

2 Answers  


Explain about reusable actions?

3 Answers   IBM,


Categories