Micro Focus QTP (UFT) Forums
Want to use a global variable in diff actions - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Want to use a global variable in diff actions (/Thread-Want-to-use-a-global-variable-in-diff-actions)



Want to use a global variable in diff actions - ashuniks - 01-02-2009

hi Ankur
I want to use a variable in more then one actions , how could i do this
thanks in advance
Ashish


RE: Want to use a global variable in diff actions - nageshpv - 01-02-2009

Just declare the variable as Public, which can be accessed from all resource files.
Eg. Public TOTAL_ROWS


RE: Want to use a global variable in diff actions - Ankur - 01-02-2009

There can be many options like environment variables, global variable from an external file