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 |
can any one tell me How exactly data drivent testing is done in.explain with any example and the exact steps to fallow?
anyone can explain about "Hybrid framework" in QTP
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
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.
What are the drawbacks of QTP?
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?
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?
What is the syntax to use out of two characters. Pls anybody can give the answer.. Thanks in advance...
What is the difference between two actions?
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?
How to create a Runtime property for an object in QTP?
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?