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

Which object is used to work with the excel sheets in the vbscript language and what statement is used to create this object?

0 Answers  


Inorder to avoid Message box while writing script which alternative method can be used?

1 Answers  


compare the string without using stringcomp function?

1 Answers   CSS Corp,


how to retrieve native property value in runtime?

1 Answers   Hexaware,


How will you check that a variable is an array in vbscript?

0 Answers  






Can any one provide code for Mid(string,start[,length]). I have been asked to write code for Mid(). i.e We need to define our own function say MyMid() which should behave same like built-in Mid function

0 Answers   Microsoft,


how to write codings in QTP using vb script. please help me. i am new to QTP. it is easy or very much tough. please tell me

3 Answers   TCS,


input values to accept 2 numbers & print the product, difference and sum using switch case

1 Answers   CSC,


What is the output of a + b in vbscript if a = 5 and b = 10?

0 Answers  


What are the properties of regexp object?

0 Answers  


How to learn VB Script, Since iam working with QTP. So i need to learn VB script.

4 Answers   TCS,


How will you get the last occurrence of one string within another string using vbscript?

0 Answers  


Categories