Contributions
Re: "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"); }1.1KViews0likes1CommentRe: 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 havingvery minimal scope in our automation. Should expandFind function approachas you saidrather than persistent variables. I was experiencing this variable removal strange behaviorat my machine almost for a week. Somehow it got resolved just now , Iam not surewhat actiongot 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.Variableswere sorted in the order of Name column and I was right clicking in any row earlierto add new item. Once I picked the last row for right clicking, itstarted working; nowI can able to add new variables from any row without loosing existing ones.3KViews0likes4CommentsRe: 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 controlsand 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 loosingexisting variables when I add new one. (My project had 33 Project leveltemporary variables in use)3KViews0likes6CommentsHow 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 isfound 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?3KViews0likes8Comments