how to add a runtime parameter to a data sheet?
Answers were Sorted based on User's Feedback
Answer / lakshman rao
Hi, Srinivas
I thought your miss guessed. Two ansewers are wrong ones
and question is too clear
My answer is by using "Add parameter" method we can done
this. please check out the example.
datatable.addsheet("lakshman").addparameter("column one
name","value")
09860054593
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / raja83
hi i am not understanding your question clearly
1)you can pass datasheet value to test during run time
DataTable.SetCurrentRow(1)
var= Datatable.Value("Column Name","Sheet name")
2) you can write value to datasheet during run time
DataTable.SetCurrentRow(2)
Datatable.Value("Column Name","Sheet name") = Value
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / b.venkateshwar
we can add runtime parameter to data sheet as follows
syntax:
Datatable.Gtglobalsheet.Addparameter("parameter name" ,
value)
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / sricha
Login="Login Operation Successful"
Datatable("Parameter_Name",Sheet_Name) = Login
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / mahendar
To add the runtime parameter to data table.
DataTabla.Addsheet("SheetName"). AddParameter("ParameterName";"Value")
| Is This Answer Correct ? | 0 Yes | 0 No |
Hi friends, I have heard that it is required to have an application hosted in the same machine where we use QTP. Otherwise QTP may identify the objects incorrectly. Please clear me is it true.
When it be decided to go for either Per - Action or Shared?
In qtp what type of data tables are used , name and list out them
What are the differences between quicktest professional (qtp) and winrunner?
Iam trying to write script for Rediffmail Page,in doing so the script line for go button is not accepting. Is their any other way other than . Browser("micClass:=browser").Page("micClass:=Page").Link ("micClasss:=Link","name=go")
Explain about reusable actions?
Given a string variable contain a full name (last name, first name), using vbscripting, how can you extract first and last name and save them into two different variables.
How to display the first 3 letters in these "ABCDEFGH" using qtp script?
Both static and dynamic arrays are handled by the vb script. Is it true?
difference Between LowLevel and Normal Recording Modes?
how can u put synchronization point in qtp,wat is exactly synchroniztion why we use it wat is benifit in qtp
13 Answers College School Exams Tests, Mind Tree,
is it possible to add sheets to excel at runtime