*Hi,
Dictionary* object
Dim d ' Create a variable. Set d = CreateObject("*Scripting.Dictionary*")
d.Add "a", "Athens" ' Add some keys and items.
d.Add "b", "Belgrade"
d.Add "c", "Cairo"
...
In QTP you may need to use
*Environment (**VariableName**) = **NewValue*
It will be transferable across the test's scripts and actions.
Roman
On Tue, Jun 30, 2009 at 7:41 AM, Kshitij <[email protected]> wrote:
>
> Hi,
>
> Any idea if we can define Hashtable in QTP? Or any collection where in
> I can add key-value pair?
>
> Thanks in advance.
>
> Kshitij Rajhans
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
-~----------~----~----~----~------~----~------~--~---