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

Difference between test object and run time object?

0 Answers  


hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com

0 Answers  


How good are you in writing VBscript code for your application? Can you completely write VBscrit for your project with out using recording mode in QTP?

3 Answers   CTS,


What exactly a frame Work means?what are the different type of frameworks done in QTP?why the caption for QTP given as advanced keyword driven?

4 Answers   Satyam,


is it possible to check the text displayed in the tool tip using QTP? if so, how?

6 Answers  






What is the use of "Registeruserfunc" when should we use it? Note:Please do not copy paste the date from QTP help. I tryed it.But I don't Understand where should we use exactly.

5 Answers   Livetek,


What is checkpoints for quicktest professional (qtp)?

0 Answers  


What is iteration? How it is related to Test Results in QTP?

2 Answers  


Can u call txt extension file in QTP?

2 Answers   Cap Gemini,


Hi, Can anyone help me with: How to select a value from combobox and check the checkbox and set the filter. I have to set a filter by selecting a value from dropdown. Also, im using UFT 11.5 so can anyone help me with code for UFT. Thanks Sreevidya

1 Answers  


How we can add actions in the test using QTP?

5 Answers  


one page contain next button.when we enter that its not going to next page.what type of error that one.

3 Answers   TCS,


Categories