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

What is an expert view and keyword view?

0 Answers  


if mandatory and Assitive propertys are shows same how will u write skript in QTP window

0 Answers   Wipro,


At a time how many users can access QTP?

5 Answers  


how to load vbs file to qtp through scripting. plz provide the code.....

2 Answers   IBM,


How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?

0 Answers  






Can anybody post some real time scenario in qtp? please its very urgent.

0 Answers   Kanbay,


what is the Exact Meaning of Environment Variables?

10 Answers   AppLabs,


How can we log a defect in Testdirector from Q.T.P ?

2 Answers   EDS,


Does QTP record on Objects created on XWindows Environment?

0 Answers   Infotech,


Explain about Hybrid Framework

2 Answers   IBM,


suppose take one row in a row 16 columns is there.in 16 columns 16 numbers is there.but i want to get each 3 column number.o/p :5 columns get in 16 columns means. so can anybody write this function? plz send if u know the answer.

2 Answers   Bosch,


How many tabs are available in debug viewer pane?

0 Answers  


Categories