gopalmaluContributor15 years agoHow to declare Global variable in TestCompleteHI, We want to use global variable which can be accessible throughtout the function (test). How can we do this in testcomplete? Thanks, Gopal Show More
Dmitry_NikolaevStaff15 years agoHi Gopal,You can use project and project suite variables.Also, you can declare a variable in the script unit outside all functions - in this case, the variable will have a global scope.
Recent DiscussionsTestComplete 15.77 is broken - dont upgradeDownload an Earlier Version of TestCompleteSolvedAzure Pipeline InstallTestCompleteAdapter Not Working Properly with Windows Server 2025
Related ContentVariable declaration in a javascript classEnvironment variable in persistent variables declarationUnit level variable declaration