Micro Focus QTP (UFT) Forums

Full Version: Parameter Types
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

How many types of parameters are available in QTP?
Hi Ankur,

As far as I know there are 5 types of parameter in QTP.

They are as follows:

1. Test Parameter (Input/Output)

2. Action Parameter (Input/Output)

3. Data Table Parameter

4. Environment Variable (It can be used as a Global Parameter in a test)

5. Dictionary Object

The last two are not exactly Parameter but can be used as/thought of Parameter

Any modification/rectification/updation to this post would be appreciated
Hi Prabhat,

Thanks for reply !!
Actually I have used Action Parameter, Data Table Parameter,Test Parameter many times. I use Environment variable for Global data.

May you please explain Dictionary object?

I read at some place that QTP provides three types of Parameters like:
a) Method Argument
b) Data Driven
c) Dynamic

If I reate them, 'Data Driven' is equivalent to 'Data Table Parameter'.
but what about Method argument & dynamic?
Sad
We can use Random number parameter type also in script.
Can we pass Dictionary Object using input output parameters.
Hi TurtleRock,

You may get detail information about dictionary object on:

https://www.learnqtp.com/dictionary-object-qtp-use/

http://abouttesting.blogspot.com/2008/01...ecord.html

Smile
Thanks for the reply,

I have already created one Dictionary object, I just want to pass it to another action using input parameter so that that action can use the items stored in it.

Using input output parameter we can pass strings, dates, boolean...etc data types to a particular action, I want to know is there any way to pass Object to action using input output parameter.

Regards
TurtleRock