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 Can I automate PDF forms using QTP9.2 ?
How can i open a file in Textpad and replace a string with another using QTP
Can we use same virtual objects in many number of tests?
When u ll use Record Button in QTP?Is VB script is Mandatory in QTP? What is Meaning of Frame("v1")?
What are objects? how do you select the unknow object?
what is difference betweem class annd object?
Using Regular expression method some particular value is not present in given value. HOow do use regular expression? Forexample password all number,character ,special character are accepted but (_',)underscore,comma are not used. How do write regular expression.
We have 10 page.In first page we 2 popup and next page we 3 popup window......(windows name is different)how can we handle the all the popups without using recovery scenario
What kind of performance is expected on the client side (e.g., how fast should pages appear, how fast should animations, applets, etc. load and run)?
Explain types of exception handling and script for that?
How To write script in QTP For Field Validation Example: password Field is accepting A range 8-20 characters only.How to write script?
Pls Solve Error(SAP-CRM):- Cannot identify the specified item of the SAPNavigationBar object.Canfirm that the specified item is included in the object's item collection.