Forum Discussion

audai's avatar
audai
Occasional Contributor
12 years ago

WinFormsObject(FilterControl)

Hi,



I want to get the objects in FilterControl to use it to set the filter using GUI, but I can't map to the control items used in the filter such as the combo box to select the column or to select the expression.



Please, any one can help me???



Thanks in advance.

3 Replies

  • HKosova's avatar
    HKosova
    SmartBear Alumni (Retired)
    Hi,



    I guess, you mean DevExpress WinForms FilterControl, right?



    TestComplete can identify individual items inside FilterControl if you turn on MSAA identification for this control:

    * Go to Tools > Current Project Properties > Open Applications > MSAA.

    * Add the WindowsForms*.Window* item to the list and select the check box next to it.

    * Select the Open Applications > General category.

    * Move the NativeClrObject item above the NativeMSAA item.

    * Save the project.



    Let me know how it works for you.
  • HKosova's avatar
    HKosova
    SmartBear Alumni (Retired)
    Hi,



    Could you please give the following information to help us troubleshoot the issue?

    * Your TestComplete version, as in Help > About.

    * A screenshot of FilterControl in your application, marking the control items that you want to identify.

    * A screenshot of FilterControl in the Object Browser.

    * The WndClass and ClrFullClassName property values of the FilterControl object.

    * A sample recorded test that interacts with the needed items inside FilterControl.