After running scripts how you report results ,there is

any specific report form

Answer Posted / sreeprasad

syntax is

report.reportevent event status,stepname,details

Argument-1 : event status are 4 types

1)micpass or 0

2)micfail or 1

3)micdone or 2

4)micwarning or 3

Argument-2 : The status of object we are going to report

Argument-3 : The details of the object.

reportstepname:

Name of the stepname in the report(object name)

details:

details of the object

Example:

Reporter.Reportevent 0,"custom step","step passed"

or

Reporter.Reportevent micpass,"custom step","step passed"

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?

1447


When to use shared and local object repository?

646


Object repositories types, which and when to use?

589


Does QTP run in any environment?

616


Could any one tell me "How can i recognize my cursor position using QTP 9.2" Give me a scripts for this

2073






What is recovery scenario in qtp?

593


Hi,All How to create a link in excel sheet using qtp

3011


i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.

1547


any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in

3450


How to use the object spy in quicktest professional 8.0 version?

550


The structure of keyword driven frame work is like a folder structure the different sub folder are 1-functional libray folder 2-object repository folder 3- database folder 4-appliction1.xls 5-initalzation vbs file 6-sequence file 7-driver script 8-test case list file My question is whether these are in a local server machine or in our pc.((whether It like Vss). can u give example of driver script(code)

2809


what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com

2323


images are dynamically changes how to compare two images with out using the bitmap

2011


How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.

1831


which type of testing process are you following in ur company? how to recognize a qtp page?

1415