nikhil,

can you tell more how much memory are you allocating to this 2D Array
i.e Row_Col_Value(i,j)

Also why are not saving each row data in a seperate array and then
save these arrays in another array which somehow will make you play
with single arrays only.
dim mainarr()
dim rowarr()

redim mainarr(rowcount)
for r = 0 to rowcount -1
  redim rowarr(columncount(r+1))
  for c = 0 to columncount(r+1)
     rowarr(c) = Browser("").Page("").WebTable("").GetCellData(r,c)
  next
  mainarr(r) = rowarr
  erase(rowarr)
next

just  a thought nothing else....

hope it helps ...

cheers..

On Jul 8, 12:46 pm, nikhil <[email protected]> wrote:
>     For i=1 to rwcount
>                 For j=1 to colcount
>                         msgbox "i , j" & "=" & i & j
>             'Storing each value in an array
>
> Row_Col_Value(i,j)=Browser("").Page("").WebTable("").GetCellData(i,j)
>                         msgbox Row_Col_Value(i,j)
>               Next
>             Next
>
> why doesnt this work??
>
> I want to store each row values in 2 dimesnsional array.;

-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

Reply via email to