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

What are the advantages of a Hybrid framework?

0 Answers  


What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.

0 Answers   Value Labs,


how can we write descriptive programming for menus when qtp is not able to identify it..and how can we write descriptive programming for partially identified and non standard objects..do i have to map the objects before writing the script

2 Answers  


What is meant by Step Generator in Qtp How is it used? pls gimme in detail

7 Answers   AppLabs,


the build is develeped in Java. is possible to write scripting in vb using QTP ?

3 Answers  


The string is like POWER STAR PAVAN , write a script for this how to findout the number of "A" in the string ?

7 Answers   TCS,


Please explain how to open with notepad of saved html file by right click option using QTP

1 Answers  


What are the Test design techniques you uses in ur project?

0 Answers   Accenture,


HOW TO FIND WEBTABLE? HOW TO RETRIVE THE WEBTABLE VALUES? PLZ TELL ME THE PROCEDURE.

2 Answers   TCS,


I m trying to automate one vb desktop application in that there is vblist vbcombobox many other vb tools are there ,when i m trying to find some unique property to identify the object (take example of vbcombobox ) I cannot find any unique property, all the combobox belong to same nativeclass same name no ids are available ,only the distinct property is there x and y coordinates so i m using some code like this "vbbutton "nativeclass:=ThunderRT6CommandButton","x:=304","y :=443").exist(2)" but i dont find them reliable .Can anyone suggest me some other way to identify those objects with some unique property or is there any way to register our own property .I m using descriptive programming to write the code .Thanks in advance

6 Answers   Cimcon,


QTP Testing Process?

1 Answers  


HI ALL, HOW WE INSTALL .NET ADD-IN OR JAVA ADD-IN TO THE QTP? PLZ URGENT.ANSWER ME.

2 Answers  


Categories