How to add a runtime parameter to a data sheet?

Answers were Sorted based on User's Feedback



How to add a runtime parameter to a data sheet?..

Answer / guest

Example:
Datatable.GetSheet("Global").AddParameter("NewColumn_Name")

This adds a new column called NewColumn_Name in the
datatable under Global Sheet

Is This Answer Correct ?    5 Yes 0 No

How to add a runtime parameter to a data sheet?..

Answer / prashanth

Ram and Sridevi are correct. we can even use like this

DataTable.GlobalSheet.AddParameter("Name", "Value")

Is This Answer Correct ?    3 Yes 0 No

How to add a runtime parameter to a data sheet?..

Answer / rams

You should also give the value to be added along with
column name.If dont want to give a value u can pass an
empty string
Datatable.GetSheet("Sheet name").AddParameter
("NewColumn_Name","Value")

Is This Answer Correct ?    1 Yes 0 No

How to add a runtime parameter to a data sheet?..

Answer / sreedevi

Datatable.GetSheet
("Global").AddParameter "NewColumn_Name","Value"

Is This Answer Correct ?    1 Yes 0 No

How to add a runtime parameter to a data sheet?..

Answer / punkhuri singh

DataTable.LocalSheet

The following example uses the LocalSheet property to return the local sheet of the run-time Data Table in order to add a parameter (column) to it.

MyParam=DataTable.LocalSheet.AddParameter("Time", "5:45")

Is This Answer Correct ?    0 Yes 0 No

How to add a runtime parameter to a data sheet?..

Answer / guest

Example:
Datatable.GetSheet("Global").AddParameter("NewColumn_Name")

This adds a new column called NewColumn_Name in the
datatable under Global Sheet

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

How do you invoke an application using the step generator in qtp?

5 Answers  


Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.

0 Answers   Fiserv,


How will you send values to a cell in a webtable using QTP?

2 Answers  


how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up

1 Answers   Mphasis,


w is fragmentation and paging

1 Answers   MBT,






what is vmodel?advantages and disadvantages of vmodel?

0 Answers   AZTEC,


What is a quick test professional?

0 Answers  


what is actually contain test report? can anybody post the test report

0 Answers   Synechron,


How we can call the scripit from another scripit in QTP?,Not a call Action

12 Answers  


Hi, Can we open a test in qtp10 which is saved in qtp 9.2?

0 Answers  


What is Virtual Users?

1 Answers   Crea,


When to use shared and local object repository?

0 Answers  


Categories