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 Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain step generator in qtp?

637


i need to add 1000 users in a domain i written the script for that and it is running successfuly but the problem is that my system is not the user of that domain in which i have to add users so for adding users in that domain i have to install qtp on that another system, can anybody suggest me the way to add those users from my system ultimately i want to know how to access remote computer through script

1411


In qtp is it possible to check broken links of a page?

576


How would you export a script from one pc to another in qtp?

653


How does qtp identify the object in the application?

529






what type of framework u r using in ur organization

1640


How to check bitmap output value?

622


How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?

3046


Explain process of smart Identification in QTP?

596


How often were they executed?

2032


What is difference between run time object and test object?

547


What are the types of object repository?

574


how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.

1315


write the vb script for call to new action in qtp?

1853


How to give a call to another action from one action?

622