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

How to capture a runtime error in vbscript?

0 Answers  


how to set one column as primary key in QTP and fetch values accordingly

0 Answers   Ford,


What is the use of option explicit in vbscript?

0 Answers  


What purpose does ‘on error resume next’ serves?

0 Answers  


wat is com(common object model)object for mozilla firefox??? if any knows the exact answer....plz rply me

2 Answers  






Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?

0 Answers  


How to write VB Script for selecting a particular row in a WebTable?

1 Answers   Patni,


How to write Descriptive programming in .VBS file i wrote this code but it is giving error.. Dim qtApp set qtApp=createobject("QuickTest.Application") qtApp.Launch qtApp.Visible=True Set objIE = CreateObject("InternetExplorer.Application") objIE.visible = True objIE.Navigate "www.gmail.com" browser("title:=gmail").title("title:=gmail")

2 Answers  


How strcomp function works?

0 Answers  


What are the differences between sub procedures and function procedures?

0 Answers  


Mention what is the main difference between function and sub-procedure?

0 Answers  


what is the code in QTP to take screen shot? Please send me any one to my mail id. my mailid is manu.sanepalli@gmail.com

4 Answers   TCS,


Categories