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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe synchronization point.

653


What is Port testing. Whhen will you perform?

1603


Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.

1590


What are the advantages of qtp?

666


Explain the concept of object repository?

635






Explain the keyword driven framework for the window based application complete creation of library files,env file,test data,recovery file,excel file ,repository etc and as a test engineer how is ur approach

1707


How to capture all the data of a webtable, weblist and combolist using QTP?

2935


How to use debug tools?

2285


Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.

2501


What is expert view in qtp?

687


How many add-ins comes by default with quicktest professional?

627


How to use the object spy in quicktest professional (qtp) 8.0 version?

588


what is profile tool?

1721


Explain about the test fusion report of quicktest professional (qtp)?

639


How you can find length of array in qtp?

656