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

how to retreive the xml file data through qtp.can anybody send script for this..

1 Answers   Synechron,


How to execute a WinRunner Script in QTP?

3 Answers   IBM,


1.In VB Script 100 lines Script. How can check the Syntax errors? 2. Write a VB Script for X = India/Srilanka/Australia/England/South Africa.I need the Output Country wise? [ 1st Msgbox India , 2nd Msgbox Srilanka] ---- 3. How can Choose these test cases to be automated?

5 Answers   HP,


What is Unicode Compatibility?

0 Answers   HCL,


When and why do you use "OPTION EXPLICIT" in VB Script. Is there any online help or something to learn the script for Beginners?

6 Answers  


what will be there in keyword view and expert view?

2 Answers  


Explain xml checkpoints.

0 Answers  


Limitations in QTP?

0 Answers   CIL,


How comfortable are you in VB scripting?

2 Answers  


How to get popup error message.

0 Answers   Tech Mahindra,


difference between GetROProperty and GetTOProperty

3 Answers   Wipro,


How can you quit from Action.

2 Answers  


Categories