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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
how do we add a new sheet to data table in QTP?
 Question Submitted By :: Darshan
I also faced this Question!!     Rank Answer Posted By  
 
  Re: how do we add a new sheet to data table in QTP?
Answer
# 1
In two ways we can create data table

1)By creating different actions in test we can create data 
table for that action.
2)Dynamically we can create data table as
datatable.addsheet <sheet name>

The created sheet called as virtual sheet and we can call 
it in any action by using

datatable.getsheet "sheet name" method
 
Is This Answer Correct ?    2 Yes 2 No
Aparna
 
  Re: how do we add a new sheet to data table in QTP?
Answer
# 2
The created shhet in virtual sheet then we can cal any 
where in the program

Datatable.getsheet"Sheetname"
 
Is This Answer Correct ?    0 Yes 0 No
Raavi
 
 
 
  Re: how do we add a new sheet to data table in QTP?
Answer
# 3
'Add New sheet in Datatable
 
Set a = Datatable.AddSheet("Kumar")
msgbox a
 
Is This Answer Correct ?    1 Yes 0 No
Kumar.c
 
  Re: how do we add a new sheet to data table in QTP?
Answer
# 4
a)	In QTP add the new sheet is possible in two types. They are
b)	In Different action: Here possible to create the any
actions of recording 
c)	And condition of new sheet in data table: Here give the
syntax then create the new sheet. That is
d)	Data table .get sheet “sheet name”
e)	The above method is call virtual method

Hi This is K.Chandra Sekhar
If any query then send to mail ndra_143@yahoo.co.in
I am taking the testing projects FAQS class
Call 9246540049/65880049
In Hyderabad
 
Is This Answer Correct ?    0 Yes 0 No
K. Chandra Sekhar
 
  Re: how do we add a new sheet to data table in QTP?
Answer
# 5
To Add a new sheet first we need to give the reference for 
the sheet i.e
Datatable.getsheet("sheetname")
//sheet namehere can be global or local//
then add this statement
Datatable.addsheet("sheetname")
If you want to give the column name and its value include
Datatable.addsheet("dtglobal/Action1")"Username","ABC"
Thanks.
 
Is This Answer Correct ?    0 Yes 1 No
Noor
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
HOW MANY WAYS ARE THERE TO CPY TEST IN TEST LAB IGT2
Interviwer asked, How many years exper.. on QTP? I said, total 2 yrs exp in manual and QTP. QTP only current project arround 3 months. then interviewer ask , HOW BOLD YOU QTP? What you say?  1
I have one bitmap image in my webpage. The bit map image is moving like 1 place to 2nd place and 2nd place to 3rd place Etc… in my webpage. I wanted to write script for dynamical objects like above example. Could you please send me the answer for above query. IBM9
Among all the check points what is the most important checkpoint?  1
How to change the run-time value of a property for an object in QTP?  4
what is main diff of qtp8.2 and qtp9.0? Covansys1
what is descriptive.create()in qtp? IBM2
How to call .vbs funtion , Library files in QTP? plz Explain indetail(chandana) Wipro4
plz explain QTP real time work( Means where you store scripts and how u access scripts next day? where those activities we are maintaining, If By usig VSS how the process in going on , plz explain briefly? CTS2
what is the exact Diff. Between Test and Component in QTP?  1
for example one window is there, the window contains how many edit box's i want script? i know the script but that is not exact answer.... The script is like this .......... set a=description.creation() a("Native class")="WinEdit" b=window("Flight Reservation").childobject(a).count msgbox b if u found exact answer please getback to me? raju.ippali@gmail.com 9823257761  1
Login to flight app, in window flight reservation set the date field and select flyfrom as Frankfurt and verify whether flyto list box has the item FrankFurt, log the results. Cap-Gemini1
Suppose if a functionalityis not mensioned in requirement document and but its present in application. will it be consider as a bug and viceversa?  2
What is output value?  2
what's the difference in between function and sub and give some code as well Patni1
how can i prepare for QTP(8.2) to face interview ? give over view details?  45
By default Action1 runs first in QTP. Is it possible to start the run with Action2? Virtusa7
what is QTP batch testing tool?  2
what is qtp automation frame work,what is the use of that frame work? iGate34
Is QTP a compiler or interpreter..? can you we execute a QTP Script file in a another system which does not have QTP installed..?? Virtusa4
 
For more QTP 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