Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Public Array
#1
Not Solved
Ok Here's my problem, I declared a public dynamtic array in Action1 and redim it to the size i wanted it later in the list, now I want to use that same array in action2, but how do I tap into the data from the array in another Action.

Code looks like this something like this

Public ABC(), EFG() ''Declared my Array public

''''''QTP Code finds out size ABC needs to be by how many total names are listed this week and what size EFG needs to be by how many new names are listed this week

REDIM ABC(a), EFG(b) '''Redefine the size so I dont have to waste space""

''''Code values to each place in array"


The problem is here!

I start writing a new script named Action2 and I've connected the two scripts together, but when I run the scripts I'm unable to get my results from my array's? Can any one help?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to use Array of Array in QTP dineshb 1 16,655 12-12-2009, 02:00 AM
Last Post: rdemers25
  Array function for Static Array anbarasu 2 3,883 11-20-2009, 12:18 PM
Last Post: anbarasu
  New Public Patch For QTP 10.00 - Do Not Filter Invisible Windows supputuri 0 2,084 07-16-2009, 05:36 PM
Last Post: supputuri

Forum Jump:


Users browsing this thread: 1 Guest(s)