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
What is quicktest professional window?
What is the purpose of loading qtp add-ins?
How to analyzing test results using quicktest professional (qtp)?
What is the registration process and examination fees?
Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.
What are the disadvantages of recording test cases in qtp?
How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))
i have two questions for regular expression :- Q1. I have date pattern eg-29/11/2011 29-11-2011 29.11.2011 Que- if any separator is there between date,month and year pattern should match else it should not match eg- pattern should not match in case of 2911-2011 Q2. let say i have a string and there is a number in between of that string eg.-Amount 30002.234 successfully credited to your account . now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression
How the exception handling can be done using quicktest professional (qtp)?
What are the main differences of qtp and win runner?
how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps
What is file database?
Can anyone pls tell me how to do action parameterization (input and output parameters) with respect to login window and insert order of flight reservation window in detail( pls give a clear step by step explanation with example) anyone please. Will be very thankful to u
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..