How to use associative arrays in TestComplete
Test and Monitor | Posted January 15, 2007

Artem recently described how to use dictionary arrays, aka associative arrays, with the Microsoft runtime library. Here's another way to create hash based associative arrays that uses native JScript/JavaScript that will also work when scripting web pages.

The method Artem used should be faster if you're doing a lot of work with these arrays, but this method may be easier to remember if you're scripting both tests and web pages.

Here's example code that demonstrates how to use associative arrays in TestComplete:

Close

By submitting this form, you agree to our
Terms of Use and Privacy Policy

Thanks for Subscribing

Keep an eye on your inbox for more great content.

Continue Reading

Add a little SmartBear to your life

Stay on top of your Software game with the latest developer tips, best practices and news, delivered straight to your inbox