views:

376

answers:

2

I want to automate the application develoepd in silverlight. Can you let me know whether there are any open source tools are available which can be used for automating SilverLight app. Thanks.

+1  A: 

If you're looking to perform User Interface Automation (such as UIA) to simulate mouse clicks, keyboard presses, etc., there is no "easy" way to get this going today.

I've seen some third party tools that may work, such as Telerik's http://www.telerik.com/products/web-testing-tools.aspx. Note that I have not used and do not endorse this, just know it is out there!

Jeff Wilcox
Can you please mention which third party tools are available for same
NewAutoUser
A: 

We are doing UI testing on a Silverlight application using the UIAutomation API, and it works very nicely.

Project White is a library that sits on top of UIAutomation, and many people find it helpful. I prefer to use the UIAutomation APIs directly - it's really not as hard as you might think, as my tutorial shows.

Samuel Jack
Thanks Samuel, Per my understanding project white retrieves the controls based on Name/Class/Type/ID but in application which we are automating there are quiet a few controls which does not have any of the above property set by dev team. Can you please let me know if there is any way using which we would be able to automate such controls using project white. Thanks.
NewAutoUser