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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How to find the name of the machine where you are running your automation scripts in qtp?

674


what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?

1607


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

1935


What are the steps involved in the recovery scenario wizard?

722


Pls can anybody send me the Recent Technical and Interview Questions Which were asked in IBM(QTP)Automation PLZZZZZZZZZ

1715






If the weblist is identified as webelement,and by clicking on webelement if the values are displayed,and if the values the values also identified as webelement.then how to fetch the values through script?

4869


Some time when i wanna learn the object i face issue like i am not able learn the object in proper manner... eg:for text bo on web page it should learn as webedit but some times it reads as winobject:internetexpoler-server, because of this i have to uninstall the qtp and re-install it again when i do this it reads the object perfectly.....plz suggest the soln

1573


How is test case write?

723


In qtp, explain what is qrs file?

743


In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail

1663


In qtp, how you can use xpath to identify objects?

772


Write a script to verify font style and color of a windows object using descriptive programming

1008


How to use output values in qtp ?

693


Is it possible to call win runner script in qtp?

783


What are the properties you would use for identifying a browser and page when using descriptive programming?

755