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 to find that tools work well with your existing system?
Among the 3 Recoring modes,Standard, Analog and Low Level. which one is mostly used. I know that Analog id used for Graphs, Digital Signatures and Barcoding. so, which one among the 2?
What are the advantages of a Hybrid framework?
What is a Dictionary object in QTP.?
Difference between image checkpoint and bitmap checkpoint
By using QTP can we record any log files written by the application which is in execution?
QTP Data Table Having 10 records with 10 to 15 fields(lets say).now i want to get alternative records from datatable.pls can any one answer it?
Hi guys, can anyone explain me whats the method for reporting the QTP test results to teamlead or non-QA member (developer/PM)? Thanks in Advance!!!!!
Explain different type of event trigger option.
examples of user definied functions? how to write user defined functions in qtp9.2?
According to use, how virtual object is different from object spy? If Qtp is not learning a sub-menues. What should we done? how would we manage on the expert view too? alkaa.dugaal@gmail.com
how are environment variables used in real time projects (testing)?what answer should be given about this in interview.need real time explanation breifly?thnx in advance.