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 an application that is having some options to choose. While doing business transaction I need to select one option among from available options. But here the thing is, we won't get one option which we've chosen already and the available options will get automatically from the system with time basis, moreover each and every option having with various label names respective to that option. So obviously if I run my recorded script will automatically gets fail, even though it got pass at first time. Could anyone please give me appropriate solution for this. I would be greatly obliged with you if you give the solution as soon as possible.
How u perform exception handling in QTp,what is other name for ths
what is a active x control?can any one brief me about active x controls
I have given u a application.To automate it what are the things will u consider?
Please Clarify if smartidentfication is used at runtime when qtp does not recogonize the objects
any challange that faced in your project? (please give me some examples in your project?
How should i get name of the screen? Ex:There is a "submit" button.If i clicked on the submit button it opens a screen. I want that screen name.How can i get that screen name I dont have any property regarding that screen. If suppose we cliked on the screen , Then QTP captures the screen properties then i can get the screen name by using GETROPROPERTY But i want the screen name without clicking the screen. ("I am using the "settoproperty" for Second screen by using fist screen properties") Please tell me anyone
how to disable the pop ups through QTP using a script
how u test a frame in a web page using QTP?
what r the executing modes in QTP
If a script has a local repository and also uses a shared repository, which repository will QTP use first when searching for an object during playback?
Is it possible to call win runner script in qtp?