Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding array to another Global array in VB Script
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
Code:
iRowIndex = 0
Redim arAllData(iRowIndex)
While Browser("test").Page("page").Link("Next").Exist(1)         

arr= FuncGetData() 'Getdata in page to the array

For i = 0 to ubound(arr)
  Redim Preserve arAllData(iRowIndex)
  arAllData(iRowIndex) = arr(i)
  iRowIndex = iRowIndex + 1    
Next
Browser("test").Page("page").Link("Next").Click

Wend
Reply


Messages In This Thread
RE: Adding array to another Global array in VB Script - by parminderdhiman84 - 12-02-2012, 12:40 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  String Array Declaration Bhuvana 0 1,008 01-07-2020, 12:59 PM
Last Post: Bhuvana
  Reading Global Sheet's DataTable Value Bhuvana 0 1,634 01-05-2020, 10:03 PM
Last Post: Bhuvana
  Error as Global Not defined while trying to retrieve value from Datatable siddharth1609 0 958 09-11-2019, 02:52 PM
Last Post: siddharth1609
  How To Capture Array Value into Excel Worksheet? Studymode 0 1,418 01-09-2018, 08:37 AM
Last Post: Studymode
  Pages and Frames adding _1, _2, _3... zunebuggy 1 1,660 05-30-2017, 12:17 AM
Last Post: Vichu M J

Forum Jump:


Users browsing this thread: 1 Guest(s)