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                      
tip   To Refer this Site to Your Friends   Click 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 ?    0 Yes 0 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 ?    0 Yes 0 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 0 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 0 No
Shivendra
 

 
 
 
Other VB Script Interview Questions
 
  Question Asked @ Answers
 
how to retrive the tooltip by using descriptive programming in qtp? iGate1
How can I access an object in another frame?  1
How do you write an SQL insert statement? HCL1
Which is the default Data types in VBScript?  2
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 TCS3
hey please tell me how to retriev data from excel sheet which puts the login name and password in the application? plz send me the code..please help me HP2
How to write a general script which should does the following a). If a page object is given, it should identify the page object of the corresponding page(site). b). It should identify all the links of that particular page. in QTP tool? Infosys2
how to get date format from system locale..format means neither long nor shor... format from system locale. i need like your date is mm/dd/yyyy formate or mm-dd-yy or with time like that. how to get.  2
When importing an excel file that has several columns each with different number of rows into QTP's Global datatable, how can you count the number of rows in a particular column? McGraw-Hill1
what is the differenece btwn scripting language and programming language  3
Which is the default Data types in VBScript? AppLabs6
What variable can you use to share info across the whole application for one user?  1
How can I get the value of an object property or variable in another frame?  1
What is the equivalent of VBScript?s On Error In Jscript ? Microsoft1
When inserting strings into a SQL table in ASP what is the risk and how can you prevent it?  1
how to organize files in object repository of qtp  1
What is wrong with the following code: <%afname="header.asp"%><!?#include file ="<%=afname%>"?>  1
What is string concatenation function in VBScript?  1
How to check the particular window is exist or not with out using check points  1
How to create MSAcess table foriegn key  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