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 |
Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..
How to get data line by line from web element
Please clarify Automation and QTP both(names) are same or diff?
How to send the qtp results file by email (Lotus notes).
how qtp identifies objects of application.
If an application name is changes frequently i.e while recording it has name "Window1" and then while running its "Windows2" in this case how does QTP handles?
What are the technologies supported by qtp?
Can you write a script to check if the folder exists or not?
what type of automation is follwed in the project?
does test plan is in test strategy or test strategy is in test plan.
give me an example where u used good judgement and logic in solving a problem
How to convert manual test cases to automated testcases