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
What are the advantages of parameterization ?
HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...
How to give a call to another action from one action?
How to define array in qtp?
How you are developing the script? Using record and play back or manual?
Explain about the quicktest professional (qtp) automation object model?
How to find Operating system information using QTP script?
What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz
what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?
How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?
Define Canvas view of UFT?
How to handle dynamic objects in quicktest professional (qtp)?
How do I lauch my test website using code from qtp in different environmet, uat and PPTE?
Suppose I want fail that check point? How can you do that?
Mention the test steps of qtp.