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 |
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
when there is a task that gets repeated in multiple scripts what do you do in QTP?
How to use debug tools?
Suggest and Define a solution for an application whose objects are not recognized by UFT?
Explain qtp(quick test professional)?
what are the qtp tester responsibilities?
What are the automation metrice in your project?
HI I want to know the detials of QTP certifications such as syllabus, study Materil etc. Can any provide me all these details?? my mail ID is krishnuvk@yahoo.com
How we can merge the object repositories?say if we have 2 or 3 object repositories then how we can merge them?Is there any option in QTP to merge the object repositories?
how can i replace any text from the qtp script with some anothere text
how to retrieve the column headers in database using vbscript statement in QTP
How to get data line by line from web element