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 |
What is Reusable component is QTP...Anybody can answer it..Thanks in advance...
In a shared Object Repository in QTP if some object is changed how can the other script which is using the same object can be known
How often were they executed?
Test script is generated and it is enhanced.It is required to be saved.But the disk space is insufficient.You are not permitted to delete any scripts.How are you going to save?
How do you test DLL files using automation Tool QTP?
What are the types of object repositories? Which one is you using?
Write a script to delete the a specific row (say 3rd) in a webtable.
What is iteration? How it is related to Test Results in QTP?
what are the 5 types of objects in qtp
How can I map test requirement to Test Set (multiple test cases)? Under test lab, I have multiple test cases. I would like to map 1 requirement to all test cases under that test set (in test lab)? Currently, I think QC only allow mapping 1 test requirement to 1 test case. Instead I would like to map 1 test requirement to multiple test cases under one test lab.
4 Answers CarrizalSoft Technologies, DST Global Solutions,
Whenever we use GETROPROPERTY function.
hi i have one issue while automating the script using QTP i want scrool down .i cannot do even using scrool down methqad is not working .the object will take WebElement plz is there any code help me