Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
How to find array size in QTP?
Home
QuickTest Professional (QTP)
How to find array size in QTP?
0
votes
asked
Apr 25, 2020
in
QuickTest Professional (QTP)
by
Robindeniel
How to find array size in QTP?
#qtp-array-size
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Apr 25, 2020
by
SakshiSharma
Size of an array in QTP will be found by using the following code Print (ubound(arr)+1)
Ubound returns the last index in array- so size of array will be +1
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
0
votes
Q: Explain how you can find length of array in QTP?
asked
Apr 25, 2020
in
QuickTest Professional (QTP)
by
Robindeniel
#qtp-length-array
+1
vote
Q: How to find Operating system information using the QTP script?
asked
Jan 14, 2020
in
QuickTest Professional (QTP)
by
GeorgeBell
0
votes
Q: Explain how you can find the absolute value of the number in QTP?
asked
Apr 25, 2020
in
QuickTest Professional (QTP)
by
Robindeniel
#qtp-absolute-value
0
votes
Q: How to define array in QTP?
asked
Apr 25, 2020
in
QuickTest Professional (QTP)
by
Robindeniel
#qtp-array
0
votes
Q: In QTP how you can use Xpath to identify objects?
asked
Apr 25, 2020
in
QuickTest Professional (QTP)
by
Robindeniel
#qtp-xpath
0
votes
Q: How you can write contexts to text file in QTP?
asked
Apr 25, 2020
in
QuickTest Professional (QTP)
by
Robindeniel
#qtp-text-file
0
votes
Q: How to add synchronisation points in QTP?
asked
Apr 16, 2020
in
QuickTest Professional (QTP)
by
Robindeniel
#qtp-synchronisation
+1
vote
Q: Explain how to read registry key in UFT in QTP?
asked
Apr 13, 2020
in
QuickTest Professional (QTP)
by
rajeshsharma
#qtp-uft
0
votes
Q: How would you export a Script from one PC to another in QTP?
asked
Apr 13, 2020
in
QuickTest Professional (QTP)
by
rajeshsharma
#qtp-script
0
votes
Q: How to make QTP understand the difference amongst the same type of objects .Suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?
asked
Apr 13, 2020
in
QuickTest Professional (QTP)
by
amita rallin
#qtp-differences
#qtp-script
...