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

There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?

0 Answers  


How to do Laod testing for web based Application?

1 Answers  


What is the difference between keyword view and expert view?

0 Answers  


For ex we are doing automate testing in that can we do some part of application recording, some part descriptive programing and some part general VB scripting like that .............

3 Answers   Satyam,


When you open QTP, how many sheets you can see?

0 Answers   Wells Fargo,


if there r 10 windows open in QTP write a command to close all 10 windows at a time ?

11 Answers   Wipro,


How can i check elements sorted in dorpdown using qtp..

1 Answers   Value Labs,


Can anybody help me by sharing the code for checkbox in qtp using vbscript.

2 Answers  


hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company

0 Answers   Excel,


How do function returns a value?How can we pass one function value to other function as input

3 Answers  


how do u get lib files into scripting files?

4 Answers  


To retrive the test data which tool vl use and whats basis u vl write test data? its urgent

0 Answers   IBM,


Categories