Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

write a script to count no drives in file systems in qtp?

1 Answers   Mind Q Systems,


write a vb script to calculate factorial of a number?

5 Answers  


What is the purpose of regexp object in vbscript?

0 Answers  


Which date function is used in the vbscript language to find the difference between the 2 dates?

0 Answers  


Which operator can be used to change the value of the operand or change the state of the condition?

0 Answers  


write a vb script to generate 3*3 matrix

2 Answers  


I want good books or good sites for scripting.Can any one help me.

0 Answers   Wipro,


What is event handling in vbscript?

0 Answers  


What is Querystring collection?

0 Answers  


Explain the constants in vbscript?

0 Answers  


How are values assigned to the variables in the vbscript language?

0 Answers  


Differentiate javascript and vbscript?

0 Answers  


Categories