Categories

Jan 16 in QuickTest Professional (QTP)

Q: Both Static and dynamic arrays are handled by VB script. Is it true?

1 Answer

Jan 16
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.
Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

Madanswer
Apr 2 in NGINX
May 30 in JAVA
Aug 22, 2019 in Selenium
...