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


Please Help Members By Posting Answers For Below Questions

What are the advantages of parameterization ?

592


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...

2397


How to give a call to another action from one action?

627


How to define array in qtp?

570


How you are developing the script? Using record and play back or manual?

629






Explain about the quicktest professional (qtp) automation object model?

562


How to find Operating system information using QTP script?

567


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

1472


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?

1373


How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?

694


Define Canvas view of UFT?

614


How to handle dynamic objects in quicktest professional (qtp)?

544


How do I lauch my test website using code from qtp in different environmet, uat and PPTE?

1456


Suppose I want fail that check point? How can you do that?

596


Mention the test steps of qtp.

537