CUIT is failing to identify controls inside the DocumentHost of RadDocking control

4 posts, 0 answers
  1. Rajesh Kumar
    Rajesh Kumar avatar
    4 posts
    Member since:
    Aug 2012

    Posted 21 Mar 2013 Link to this post

    Hi Team,

    We are using Telerik controls for designing the UI of our application and CUIT for testing the UI.

    In the UI design, we are hosting a control inside RadDocking.DocumentHost. The code looks as below:
     	<telerik:RadDocking.DocumentHost>
                 <uc:UserControl1 Name="UserControl" />
            </telerik:RadDocking.DocumentHost>
    
    We are trying to automate the above control(UserControl) and there we were facing issues with identification of the control(
    UserControl) placed inside the DocumentHost.This is a blocking issue.
    
    Could anyone help in providing a solution to go ahead with the automation of the control in the mentioned scenario?
    
    Thanks in advance,
    Rajesh.
    
    


  2. Georgi
    Admin
    Georgi avatar
    349 posts

    Posted 21 Mar 2013 Link to this post

    Hi Rajesh,

    Thank you for contacting us.

    I am afraid that placing UseControl directly in the DocumentHost is not a supported scenario for Automation.  Therefore we strongly recommend using the regular structure of the RadDocking as shown in this help article.

    Also if you need to customize the DocumentHost-> SplitContainer -> PaneGroup ->Pane scenario in  order to look like the one with DocumentHost -> UserControl we would be happy to assist.

    Greetings,
    Georgi
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Stéphane
    Stéphane avatar
    8 posts
    Member since:
    Dec 2012

    Posted 14 May 2013 Link to this post

    Hello, 
    I have exactly the same problem with Ranorex.

    Could you please give me an example how to :
    "customize the DocumentHost-> SplitContainer -> PaneGroup ->Pane scenario in  order to look like the one with DocumentHost -> UserControl"

    Thanks
    Stephane
  5. Georgi
    Admin
    Georgi avatar
    349 posts

    Posted 16 May 2013 Link to this post

    Hello Stéphane,

    Attached you can find  a simple project showing how the theme of the DocumentHost can be modified in order to look like a content control.
    If you have any questions, please don't hesitate to contact us.

    Regards,
    Georgi
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top