Micro Focus QTP (UFT) Forums
Unable to overwrite my environment variable - 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: Unable to overwrite my environment variable (/Thread-Unable-to-overwrite-my-environment-variable)



Unable to overwrite my environment variable - Brian3 - 11-13-2008

Hi,

In my script Im capturing a dynamic value off the screen and storing it as an internal environment variable. I then use this variable further along in my script. The problem is that this variable seems to be stored permanently as just 1 value and doesnt get overwritten each new run. My script looks like the following -

Code:
Browser("...").Page("...").Frame("...").WebElement("...").Output CheckPoint("...")
floating_variable = Environment.Value("whatever")
msgbox floating_variable

Does anyone know how / if this environment variable can be over written each time with a new value? I dont wish to use the datatable as space is an issue.

Regards,
Brian