In this article we are about to see the efficiency of a dictionary when checking or retrieving values from a web-table, For this purpose we have the following table in our AUT.
This is the script that will parse the table and will upload the dictionary.
After running the script above, the solarExch dictionary loaded with 14 keys
Watching Dictionary.Keys array…
Each item is an object ( another Dictionary ) that represents a row in the table. Each row has 6 items. each item, is a key.
Watching the solarExch values for symbol “TSL”
And at last, if we want to check a specific value, we don’t have to remember the indexes, or write them.
we just retrieve the value from the embedded dictionary object



Recent Comments