Login
Remember
Register
Ask a Question
Explain how you can find length of array in QTP?
0
votes
asked
Apr 25, 2020
in
QuickTest Professional (QTP)
by
Robindeniel
Explain how you can find length of array in QTP?
#qtp-length-array
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Apr 25, 2020
by
SakshiSharma
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
...