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

▼ Show 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.
Learn More with Madanswer

Related questions

0 votes
asked Apr 2, 2020 in NGINX by rajeshsharma
0 votes
...