how do we add a new sheet to data table in QTP?
Answers were Sorted based on User's Feedback
Answer / aparna
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 ? | 18 Yes | 2 No |
Answer / raavi
The created shhet in virtual sheet then we can cal any
where in the program
Datatable.getsheet"Sheetname"
| Is This Answer Correct ? | 7 Yes | 3 No |
Answer / kumar.c
'Add New sheet in Datatable
Set a = Datatable.AddSheet("Kumar")
msgbox a
| Is This Answer Correct ? | 12 Yes | 10 No |
Answer / k. chandra sekhar
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 ? | 1 Yes | 3 No |
Answer / balaji s
Datatable.Addsheet "Sheet1"," "
Instance purpose i am using the sheet name as "sheet1" if
the user wants to use some different name then they can use
it.After adding the sheet adding a value in the column is
necessary so i add null values for that
Regards,
Balaji S
9894207910
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / noor
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 | 5 No |
IF I SET THE VIRTUAL OBJECT AFTER THAT MAXIMIZE THE APPLICATION THEN QTP SENT ERROR OR EXECUTE SUCCESSFULLY? WHY ?
Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?
what is the script for keyword driven framework in real time?plz its urgent
Tell me the QTP Advantages and Disadvatages ?
what is the diff between manual test plan document and automation test plan doc.can u explain indetail.
what is difference between calling a function and reusing an action?
Suppose there are 10 browsers opened on desktop. I want to close all browsers except one browser in QTP. Can any one give the code for this?
How to creating an output value using quicktest professional?
I have 5 no.of Action in my Test. Out off which i should make 3rd action as my start-up action. How should i make it?
I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me
how to write the descriptive programming in QTP for loginwindow.without using Step generator,object repository for referecnes
if there is two login button in your page, how you know that this login button is correct for login .