ContributionsMost RecentMost LikesSolutionsRe: "OleObject" does not exist, TestComplete 12.2 Recently faced the Sys.OleObject("Excel.Application") issue, the call is randomly returning object contains nothing and test fails. Below approach is a workaround. if(Sys.WaitProcess("Excel", 10000).Exists){ Sys.Process("Excel").Window("XLMAIN").Activate(); Delay(1000); //activate any of your application here to loose focus from Excel Sys.Process("MyApp").Window("WNDClassName").Activate(); Delay(1000); var XL = Sys.OleObject("Excel.Application"); } Re: How to overcome count limitation of Persistent Variables Thank you for suggestions, I would consider it for long run. We are also using Find functions to certain extend to identify controls, but realizing it is having very minimal scope in our automation. Should expand Find function approach as you said rather than persistent variables. I was experiencing this variable removal strange behavior at my machine almost for a week. Somehow it got resolved just now , I am not sure what action got fixed the problem. Added few more variables to Temporary section and Saved all files, then deleted these temporary variables, Saved all files. Added a persistent variable on right clicking the last Empty Row in Persistent variable section and saved files. Variables were sorted in the order of Name column and I was right clicking in any row earlier to add new item. Once I picked the last row for right clicking, it started working; now I can able to add new variables from any row without loosing existing ones. Re: How to overcome count limitation of Persistent Variables Thank You There are so many screens in our application under test has controls with dynamic identification properties, more over there are multiple instances of same control will be present on same screen. Direct name mapping of each control is tedious here, instead name map one of the control from a group of similar controls and use the project level variables to identify varying properties to distinguish which GUI control to access by run time decision. Added more persistent variables to distinguish each control type and screen. I am also adding new variable just by right clicking and picking the New Item menu. However I am loosing existing variables when I add new one. (My project had 33 Project level temporary variables in use) How to overcome count limitation of Persistent Variables We are using TestComplete version 12.31 Our automation suite contains 58 Testcomplete Persistent Variables, mostly String type with Local Value assigned. It is found further addition to this list automatically removes previously added variables. Is there a way to add more variables to Persistent group without loosing existing ones?