UI Automation Support for C1 controls

Posted by: kfrajtak on 5 January 2019, 8:47 am EST

    • Post Options:
    • Link

    Posted 5 January 2019, 8:47 am EST

    Hi,

    I am trying to automate application I’m working on. The application is built using C1 controls. I have noticed this in the VisualUIAVerifyNative tool which visualizes the component tree.

    For example our control that is derived from the C1Combo control (I admit we are using quite old version of C1 controls 2015.2) the visualizer is not showing the items.

    What I see is a pane with 2 children - button and edit - even for a non-virtualized and non-editable combo box.

    My question is whether this is a correct behavior or a bug that was fixed in later releases.

    Thank you,

    Karel Frajtak

  • Posted 6 January 2019, 6:19 am EST

    From all the automation patterns only ValuePattern is available. I was expecting SelectionItemPattern to be available for the item selection.

  • Posted 7 January 2019, 7:38 am EST

    Hello Karel,

    Please refer following two pages that might help you automating tasks using ComponentOne controls:

    https://www.grapecity.com/en/blogs/componentone-and-codedui-tips-and-tricks-part-ii/

    https://www.grapecity.com/en/blogs/automating-c1-controls-using-coded-ui-tool/

    In addition to this, please share the script which you are using so that I can try replicating it at my end.

    Thanks,

    Ruchir

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels