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 |
What is the diff between doing parametarisation using Data Driven wizard or manually. when do we go for manual para...and when do we use Data driver wizard..can anybody answer it ..Thanks in advance
can any one tell me the script to click on a button in the wintoolbar.
how did u use automating testing tools in ur job?
What the genaric function to connect Sql Server using Sql Server Authentication and Windows Authentication
How to identify 2 versions of browsers based on regular expression
How to create an instance in QTP?
What are the differences between QTP 9.2 and 10? please explain e indetail......
can anyone explain about the Descriptive programming in detail. I mean how to use in the script.
HOw to add the recovery file at runtime to the test file .
What is different command used in command Prompt while using QTP?
Hi every body, I am new to QTP.pls help me if anybody knows the solution. Here is my doubt: I have 3 excel sheets in my local drive out of which one is password protected and i want to get the data of all these xL's either by importing or by reading the data finally i have to update this data in the website.(and the site is secured site) I tried by importing all XL"s one by one but couldn't do so. plss send me the code or atleast suggest me the approach. Thanks in Advance Padmaja
hello, i was install Q.T.P.8.2 in windows xp version .when i am running my programs all the desktop icons are disappear why so. please guide me anybody how can i come out side this problem.