After running scripts how you report results ,there is

any specific report form



After running scripts how you report results ,there is any specific report form..

Answer / 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

More QTP Interview Questions

If object is not recognized by qtp but the object is standard object what is your approach?

0 Answers  


Explain object spy in qtp.

0 Answers  


We have 10 page.In first page we 2 popup and next page we 3 popup window......(windows name is different)how can we handle the all the popups without using recovery scenario

1 Answers   HK, TCS,


How to insert screenshot on to the body of outlook? -1 how to use insert-picture tab in new email outlook to insert image in the body. Suggest something.......

1 Answers  


How to handle dynamic objects in quicktest professional (qtp)?

0 Answers  






can anyone please tell me which is the best institute for learning QTP and Automation Testing tools in hyderabad with realtime examples and scenarios...I heard about many institutes in Ammerpet hyderabad i.e Suresh Reddy's Smart Solutions, Ashwin Palaparthi's Tech Teach,SUNNYSOFT, SITE institute, I-VINTAGE, siritechnologies and sriven institute..pls suggest me which to choose for learning QTP....Which institute has fasttrack option?

2 Answers  


When u r running a script , if u get a popup window that describing that u have received a mail to your outlook application. so to avoid the interference of the popup window , which recovery scenario(popup,object state,application hang,system crash) would u use ?

4 Answers   Accenture,


How will you compare keyword and expert view?

0 Answers  


what is recovery scenario in QTP? what is the need of the recovery scenario in QTP? what are the advantages of the recovery scenarios in QTP?

3 Answers   CTS,


How u perform Batch Program in QTP?

3 Answers  


What is throw object?

1 Answers  


What is the extension of 'Log file' in QTP

3 Answers  


Categories