Forum Discussion
kerr
15 years agoOccasional Contributor
I have the same problem, but at a bigger scale.
My whole main window became invisible to TestComplete (it used to be ok before). When I look at it in Display Object Properties Window, the "VisibleOnScreen" property is true, but when I run any script involving any objects from the main window, this property is false for all of them including the main window itself. Somewhere on this forum there is an advice to activate the parent object first (before calling an object that has invisibility problem), but the parent of the main window is the application's process, and a process doesn't have "Activate" method. I tried Sys.Refresh() too, didn't help.
I use TC 7.52 (JScript), Windows7x32 (I tried to switch Aero off, didn't help), the application is developed in Visual Studio 2010 (C++) and has a COM component.
My whole main window became invisible to TestComplete (it used to be ok before). When I look at it in Display Object Properties Window, the "VisibleOnScreen" property is true, but when I run any script involving any objects from the main window, this property is false for all of them including the main window itself. Somewhere on this forum there is an advice to activate the parent object first (before calling an object that has invisibility problem), but the parent of the main window is the application's process, and a process doesn't have "Activate" method. I tried Sys.Refresh() too, didn't help.
I use TC 7.52 (JScript), Windows7x32 (I tried to switch Aero off, didn't help), the application is developed in Visual Studio 2010 (C++) and has a COM component.