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  >>  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 ?    1 Yes 0 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 ?    0 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 0 No
Noor
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
What is Active Screen in QTP?  8
How do you invoke an application using the step generator in qtp?  5
Please Explain The QTP real Testing process with steps.  3
what is diff b/w function and action? VSoft5
How i can change shared repository to per test repository in qtp  1
Suppose one object is changed in a project after delivering the project.Where we will update that object? it can be present in many scripts so can we update all the scripts? IBM1
what are the different Frame Works in Quick Test Proffessional testing Wipro4
What is the present version of the VB Script we are using  1
How can I deploye a 'QTP Runtime environment only' Indexis1
Hi friend I have query regarding QTP datatable. I want to insert data in datatable during runtime. suppose i wrote datatble.value(1) = "Test data" so when i run the script it says column(1) doesn't exist. Then i write something in column A1 manualy and run the script again. Now it works fine. Pls clarify how i can put value in blank cell of datatable. Apex7
i have opend 2 gmails i am working with 1 gmail i want to close other gmail by usig script. 2.i have 10 links in a page all of them have same properties& names i want to click on 5link by using script. 3.i have one combobox in that i want to see all the citynames in the combobox and i have to check weather hyderabad is present or not. 4. size of objectrepository. 5.what r problems we get during writing the script. 6.is it possible to compare to excel sheets in qtp if possible wht is the script. 7.example for lowlevelrecording Semantic-Space2
in QTP we test web based application at that time what script is run? is support vb script? plz tell me  2
Which object model ur used in ur project Cap-Gemini2
How do you done Data-Driven Testing using MS-Word. What is the script for that IBM3
4. what is the use of Text output value in Qtp? Wipro1
can we run the scripts of qtp 8.2 in the qtp7.0?  1
IN EXCEL SHEET OF qtp SUPPOSE I ENTERED 10 NUMBERS RANDOMLY I HAVE TO GET TOTAL OF TEN NUMBERS IN THE 11 COLUMN USING qtp GIVE CODE TO IT USING qtp  2
dar Sir I am Facing th eProblem in QTP thet ,when I start thrcording inthe QTP for the ASP front end and C# the Coding Language I fing that recording is Done well for the Login screen but at the Time Running the script the QTP is Unable to Identify the Objects On the Objec Onht eLigin screen .Please answer the Question in Description and the Propables reason I might be facing alsp the Popable solution I have to Take thanks and ragards  1
hi all QTP recognizing objects as "string_1","string_2","string_3","string_4" like that but when using FOR LOOP for these.QTP not proceeding further can i declare these _1,_2,_3,_4 as a single variable Livetek2
If we write a script in the expert view how are the objects created in the object repository? to be clear i will explain my problem first i have recorded the mercurytours application by providing the link www.mercurytours.com and all the objects are stored in the object repository ok this is fine. but i have copied the script generated in the above processes and pasted in a new test and tried to run that script but as the objects were not stored in the object repository it showed an error (The "Welcome: Mercury Tours" object was not found in the Object Repository. Check the Object Repository to confirm that the object exists or to find the correct name for the object).so how can i overcome that error  6
 
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