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 post xml data from QTP scripts to any application?

0 Answers  


Hi, My problem is as follows. I recorded a script that created Object repository of each action i recorded. But later I added one more step (which was to enter data in a textfield) into the script through expert view. But as no repository for this newly added step exists in the test, my script fails. So please help me to sort this problem that how can I create object repository of a new step in an existing test. Thanks everyone

1 Answers  


Explain features of the latest version of qtp/ uft 12.1?

0 Answers  


what is the use of descripting programming?

8 Answers   Ordain Solutions,


I want to test advanced Java applications what kind of add- ins I have to install?

1 Answers  






What are the different types of qtp test assets and their extensions?

0 Answers  


what is run-time data?

0 Answers  


What is the best institute in Ameerpet? If people think Ameerpet is the pride of hyd they need to go to Delhi/Gurgaon/noida you can find the difference.

3 Answers  


How to use the object spy in quicktest professional 8.0 version?

0 Answers  


What is difference between design time and run time data table?

0 Answers  


How can we do this one ? at runtime qtpwindow and browser aren't disply on monitor (or) aren't visible on desktop?how?

1 Answers  


How we can import data from database?

0 Answers  


Categories