what is mean by output parameters?
I need full description with example. tell me any one please
Answer Posted / lakshmi.v
inputout Parameters are used for passing the values into the
action.while calling it and returing the values from it.
eXAMPLE FOR USING INPUT AND OUTPUT PARAMETERS IN THE SCRIPT
vbwindow("cal").vbedit("value1").set parameter("a")
vbwindow("cal").vbedit("value2").set parameter("b")
vbwindow("cal").vbbutton("ADD").click
var1=vbwindow("cal").vbedit("RESULT").GetRoProperty("Text")
parameter("c")=var1
vbwindow("cal").vbedit("value1").set parameter("a")
vbwindow("cal").vbedit("value2").set parameter("b")
vbwindow("cal").vbbutton("SUB").click
var2=vbwindow("cal").vbedit("RESULT").GetRoProperty("Text")
parameter("d")=var2
EXAMPLE FOR PASSING THE VALUES&RETURN VALUES
RunAction "Action1[inouttext]",oneiteration,5,7,s1,s2
msgbox s1
msgbox s2
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
There is an excel file of 1 to 100 sheets how you will iterate through it?
Does quicktest professional (qtp) is unicode compatible?
I want two test two agents login for the flight website. Here is the scenario: I want to go through 1-3 rows for one user login and other user login I want to go though 3-5 rows. How would you set this up in qtp. Thank You
What is the difference between byref and byval in qtp?
explain how to write vb script in qtp?when will you write own script?
What are private functions in QTP? How they can be called from the function library?
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
By using QTP can we record any log files written by the application which is in execution?
how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel
Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?
Define Canvas view of UFT?
Explain in brief about the quicktest professional (qtp) automation object model?
Difference between test object and run time object?
What is the synchronization point in qtp?
Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.