C1.Win.TreeView.C1TreeView be automated with TestStack.white?

Posted by: herje.wikegard on 6 August 2019, 11:20 am EST

  • Posted 6 August 2019, 11:20 am EST

    Can C1.Win.TreeView.C1TreeView be automated with TestStack.white and nunit framework and if so, how do I connect? I have experimented with the "Tree" control type in TestStack.white, but no luck to connect them.

    I'm using VS2019 and C#.Net 4.7.1 for both the target app and the CAST test solution.
  • Replied 6 August 2019, 3:22 pm EST

    Hello,

    ComponentOne WinForms Studio controls partially support Automation.

    You can check this with the help of a tool like inspect.exe. https://docs.microsoft.com/en-us/windows/desktop/WinAuto/inspect-objects or http://www.codeplex.com/UIAutomationVerify

    Also, we can perform this check for you, if you can share with us the list of all ComponentOne controls you're interested in and we'll check if they support automation.

    Regards,
    Ruchir
  • Replied 7 August 2019, 3:19 am EST

    I did share the the specific control. It is C1.Win.TreeView.C1TreeView for WinForms
  • Replied 19 August 2019, 4:04 pm EST

    Hi,

    What I meant to ask for was any other ComponentOne control that you wanted to automate (using TestStack.White) apart from C1TreeView!

    Anyways, the team is performing the check for C1TreeView now [ID: 371612].
    I'll update you once there is some information on the same.

    Regards,
    Ruchir
  • Marked as Answer

    Replied 29 August 2019, 9:24 pm EST

    Hello,

    I am happy to inform you that in our latest 2019v2 release, the developers have enhanced the product to support UI Automation.
    So, you're requested to verify and the same is working for you now or not.

    Thanks,
    Ruchir
  • Replied 24 October 2019, 8:35 am EST

    Hi, I'm back trying this again and I have the C1 2019v2 release installed.
    Can you please provide an example of how to use TestStack.White with the C1.Win.TreeView.C1TreeView control. I cannot get it to work.
  • Replied 24 October 2019, 8:31 pm EST

    Hello,

    Could you please share the code snippet trying to use and is not working? Perhaps, please share a stripped-down application that the developers can look into and resolve the problem for you at the earliest.

    Thanks,
    Ruchir
Need extra support?

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

Learn More

Forum Channels