Question - Explain how you can find length of array in QTP?
Answer -
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