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 DiscussionsAccess a child in a tree Structure through Keyword StrokesTurn off all Edge messageboxesHow to verify data from another application, the data which keeps changingAudit and Reporting purposesTextbox values disappear after adding Year value from Date Picker