ritesh_chauhanContributor13 years agohow can we declare global variables?how can we declare and use global variables in TC?
sonali_suhaniOccasional Contributor13 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 DiscussionsHover Button...“TestComplete PKCE Handler – Failed to verify the login request”ADO Pipeline Execution Fail issue after TC\TE upgrade
Related ContentVariable declaration in a javascript classDeclare and initialize a global variableGlobal variable troubles (Calling Variables Declared in Another Unit) in javascript