ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Scripts  >>  VB Script
 
 


 

 
 PHP interview questions  PHP Interview Questions
 ASP interview questions  ASP Interview Questions
 CGI Perl interview questions  CGI Perl Interview Questions
 JavaScript interview questions  JavaScript Interview Questions
 VB Script interview questions  VB Script Interview Questions
 JSP interview questions  JSP Interview Questions
 Shell Script interview questions  Shell Script Interview Questions
 Python interview questions  Python Interview Questions
 Tcl interview questions  Tcl Interview Questions
 Awk interview questions  Awk Interview Questions
 AJAX interview questions  AJAX Interview Questions
 Ruby on Rails interview questions  Ruby on Rails Interview Questions
 Scripts AllOther interview questions  Scripts AllOther Interview Questions
Question
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
 Question Submitted By :: Uday
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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
Answer
# 1
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 ?    2 Yes 2 No
Kkk
 
  Re: 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
Answer
# 2
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 ?    1 Yes 1 No
Arun
 
 
 
  Re: 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
Answer
# 3
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 1 No
Satyanaryana
 
  Re: 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
Answer
# 4
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 1 No
Shivendra
 

 
 
 
Other VB Script Interview Questions
 
  Question Asked @ Answers
 
how to organize files in object repository of qtp  1
we executed QTP scripts in one browser(i.e IN)same scripts is working on another browsers or not (i.e mean netscap,m azol..like ) Accenture6
How to write functional test cases for send button in gmail. Arctern1
give me an ex. of unoverloaded method? Misys2
Here in my automation tool, i am retreiving some values and i need to store this values in the excel. How can i achieve this?. We are using VBA as scripting language. please let me know if you require any further inputs.  1
How do you get the value of a combo box in Javascript? Aspire2
How can we return a value from User Defined Function ? For Eg. we have 2 functions. In Fun1 i am getting 2 values (a,b) and i am addding those 2 and storing in to another var (c). Now i want to pass that var(c) to another function (fun2). What will be the script? Nous4
How to create MSAcess table foriegn key  1
Have any one know about Test Complete 6, please let me know. If any one have good material regarding Test Complete 6, Please send to my mail id: cns.praveen@gmail.com  1
If anyone knows abt Test Complete material, Pls let me Know. if u have any material or any documents..... Pls mail me on this mail Id...... This is very Urgent Requirment..... for my Project.....  2
Why to add checkpoint in QTP What's the purpose of checkpoints & how to add it  1
Which is the default Data types in VBScript?  2
Hi I don't have any idea on VBscript. can any one point me to a good web site to learn VBscript. Regards lina  2
What is string concatenation function in VBScript?  1
How to load vbs functions in qtp  2
How to use Text file (Notepad) as ur data source in QTP? Can u please provide some function code for it?  1
How can I access an object in another frame?  1
What is parametrization ?  8
How can I get the value of an object property or variable in another frame?  1
What is difference between Active screen and movie screen recorder in QTP 9.2?  1
 
For more VB Script Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com