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 |
Explain key word driven frame work?How to use in real time?
What is descriptive programming?
Plz send one Tracebilitymatrix example? Anybody working on Realtime QTP Plz give contact deatils?
what are recovery management techiniques?
2 Answers BirlaSoft, GL Noble Denton,
Can we Run the Tests developed in QTP 8.2 in advanced versions like 9.0, 9.1, 9.2...etc.,
HOW MANY WAYS ARE THERE TO CPY TEST IN TEST LAB
Explain the Load testing process?
How to add Dynamic Objects to Object repository?
What is the difference between the keyword view and expert view?
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?
What is repository parameters in QTP?how will we define that????what is unmapped & mapped repository parameters????????
How will you declare a variable in qtp?