CUIT Playback failed on combo selection

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

    Posted 24 Mar 2014 Link to this post

    Hi Everyone,

    Playback failed on combo selection. I want validate selected item in combo by adding assertion on combo box to know which was selected, but i could not see selected item property in CUIT assertion form. Can you provide proper properties to combo box?

    SampleApplication
    ==============
    ​<UserControl
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" x:Class="SilverlightApplication4.MainPage"
        mc:Ignorable="d"
        d:DesignHeight="300" d:DesignWidth="400">

        <Grid x:Name="LayoutRoot" Background="White">  

            <telerik:RadComboBox HorizontalAlignment="Left" Margin="85,193,0,0" VerticalAlignment="Top" Width="250" Name="TestCombo">
                <telerik:RadComboBoxItem Content="Item 1"/>
                <telerik:RadComboBoxItem Content="Item 2"/>
                <telerik:RadComboBoxItem Content="Item 3"/>
            </telerik:RadComboBox>

        </Grid>
    </UserControl>
    ===================
  2. Georgi
    Admin
    Georgi avatar
    350 posts

    Posted 25 Mar 2014 Link to this post

    Hello Rajendar,

    I see that the thread is for Silverlight, could you confirm that you're using Silverlight?
    If that is the case, can you tell us which version of Silverlight and Visual Studio you're using as well as the version of the Telerik controls, as Microsoft does not support CodedUI for Silverlight 5 (as stated here).

    We are also aware of this plugin that helps solving the issue and create Coded UI tests for Silverlight 5.
    Please note that this is not official Microsoft tool and it could have some issues and therefore it is not supported for the Telerik controls:
    "A few members of the product team got together and built this plugin as an off-hours project. It is not an official Microsoft release."

    Anyway we gave it a try and it seems like it does not recognize SelectedItem property, but there is a SelectedIndex that could help in this case. Also it is strange that it is not recognized as its provider is implemented in the AutomationPeers of RadComboBox and it can be observed with other programs like UI Spy as the Selection property.

    Looking forward to your reply.


    Regards,
    Georgi
    Telerik
     

    Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

     
  3. DevCraft banner
  4. Rajendar
    Rajendar avatar
    69 posts
    Member since:
    Jun 2013

    Posted 25 Mar 2014 in reply to Georgi Link to this post

    Hi Georgi,

    "As Microsoft does not support CodedUI for Silverlight 5” – That is not correct as mentioned in this updated link:http://visualstudiogallery.msdn.microsoft.com/28312a61-9451-451a-990c-c9929b751eb4“...This plugin supports Silverlight 4 & 5 applications hosted in Internet Explorer versions 8, 9 & 10. It requires Microsoft Visual Studio 2012 RTM….” But that is correct that it is not an official Microsoft release.  We got confirmation from MS that they are currently working on updating the Silverlight plugin to work with VS 2013 and VS 2012 Update 4 with a target first half of CY 2014.

    If Microsoft officially support silverlight application from half of CY 2014. 
    Will you be going provide CUIT support for telerik?

    Regards,
    Rajendar.






  5. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 26 Mar 2014 Link to this post

    Hello Rajendar,

    We cannot engage with any commitment on the CUIT for Silverlight 5 until it is introduced officially and we evaluate the efforts we need to invest in it. At this point we can only assure you that once there is an official version of Visual Studio with CUIT for Silverlight, we’ll look into it.

    Since there is no official statement from Microsoft which is publicly available, we can assume that this feature is tentative and is not 100% possible, I would like to point your attention to our Test Studio. With TestStudio you can record and playback Silverlight Automated tests.

    Regards,
    Yana
    Telerik
     

    Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

     
Back to Top