how do we add a new sheet to data table in QTP?

Answers were Sorted based on User's Feedback



how do we add a new sheet to data table in QTP?..

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

how do we add a new sheet to data table in QTP?..

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

how do we add a new sheet to data table in QTP?..

Answer / kumar.c

'Add New sheet in Datatable

Set a = Datatable.AddSheet("Kumar")
msgbox a

Is This Answer Correct ?    12 Yes 10 No

how do we add a new sheet to data table in QTP?..

Answer / u.v.r

DataTable.addsheet"rajani"

Is This Answer Correct ?    1 Yes 0 No

how do we add a new sheet to data table in QTP?..

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

how do we add a new sheet to data table in QTP?..

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

how do we add a new sheet to data table in QTP?..

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

Post New Answer

More QTP Interview Questions

Hi all , I am new at QTP I want a sample script to check validation messages(For java script or VB script) for login page with for web based application.. Any one can Help. I have to complete it in two days I need urgent help.. Ex. if I want to check mail.yahoo.com 1 > If user doed not exist it display "Username does not exist" 2> if invalid Uname and password then it display" Invalid Uname or pass" 3> Loing Sucssessfully. I want to check this types of application by using data table to give values of username and password.. Thanks

2 Answers  


I AM NEW IN QTP,PLZ TELL ME ANY BOOKS FOR QTP, MY COMPANY IS QTP,SO I LEARN QTP,PLZ ANYBUDY HELP ME

68 Answers   AZTEC,


if anyone has idea of the interview procedure in covansys, plz send me a mail?

0 Answers  


Explain process of smart Identification in QTP?

0 Answers  


What is Virtual object wizard in QTP?

4 Answers  






What is the difference between QTP and WinRunner? Why do you choose only QTP for automation among remaing tools like Rational robot and silk test? Write the VBscript for any functionality in your project ? What is the cost of QTP ? If you entered into yahoo mail with your valid user name then you will get FOR EXAMPLE , " welcome to krishna " on the top of inbo page , how can you test it in QTP? What type of testing you can do, when we gave you 5 screens and how can you test that application? What type of framework you are using in your company and explain it?

0 Answers   CTS,


What is the difference between Keyword Driven test and Data Driven test?

0 Answers  


What are the check points can be inserted without recording?

0 Answers  


How QA specialist can identify when programmatic descriptions are useful?

0 Answers  


Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?

0 Answers   BirlaSoft,


How you automate test scripts

1 Answers   Novartis,


what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com

0 Answers   EpuraTech,


Categories