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

▼ Show 1 Answer

0 votes
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
Learn More with Madanswer

Related questions

0 votes
asked Apr 25, 2020 in QuickTest Professional (QTP) by Robindeniel