+1 vote
in QuickTest Professional (QTP) by
Both Static and dynamic arrays are handled by VB script. Is it true?

1 Answer

0 votes
by
Yes. A static array is declared as Dim A(10). This means it’s an array of 11 items. If the tester needs to modify it to contain 20 items he can do so by using ‘redim'.

redim A(19). There is a “Preserve” statement that can be used in conjunction with the redim statement. When preserve is used all the previous values are not erased.
...