automation of virtualised controls

2 posts, 0 answers
  1. sangram
    sangram avatar
    4 posts
    Member since:
    Oct 2010

    Posted 05 Dec 2010 Link to this post

    Hi ,
    I need some resources on automating the silverlight  controls which have UI Virtualization enabled such as multiselect combobox . Can I get all the comboboxitems in the combox and select a particular combobox item
  2. Stoich
    Stoich avatar
    1 posts

    Posted 08 Dec 2010 Link to this post

    Hello Sangram,
       is this related to your previous post? :

    Working with UI Virtualization can be a bit tricky. You have to make sure that an Element exists before you select it. What this means is that you have to make sure you've correctly recorded the action which causes the desired item to be loaded. This action will usually be a scroll-down of the checkbox item. Since this scroll-down isn't recorded your test will fail. This happen because when you execute the test your item doesn't exists when you try to select it.

    You might have to use "Mouse Actions" to simulate real mouse clicks in order to make sure the "load" event for your item is fired. Check out the section on "Mouse Actions" in our User's Guide:

    Also, to repeat the previous e-mail:
    Would it be possible for you to provide us either direct access to your application or with the actual code of the application you are trying to handle or a small sample Silverlight application showing the ComboBox you are trying to work with? We will also provide you with fully working code which you will be able to use straight away.

    Also consider letting us look at the application on your PC. Would it be possible to arrange a GoToMeeting in order for us to check out your app directly on your PC via screen sharing?

    Kind regards,
    the Telerik team
    Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
Back to Top