Forum Discussion

Coder7524's avatar
Coder7524
Occasional Contributor
9 years ago
Solved

Overlapping window

In the Delphi program is a component of RxDBComboBox1 pressing it runs smoothly, but the choice of the pop-up list and point out of it does not occur. (file list2) TestKomplete writes: "Overlapping w...
  • AlexKaras's avatar
    AlexKaras
    9 years ago

    Hi,

     

    Basically, the 'Overlapping window' message means that your test code tries to perform some UI-related action (clicking, dragging, typing) against the UI object that is overlapped at the moment with some other UI object. In order to get rid of this problem, you must move away or close the overlapping object before performing the needed action.

    Regarding your specific problem: a lot of controls that drop down something (list, calendar window, etc.), implement those dropping down elements as a separate window that (in terms of Windows' window hierarchy and, subsequently, TestComplete's tested objects tree) is not related to the parent window that opened it.

    You may try either record selection from the Rx drop-down or calendar and check the recorded code. Or you may use the Object Browser in the Point-and-click mode (the button with the arrow), open drop-down or calendar, hover mouse over the parent window (the one with the down arrow) and the child one (the one with the list or the calendar itself) and check if the same or different windows are identified.

    I bet that the windows will be different. In this case you must either adopt your code to operate against those child windows or try to register Rx controls as a custom controls (http://support.smartbear.com/viewarticle/55321/ and http://support.smartbear.com/viewarticle/61593/) and check if it helps.

     

    BTW, it might help if you provide us with the code that fails.