Contributions
Working with DataGridView Freezes TestComplete when Grid is Populated
We have DataGridView objects within tabs (TabControl ClrClassName) of a WinFormsObject. These Grids are dynamically populated based on actions on other tabs. When the Grids have a small number of Children (eg. < 2), no issues. However, TestComplete freezes when working with larger Grids (eg. > 2 rows). If I manually refresh the Form/tabs, Grid(s) will return to their initial, unpopulated state (fails test of course), but TestComplete unfreezes. Any thoughts? * Windows 10 * TestComplete 14.93.312.7168Views0likes0CommentsUIAObject (Microsoft UI Automation) not recognized by TestComplete 14.93
This occurs on a VMware VM. Other VMs and PCs recognize these "standard" Windows 10 objects fine. I've double-checked the normal items such as plugin installed & active, the Open Applications > UI Automation settings, as well as a TestComplete "repair" install & full uninstall/re-install. No luck. * Windows 10 Enterprise * Version 20H2 * OS 19042.804 * Experience Windows Feature Experience Pack 120.2212.5510 And for kicks, the objects not recognized are menu items and panels such as those available via Windows Start, as well as Windows such as Settings. So what I would classify as standard Windows. Our application does have some UIAObject panels and those are recognized! TIA252Views0likes1CommentRe: Process & Popup Window not recognized
Thanks Chris, good idea. I tried the first suggestion but same result, as in TC does not recognize the process, nothing returned. For the second suggestion, I loaded from the GAC, but what is available to the dotNET object is the same, with or without the Process addition to the CLR Bridge. In other words, thedotNET.System_Diagnostics.Process is not available (dotNET.System_Diagnostics does have some available, but not .Process). Seems like TC is not recognizing the CLR change even though I tried install/uninstall/reload numerous times. Dunno.817Views0likes0CommentsProcess & Popup Window not recognized
Hello, I am a long time user & very familiar with TC up to version 14.93 and this is a first. During an uninstall process from Add/Remove programs, a custom .NET confirmation window is displayed (install of the app is done through an .msi). The popup window is in fact, an executable operating on its own thread. Neither the window, nor it's process are recognized by Object Spy or Object Browser. I also tried a Record session but that resulted in a one liner method "pass." Strange indeed. All filters in the OB are appropriately set to view all processes. All extensions are installed. I could see how a technology might not be supported and the window would not be "visible" to TC, but I'd think all user processes would at least display in the OB. Any ideas on how to click through a series of two popup windows that TC has no clue about? (Update) the install/uninstall was built with Windows WIX I'm told. TIA934Views0likes8CommentsHow to get the font color of a JTree item using Javascript
Hello, I am able to get the individual items in a JTree, but only the Text method (and a few others). It appears however, there are no properties/methods to get the font color, and there are no native methods to access either. Do you know how I could do this? Thx.Solved973Views0likes4CommentsRe: JTableHeader - Control does not contain JTable properties
Thanks Marsha. Yes, familiar with that info. The problem is JTableHeader does not behave like a JTable, but seems it should. I'm also wondering how to handle objects that are returned from native calls as that strategy may provide a solution. However, in my experience, the only time native calls actually "work" are when primitives (strings/ints/bools) are used as method parameters and/or return values. When an object is returned from a native call (such as a Java call), I am unsure of how that Java object can then be used within TestComplete. Thx.541Views0likes1CommentJTableHeader - Control does not contain JTable properties
Hello, By default JTableHeader is a correctly configured control in TestComplete that falls under a Table in Object Mapping Swing controls. So I expected similar properties as a JTable to be available. However, in our application, when accessing the JTableHeader, JTable properties such as wColumn, wColumnCount are not available. I did find a native method (getTable()) that returns a JTable object, but then what do I do with that in order to use TestComplete API on that object? Please advise of the best path forward. Thanks.557Views0likes3Comments