what is mean by output parameters?
I need full description with example. tell me any one please



what is mean by output parameters? I need full description with example. tell me any one please ..

Answer / 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

More QTP Interview Questions

Is it possible to change the name of a test object. I mean when we are recording the script for an object (for Ex: Username is a text field which has value "Babu",i am recording that). Then the Name of the object will become "Babu" in object repository. If i want to change "babu" as "xxxxx" .. is it possible to do? Pls help me in this .. if you didn't understand the question, pls let me know.

4 Answers  


How many ways return more then one value from function?

2 Answers   Ingram Micro,


HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?

0 Answers   Wipro,


What are the types of Object Repositories in QTP?

1 Answers   Ordain Solutions,


what is a test strategy & what is the difference between test strategy & test plan?

5 Answers  






While scripting do we use any reference. may be we have 2 0r more same objects that time how do we write scripts

2 Answers  


in Qtp,how to display user name and pwd (script)in data table(global sheet).

2 Answers  


While recording a login window QTP is identifying only parent window,then how can u identify the child objects.

2 Answers   Symphony,


How to supress warnings from the "Test results page"?

2 Answers  


Hi, Has anybody attended IBM interview on 17th APR 2010,and got offer letter? I had given interview and selected also but still did not recieve offer letter.

5 Answers   IBM,


Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com

0 Answers  


how to generate numbers in between to numbers suppose numbers in between 500 to 1000 in sequencies using vbscript

1 Answers  


Categories