Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Global Array re dimension inside an action
#1
Solved: 10 Years, 9 Months, 2 Weeks ago
Hi,
I'm trying to re-dimension a global array declared in a library file associated to my test. I'm using the ReDim sentence inside an action but I get "Illegal assignment" error.
This is what I have:

in a library file (library.qlf):

Code:
Dim dinamicArray()  'define a global dinamic array

in an action of a qtp test case:
Code:
...
ReDim dinamicArray(2)
....

I link the library file to the test and the global array is recognized in the action but I get "Illegal assignment" error at run time.

Would appreciate any kind of help
Martin
Reply


Messages In This Thread
Global Array re dimension inside an action - by martinbedouret - 09-24-2009, 06:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Read Content inside PDF kotaramamohana 0 1,105 09-02-2020, 05:49 PM
Last Post: kotaramamohana
  Fetching total number of records inside a webtable vidya2k2 2 3,665 06-15-2015, 02:55 PM
Last Post: venkatesh9032
  How to get a specific image inside a webtable grave711 7 8,525 05-29-2012, 10:44 AM
Last Post: grave711
  Global Dictionary digikiwam 1 3,504 04-12-2012, 02:50 PM
Last Post: rajsunder_r
  QTP cannot recognize a web form inside SAP QTP_Gaspar 2 4,199 01-13-2012, 12:19 AM
Last Post: QTP_Gaspar

Forum Jump:


Users browsing this thread: 1 Guest(s)