Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Parameter Types
#1
Solved: 11 Years, 4 Months, 4 Weeks ago Question 
Hi,

How many types of parameters are available in QTP?
Reply
#2
Solved: 11 Years, 4 Months, 4 Weeks ago
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
Reply
#3
Solved: 11 Years, 4 Months, 4 Weeks ago
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
Reply
#4
Solved: 11 Years, 4 Months, 4 Weeks ago
We can use Random number parameter type also in script.
Reply
#5
Solved: 11 Years, 4 Months, 4 Weeks ago
Can we pass Dictionary Object using input output parameters.
Reply
#6
Solved: 11 Years, 4 Months, 4 Weeks ago Wink 
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
Reply
#7
Solved: 11 Years, 4 Months, 4 Weeks ago
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Action Parameter passing problem Qtpuser1 1 2,871 04-18-2014, 06:23 AM
Last Post: kgovadav
  Description about Types of Ordinal Identifier abhijit.airforce 1 2,536 12-27-2013, 02:57 PM
Last Post: Ankesh
  Parameter bistritapcv 0 2,362 04-02-2013, 09:10 PM
Last Post: bistritapcv
  Parameter iteration bistritapcv 1 3,419 03-28-2013, 10:40 AM
Last Post: Sathiya
Question Add parameter to Data table during run time switoo 1 3,037 12-06-2012, 02:37 AM
Last Post: frebuffi

Forum Jump:


Users browsing this thread: 1 Guest(s)