How will you generate Reports using Vb Script?it asked in
testing(QTP)Interview.Plz Any Body Let me know.

Thanks
uday
Uday_testing@yahoo.co.in

Answers were Sorted based on User's Feedback



How will you generate Reports using Vb Script?it asked in testing(QTP)Interview.Plz Any Body Let m..

Answer / arun

We can generate different types of reports...Choosing what
type of reports depents on the requirement.

1.QTP report:
reporter.reportevent micPass,"Testcase name","Details"
reporter.reportevent micFail,"Testcase name","Details"

2.Create report in xls file or .doc file or .txt file

3.Can store the data in the database and can display it in
html page.

Is This Answer Correct ?    2 Yes 4 No

How will you generate Reports using Vb Script?it asked in testing(QTP)Interview.Plz Any Body Let m..

Answer / satyanaryana

By using the following syntax we can pass the reports to the
result window


Reporter.Reportevent RESULT,"PERFORMED ACTION","USER DEFINED
STATEMENT"
EX:
Reporter.Reportevent Pass,"file creation","a new file is
created successfully"

Is This Answer Correct ?    0 Yes 4 No

How will you generate Reports using Vb Script?it asked in testing(QTP)Interview.Plz Any Body Let m..

Answer / shivendra

Reporter.Reprotevent
micPass/micFail/micDone/micWarning,ReportStepName,
StepDetail
Here you can choose one from
micPass/micFail/micDone/micWarning this is event status,
Second one is the Stepname and third one is step
description.

Is This Answer Correct ?    0 Yes 4 No

How will you generate Reports using Vb Script?it asked in testing(QTP)Interview.Plz Any Body Let m..

Answer / kkk

Hi
Simply say
1. Report. Report event 0, stepno1 “test pass”
Or
Report. Report event 1, stepno1 “test fail”
Here 0=pass, 1= fail
2. Msgbox (variable)
3 Get visible test

Is This Answer Correct ?    3 Yes 8 No

Post New Answer

More VB Script Interview Questions

What are the 2 ways in which a variable can be declared in the vbscript language?

0 Answers  


write a vb script to add two 2*2 matrix

2 Answers  


Mention how to assign a date value to a variable?

0 Answers  


write a vb script to generate fibonnaci numbers

1 Answers  


write a Vb script to find a whther a selected drive exits.

1 Answers   CTS,






Explain about the asc function?

0 Answers  


sunday is sunday monday tuesday wendesday sunday thursday friday saturday sunday sunday how to count no of sunday in the text file from vb? Answer me asap

4 Answers  


What is dictionary object in vbscript? Explain?

0 Answers  


How to return a value from function...? you should not tell msgbox, print.. etc.,

6 Answers  


How to assign a date value to a variable?

0 Answers  


What is the difference between VBScript and JavaScript?

0 Answers  


how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.

0 Answers  


Categories