How to pass parameters into an action.Please explain me
with examples
Answer Posted / pk
First you have to declare the Input/Output Parameters in the
Action Properties (Right click action icon and select). Then
you can access these parameters through the Parameter object.
Say you have declared two Input parameters
a (as number, value= 25) and
b ( as number, value = 30)
Then you can access these Action input parameter with in the
action using
c = parameter("a")+parameter("b")
msgbox c (should display 55)
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?
When to use shared and local object repository?
What is an expert view and keyword view?
What are the views available in quicktest professional?
how can i pass a "cript"as a parameter in to a function
explain structured testing? plz guys with exp. do answer
what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?
Is the qtp course will help to create a virtual object?
i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework
hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.
Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance
I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.
what is stepin & stepout?
Can anybody let me know how to test the Drag and drop feature of the column in a .net application...eg..i hav to test the drag and drog feature of a table(swftable) in a application..plze help!!
What are the types of object repositories? Which one is you using?