How to share var across more units in the same project
Hmmm a very silly doubt to post here but cant help it..... i'm stuck
I'm not able to share variables /use variables across units in the same project how do i do it???
thanks & Regards,
Re: How to share var across more units in the same project
That depends from the language you are writing your scripts on. For example, with VBScript you can declare the variable as the public one (i.e. Public myVar) and access it from other units.
Another approach is to use TestComplete LocalVars object to create a shared variables that can have personalized values for each tester - extremely useful functionality, I should say. Please see "Local Variables Panel" help topic for more details.