Tricentis Tosca 16.0 Released on Feb-2023 ----- UFT has been upgraded from UFT 15.0.1 to UFT One 15.0.2, Beginning at November 2020.

Wednesday, 24 May 2017

How to create an array of dictionary in UFT?

Dim ArrayofDictionary(2)
First element of array

Set ArrayofDictionary(0)= createobject("scripting.dictionary")
ArrayofDictionary(0).Add "key1""temp1"
ArrayofDictionary(0).Add "key2""temp2"
Added keys in first dictionary

Second element of array as dictionary
Set ArrayofDictionary(1)= createobject("scripting.dictionary")
ArrayofDictionary(1).Add "key1""temp1"
ArrayofDictionary(1).Add "key2""temp2"
Added keys in second dictionary…..and so on
x