kaiiiiRegular Contributor6 years agoCall a Global Variable from another Unit in Vb Script How to call a Global Variable declared in another Unit in VB script. I used these link for help: 1) https://support.smartbear.com/testcomplete/docs/scripting/calling-routines/declared-in-...Show More
baxatobCommunity Hero6 years agoSay, you have Unit1 and Unit2 Let declare a variable A in Unit1: [Unit1] A = 1 Now to call A from Unit2: [Unit2] 'USEUNIT Unit1 Function Test() Log.Message(Unit1.A) End Function
Related ContentGlobal variable trouble!Global variable troubles (Calling Variables Declared in Another Unit) in javascriptClickItem select another OptionGlobal input file and variablesGlobal variables for whole execution plan
Recent DiscussionsDynamic ObjectPulling in Dynamic Links from a web pageMultiple execution of a test plan with different values from an Excel tableYour thoughts about a REST API in TestCompleteKeyword Test - Click - use -1, -1 by default?