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
Differences between quicktest professional (qtp) and winrunner?
Please Don't mind .i want in detail the real time process i.e in each document what it contains.
What is active screen?
How many ways is to parameterize the value?
Explain the difference between call to action and copy action?
What is an optional step in qtp ?
Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?
Will down time for server and content maintenance/upgrades be allowed? how much?
what type of framework u r using in ur organization
Some time when i wanna learn the object i face issue like i am not able learn the object in proper manner... eg:for text bo on web page it should learn as webedit but some times it reads as winobject:internetexpoler-server, because of this i have to uninstall the qtp and re-install it again when i do this it reads the object perfectly.....plz suggest the soln
I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti
what you mean by artifact,milestone...
iam working in QTP for 2+ of exp if i attend the interview what r questions asked in perfomence testing{loadrunner} ? pls any one can say answer to this question?