Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to find Array Length in QTP?
#4
Solved: 10 Years, 9 Months, 1 Week ago
You store all the variables in temp variabl
var1=Len(MyArray(0))
var2=Len(MyArray(1))
var3=Len(MyArray(2))
var4=Len(MyArray(3))
var5=Len(MyArray(4))
var6=Len(MyArray(5))

TotalVar=var1+var2+var3+var4+var5+var6
TotalArraySize = TotalVar

This is the pretty easier basic code to get the array value
Reply


Messages In This Thread
How to find Array Length in QTP? - by bhanu_bp7 - 07-22-2008, 02:28 PM
RE: How to find Array Length in QTP? - by stevol - 07-22-2008, 02:54 PM
RE: How to find Array Length in QTP? - by koshlu - 07-23-2008, 01:47 AM
RE: How to find Array Length in QTP? - by blavanya - 07-25-2008, 10:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP/UFT - Storing Multiple Arrays In An Array Eitel13 0 1,653 07-17-2018, 04:37 PM
Last Post: Eitel13
  Unable to use array in QTP amit25007 2 3,171 01-25-2016, 05:10 PM
Last Post: amit25007
  QTP:How to find an email with a subject line in MS outlook and then click on an link royrover 3 19,868 08-19-2010, 11:00 AM
Last Post: Arun Prakash
  Copying random length part of the string. unbeliever 5 4,502 01-07-2010, 02:55 PM
Last Post: unbeliever
  How to use Array of Array in QTP dineshb 1 16,404 12-12-2009, 02:00 AM
Last Post: rdemers25

Forum Jump:


Users browsing this thread: 1 Guest(s)