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 |
How do you invoke an application using the step generator in qtp?
Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.
How will you send values to a cell in a webtable using QTP?
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
w is fragmentation and paging
what is vmodel?advantages and disadvantages of vmodel?
What is a quick test professional?
what is actually contain test report? can anybody post the test report
How we can call the scripit from another scripit in QTP?,Not a call Action
Hi, Can we open a test in qtp10 which is saved in qtp 9.2?
What is Virtual Users?
When to use shared and local object repository?