Contributions
- 1.2KViews0likes0Comments
Check whether Window is Minimised
Hello, I need to check whether a deactivated Window is minimised. The window is minimised and deactivated until the called process is finished, but I need to check whether the main Windows is correctly minimised during this time. Unfortunately the usual things do not work as the Window is also deactivated using "WaitForSingleObject" so most keyword functions even a IfObject with visible just lead to an error. I'd thought about using Win32API.GetWindowPlacement but I have no clue how to use it. Has someone any idea?Solved1.2KViews0likes3CommentsIs it possible to wait for a button by default?
Hello, i recently changed to Testcomplete14 (from TC12) which seems to be a bit faster than before. I now get several errors during different testruns complaining about "The button 'Name' is [invisible/deactived/etc.]. The action cannot be executed." The Problem is the control is activated shortly afterwards and it would take hours if not days to set a WaitProperty before every possible control where this can happen. So my question is: Is it possible to let TC wait for a control to get activated by default for a few seconds before throwing an error? I cannot imagine a scenario where it is necessary not to wait for a control to get activated.Solved1.5KViews0likes4CommentsNavigation on TcxPageControl
Hallo, I am using Testcomplete to test a Delphi 2007 application with DevExpress components. The Component I have currently some trouble with is the TcxPageControl. The main Problem is the Navigation on it. Using Mouse Clicks is possible, however the Clicks are using Coordinates on the PageControl to target a TabSheet which doesn't work well since every KeywordTest would need an adjustment if the order, width or number of TabSheets is changed. Fortunately there is a Property "ActivePage [Set]" which can be used to directly summon a TabSheet if it already exists for Testcomplete. This works fine on Testcomplete 12 however on the most recent Testcomplete 14 version the time necessary to change a TabSheet using the ActivePage property increases with the number of controls on the Form. This means every TabSheet change would need about 10-20 seconds during the test run with effectively prevents any reasonable runtime. Is there a better way known to navigate on a TcxPageControl?Solved1.6KViews0likes2Comments