ritesh_chauhanContributor12 years agohow can we declare global variables?how can we declare and use global variables in TC?
sonali_suhaniOccasional Contributor12 years agoyou can use the keyword "public " infront of variable name at the top of the script and then you will be able to use the variables all into the script
Recent DiscussionsI'm not able to handle cookie pop up with test complete using java script,I'm using windows machine.Unable to install upgrade of TestComplete as previous installation not finished.If statement
Related ContentVariable declaration in a javascript classDeclare and initialize a global variableGlobal variable troubles (Calling Variables Declared in Another Unit) in javascript