Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

DEFECT LIFE CYCLE,WHO PUT THE STATUS AS OPEN

4 Answers   IGT,


QTP Data Table Having 10 records with 10 to 15 fields(lets say).now i want to get alternative records from datatable.pls can any one answer it?

3 Answers   Syntel,


How can I find out whether a word in a string is existed or not for example "QTP IS A POWERFULL TOOL FOR AUTOMATION" How can i find out whether "powerfull" is existed in the above string or not Could anyone answer it?

7 Answers   Livetek,


what is exit and entry criteria of automation testing. any body wants a real time script,please mail to me. contactno;9986435766

2 Answers  


How will you declare a variable in qtp?

0 Answers  


we have 10 actions in out test how can we convert 9th action is main action ? how ?

5 Answers  


I have an application running in Linux server. I am reaching the application through emulators like telnet. My operating system at the client side is Windows XP. Using emulator I am connecting the Linux server and working on the application. Can I automate the testing of the software running in Linux server using QTP. In short, does QTP support the applications running in Linux servers.

1 Answers  


I have a Webtable object in my shared object repository, say WT1, which has different index value in 2 different versions, one version having WT1's index value as 1 and other version having WT1's index value as 2. how could i use same test script to identify the WT1 object having different index values.

5 Answers  


How do you do batch testing in wr and is it possible to do in qtp, if so explain?

0 Answers  


What all challenges you have faced during automation and how you have resolved it?

2 Answers   Genpact,


www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example

0 Answers   TCS,


Do we get any issues if we run the test script on differentbrowsers?what are the options we need to set in QTP?

3 Answers   CTS,


Categories