Does anyone have any good pointers/examples/links for writing WPF UI automation tests with applications utilising Infragistics controls?
CodedUI, that comes with Visual Studio Premium/Ultimate editions, seems to work fine with most of the controls
I have used UI Automation and TestStack.White with Infragistics. The White framework is built on top of MS UI Automation famework so you get best of both worlds.
Example links are:
WPF ItemsControl with TestStack White
teststackwhite
UI Automation Overview
Related
I have created WPF application using Prism framework. Now I need to perform UI automation on it. I have used White UI automation framework for plain WPF application, but I am not able to write UI test in Prism using White.
How to write UI test in Prism application.
Are there any other frameworks to perform UI automation test apart from White and Coded UI?
I got a silverlight sample from http://gallery.expression.microsoft.com/ like the analog clock and the progress bar. I am making a wpf desktop application using microsoft blend 4. My problem is how to put/run/embed the sample in my wpf application using the blend 4.
I choose wpf application because I can add windows/form and the codes are almost the same with the windows application form.
and if silverlight is not possible to run in wpf application, can you suggest how to do layered controls? My plan is to run first the loading bar. and then hide it to show the main menu and the analog clock.
Silverlight is very-very-very compact version of WPF functionality.
You can just rewrite sample to WPF and it will run more efficient.
Silverlight is just like adobe flex which helps in making(running) web browser apps..
If you use silverlight in your wpf application , then you have to use webbrowser control..
For knowledge:
When we want to try to bring wpf for webbrowser apps we use silverlight..
& doing vice versa(like you are doing), don't make much sense..
We have slowly been creating UI Automation tests using Ranorex on our product but have ran into several problems.
We are using Telerik Wpf controls (TabControl, TreeView, Grid and Docking) and so far we've only been able to test the TreeView and Grid using Ranorex. We replaced the TabControl for the standard Wpf TabControl which works with Ranorex. However the Docking control does not work and of course there is no standard out of the box Wpf Docking control for us to use instead.
My question is this: Does anybody know of any Wpf Docking controls that can be tested using an UI Automation tool (preferably Ranorex)?
I found AvalonDock, which at first looked promising, but according to this thread on their site it doesn't support UI Automation :(
Cheers for any comments,
Siy
As of now, Telerik has their own product that supports UI automation for WPF - Telerik Test Studio - including RadDocking control.
Have Microsoft Chart Controls been integrated into .NET 4 release of WPF? I've found some statements supporting such claims but i cant find those controls :/ How do I use them in WPF4?
This MSDN library page gives an overview over the new features in WPF 4. A Chart control is not part of WPF 4.
There is, however, a preview of the chart controls that probably will be released in an upcoming WPF version or service pack. You can download the preview as part of the WPF toolkit.
I currently do all development work in VB.NET 2008, winforms; but within 18 months will be switching to WPF (for better or worse). I have had great success using Matthew MacDonald's "Pro .NET 2.0 Windows Forms and Custom Controls in VB 2005" book. This is an excellent reference focused entirely on the development of custom controls in windows forms. ( Many of the controls that I use have to have a very specific UI look and feel, so they end up being custom. )
I'm looking for pretty much the exact same thing, except focused on WPF.
MacDonald has a new book coming out on WPF in general ,but not on custom controls.
Books are my preferred reference material, but any good web references would also be appreciated.
Any suggestions?
I have Pro WPF with C# 2008 by MacDonald and it is a surprisingly good reference on controls, templating, and styling. At over 1,000 pages it is a really meaty work; you can rest assured there is enough material on controls. There are no books dedicated entirely to WPF controls (that I know of) simply because control development in WPF is that much easier than control development in WinForms. If you have a mastery of templates and styles, you can do so much with the basic controls that there is almost no need for custom controls.