0 votes
in QuickTest Professional (QTP) by
Explain how you can find length of array in QTP?

1 Answer

0 votes
by
The code to find the length of array in QTP is

print (ubound(arr)+1)

Ubound returns the last index in array- so length of array will be +1. This will be total number of elements in array

Related questions

+1 vote
asked Jan 14, 2020 in QuickTest Professional (QTP) by GeorgeBell
+1 vote
asked Sep 12, 2020 in QuickTest Professional (QTP) by JackTerrance
...