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

1 Answer

0 votes
Jan 16, 2020
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.

Related questions

+1 vote
Sep 12, 2020 in QuickTest Professional (QTP)
  • #qtp
0 votes
Apr 2, 2020 in NGINX
+1 vote
Jun 23, 2019 in Testing