CUIT identification is not working for RadBusyIndicator

6 posts, 1 answers
  1. Rajendar
    Rajendar avatar
    69 posts
    Member since:
    Jun 2013

    Posted 23 Jul 2013 Link to this post

    Hi All,

    We have created a sample application with 2013_Q2  Telerik version. Sample application code is as shown below,

    ======================Source Code=========================
    <UserControl x:Class="WpfControlLibrary1.UserControl1"
                 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
                 xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
                 xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                 mc:Ignorable="d">
        <Grid>
            <Grid>
                <telerik:RadBusyIndicator IsBusy="{Binding IsBusy}" Grid.Row="0" AutomationProperties.Name="Testing45" >
                    <StackPanel Orientation="Horizontal">
                        <TextBox Text="Hello" Name="Textbox12" Margin="10"/>
                        <Button Name="btn_Sandeep" Content="Display" Margin="10" />
                        <Label Name="lbl_lable" Content="Name" Margin="10"/>

                    </StackPanel>
                </telerik:RadBusyIndicator>
            </Grid>
        </Grid>
    </UserControl>
    ======================================================

    Here coded we are crated test with CodedUITest. Playback is not working for none of the controls which are defined inside RadBusyIndicatior.

    We are struck with this problem, please help us.

    Regards,
    Rajendar
  2. Georgi
    Admin
    Georgi avatar
    350 posts

    Posted 24 Jul 2013 Link to this post

    Hello Rajendar,

    We have tried to reproduce the issue, but with no luck. I am attaching my test project and a video showing how it behaves on my machine. I have recorded methods for clicking and asserts on the elements text, but it seems to work at my end.
    So it would be great if you can check it out and let us know if I am not missing something.
    Also does the issue appears on a machine with .Net 4.5 installed, or it can be reproduced on all machines no matter of the .Net installed?

    Regards,
    Georgi
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Rajendar
    Rajendar avatar
    69 posts
    Member since:
    Jun 2013

    Posted 26 Jul 2013 Link to this post

    Hi Georgi,

    Thanks for quick response. 

    Please check with following application
    *************************************************  UserControlWithRadBusyControl  ****************************************

    <UserControl x:Class="WpfControlLibrary1.UserControl1"
                 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
                 xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
                 xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                 mc:Ignorable="d">
        <Grid>
            <Grid>
                <telerik:RadBusyIndicator IsBusy="{Binding IsBusy}" Grid.Row="0" AutomationProperties.Name="Testing45" >
                    <StackPanel Orientation="Horizontal">
                        <TextBox Name="Textbox12" Margin="10" Width="100"/>
                        <Button Name="btn_Sandeep" Content="Display" Margin="10" />
                        <Label Name="lbl_lable" Content="Name" Margin="10"/>
                    </StackPanel>
                </telerik:RadBusyIndicator>
            </Grid>
        </Grid>
    </UserControl>


    ***************************************** MainForm *****************************************

    <Window x:Class="UserControlMain.MainWindow"
            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"   
            xmlns:m="clr-namespace:UesrWithBorder;assembly=UesrWithBorder"
            xmlns:y="clr-namespace:WpfControlLibrary1;assembly=WpfControlLibrary1"       
            Title="MainWindow" Height="350" Width="525">
        <Grid>
            <TabControl HorizontalAlignment="Left" VerticalAlignment="Top">
                <TabItem Header="RadBusyControl" Height="Auto" Width="Auto">
                    <Grid>
                        <y:UserControl1 x:Name="usercontrolfromuser" VerticalAlignment="Top"/>
                    </Grid>
                </TabItem>          
        </Grid>
    </Window>
    ********************************************************
    CUIT is able to record action on controls inside the RadBusyindicator but failing Playback actions..

    Regards,
    Rajendar.
  5. Answer
    Georgi
    Admin
    Georgi avatar
    350 posts

    Posted 30 Jul 2013 Link to this post

    Hi Rajendar,

    It seems like this is a known issue with the Tab control and you can find more information on it here.
    As a workaround I would suggest using the Telerik RadTab control. I have attached a simple project comparing the TabControl and RadTabControl.

    I hope this helps.

    Regards,
    Georgi
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  6. Rajendar
    Rajendar avatar
    69 posts
    Member since:
    Jun 2013

    Posted 22 Mar 2015 in reply to Georgi Link to this post

    Hi Georgi,

    Did you improved CUIT support for RadBusyIndicator control in latest telerik version?

    If yes, please let us know the telerik version

    Regards,
    Rajendar.
  7. Georgi
    Admin
    Georgi avatar
    350 posts

    Posted 23 Mar 2015 Link to this post

    Hello Rajendar,

    As we are not aware of any issues with the Coded UI of the RadBusyIndicator, we haven't made any improvements since Q3 2013 release where the Coded UI Level 2 and Level 3 were introduced.

    Please, note that the issue of witch we spoke previously is an issue of the Microsoft TabControl and is beyond our reach.

    Also if you have any suggestions for improvements, please don't hesitate to write us.

    Regards,
    Georgi
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top
UI for WPF is Visual Studio 2017 Ready