using coded ui on infragistics winform controls
I've recently decided to take a look at automated UI testing using vs2010's coded UI. However, I've come across some problems, namely a FailedToPerformActionOnBlockedControlException
when playing开发者_高级运维 back selecting a value from a combo box.
A quick search for this exception and infragistics and coded ui seems to say that there is no formal support for infragistics winform controls using coded ui however several websites has mentioned using coded ui extensions.
Has anyone had experience with successfully making coded ui recognise infragistics controls? such as the combo box, ultragrid etc...?
My company uses our own controls that inherit from Infragistics controls. See this related question for tips which may help.
DevExpress LookUpEdit And Coded UI Tests
If you want a robust solution for automated testing of Infragistics WinForms controls, and are willing to use a different tool, have a look at Infragistics TestAdvantage, a plugin for HP QTP / IBM RFT.
Support for the CodedUITest framework is being looked at by Infragistics and a beta may be available late in Q1 of 2012. There are more details in the following post: http://blogs.infragistics.com/forums/p/10294/323529.aspx#323529
Little update:
For Winforms there targetting to release support for CodedUI in their Netadvantage 2012 Volume 2 product. Expected in October 2012
You can use RANOREX. It worked for most controls, for example the Ultragrid
See http://www.ranorex.com/
精彩评论