Micro Focus QTP (UFT) Forums
Array as User-Defined Environment Variables - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Array as User-Defined Environment Variables (/Thread-Array-as-User-Defined-Environment-Variables)



Array as User-Defined Environment Variables - Arena - 04-14-2012

Hi,

Is it possible to have an array as an external User-Defined Environment Variable ?

I want to pass an array form one action to an external one.

Is this possible?


Thanks!
Arena


RE: Array as User-Defined Environment Variables - vIns - 04-14-2012

I have assigned arrays and objects to env variables. it will work.
But i used user-defined internal env variables.
external user-defined env variables are read-only. so i am not sure how we can assign an array in an external file.
plz do share how u do..


RE: Array as User-Defined Environment Variables - Arena - 04-15-2012

If I use an internal env variable to store my array, will I be able to use that array in another action?
Do I have to Call an Existing Action to be able to use it?
I treally want to avoid doing that.




RE: Array as User-Defined Environment Variables - sshukla12 - 04-16-2012

I think u can use Dictionary object to use data between different actions.

Regards,
Sankalp