Hi let me ask one questin
1.How to use outputof the one function input to the another
function
pls give the script for above
2.what is the purpose of action parameter , how to create it
Answers were Sorted based on User's Feedback
Answer / sup
Action Parameters can be created in this way:-
Right-Click on Action in Keyword View
Click on Action Properties
Select Parameters Tab
***********Action input parameters*********
Click on "+" and add the input Variables with their
respective datatype and their Values
***********Action output parameters*********
Click on "+" and add the output Variables(o/p Var name)
with their respective datatype
Note- Here there is no Default Value tab
++++++++++++++++++++++++++++++++++
Once you have created Action Output Parameters
write in the Expert View of the same action
Parameter("o/p Var name")="pass"(you can give any values)
************
and then yopucan call this action in any other actions
within same or different test
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / dimple
Passing the parameters from one action to another. Here is
an example.
'Action1 script
dim var
var=Parameter("t") 'Input parameter
msgbox(var)
Parameter("a")=89 'Output parameter
Create anothere action action2
RunAction "Action1",oneiteration,"20",x
Msgbox(x) 'First action output parameter comes to action2
automatically
Exit run
Is This Answer Correct ? | 0 Yes | 0 No |
When to Insert transactions in QTP?
how to click the link in webpage by using QTP Script????????
Dis advantages of XML checkpoint ?
Plz explain about object propeties in object identification? means.. explain about 1. mandatory properties.2. assestive properties 3. ordinal properties.
How do I modify a value of an elemnt which is not the first one in xml file? My sample XML file is like: <Environment> <Variable> <Name>Name</Name> <Value>Uday Kumar</Value> </Variable> <Variable> <Name>Designation</Name> <Value>Senior Software Engineer</Value> </Variable> </Environment> for example, I'd like to change the value 'Senior Software Engineer' to 'Student' in the second element. How do I do it in QTP?
What is system testing and what are the different types of tests you perform in system testing?
How to Analyze the Checpoint results by Table and DB Checkpoints?
How to covert a String to an integer?
how many scripts r there in QTP? pls any answer this question?
How will you handle custom object in QTP?
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?
how to get the data from a winedit box in vb scripting and store it in a variable if data contains "_"(i.e data is TEST_1)