This is a migrated thread and some comments may be shown as answers.

automation of virtualised controls

1 Answer 36 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
sangram
Top achievements
Rank 1
sangram asked on 05 Dec 2010, 03:12 PM
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

1 Answer, 1 is accepted

Sort by
0
Stoich
Telerik team
answered on 08 Dec 2010, 05:35 PM
Hello Sangram,
   is this related to your previous post? :
 http://www.telerik.com/automated-testing-tools/community/forums/webui-test-studio-qa-edition/general-discussions/scrolling-and-selecting-inside-multiselect-combobox.aspx

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:
http://www.telerik.com/documents/automated-testing-tools/WebUITestStudioDeveloperEditionQuickStartGuide.pdf

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,
Stoich
the Telerik team
Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
Tags
General Discussions
Asked by
sangram
Top achievements
Rank 1
Answers by
Stoich
Telerik team
Share this question
or