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

can any one tell me How exactly data drivent testing is done in.explain with any example and the exact steps to fallow?

2 Answers  


anyone can explain about "Hybrid framework" in QTP

5 Answers  


how to validate email?email ie correct or not ?with below conditions. 1)before @(symbol) only alphbates and min 4 char to max 15 chars. 2)before @(symbol) only alphabates dont use ant special chars or numarics 3) after @(symbol) only one dot(.)symbol for ex:abc@gmail.com it is valid email or not based above conditons

2 Answers   Aspire,


Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.

0 Answers  


What are the drawbacks of QTP?

10 Answers   Ordain Solutions,






Suppose there are 10 browsers opened on desktop. I want to close all browsers except one browser in QTP. Can any one give the code for this?

7 Answers   IBM,


In QTP , Test Director combination . what is the role of Test Director? How QTP Launching QTP in T.D ? If it is Winrunner possible. but QTP How it is possible?

1 Answers   IBM, TCS,


What is the syntax to use out of two characters. Pls anybody can give the answer.. Thanks in advance...

1 Answers   Navis,


What is the difference between two actions?

1 Answers   Wipro,


If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?

0 Answers  


How to create a Runtime property for an object in QTP?

6 Answers  


I would like to directly import XL file and work on that XL file directly in QTp script in that XL sheet need to allocate workbench,XL sheet and generate two bar graphs automatically how to do that? plz let me know any answers?

0 Answers   Wipro,


Categories