For Passing Parameters from one Action to another Action we
will use Input & Output parameters. Can any one tell how to
use this Input & Output parameters with Example ?
Answer Posted / saravanaraja
write the following script in Action1
dim a,b
a=10
RunAction "Action2",oneiteration, a,b
msgbox b
here a is the input parameter & b is the output parameter.
click Action 2 properties and give input parameter as a &
output parameter as b.
Write the following script in Action2:
dim c,d
c=parameter.item("a")
c=c+20
parameter.item("b")=c
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
i need to add 1000 users in a domain i written the script for that and it is running successfuly but the problem is that my system is not the user of that domain in which i have to add users so for adding users in that domain i have to install qtp on that another system, can anybody suggest me the way to add those users from my system ultimately i want to know how to access remote computer through script
Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....
What is fragmentation and paging?
While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?
1. wat are the main diff b/w QTP 8.0 AND QTP 9.2 ( not user interface) 2. wat is the meaning of Keyword in keyword driven frame work? 3. how u will handle the unknown errors while exucution. (not recovery scenario)
Where to use function or action?
Explain advantages and disadvantages kdf?
Can anybody let me know how to test the Drag and drop feature of the column in a .net application...eg..i hav to test the drag and drog feature of a table(swftable) in a application..plze help!!
What is the use of ordinal identifier in qtp?
wt is the use of multiple questions in QTP
Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B
What is the parameterization? Give one example?
Suppose you are using shared objects repository in your test and you want to split your present action? At that time shared object repository is single or it’s also splits?
how to test load test and block box testing an a web based application pls give ans briefly
Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations