How to add a runtime parameter to a data sheet?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Answer / sreedevi
Datatable.GetSheet
("Global").AddParameter "NewColumn_Name","Value"
| Is This Answer Correct ? | 1 Yes | 0 No |
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 |
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 |
Hai anyone please "Explain about Framework in QTP?"
How to set the function parameters as optional. Pls anybody can give the answer.. Thanks in advance...
Write the Test Cases for ATM(Any Time Money)
Whether qtp 9.0 supports Test director8.0
What is Parameterizing Tests?
any challange that faced in your project? (please give me some examples in your project?
what difference between client and server applications exatly?
Explain about invoking of application?
Among the 4 capture levels, Complete, Partial, Minimal, None. which one is mostly used?
explain keyword driven framework with banking domain?
DEFECT LIFE CYCLE,WHO PUT THE STATUS AS OPEN
How many ways we can parameterize data in QTP?