Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Silverlight testing: Watin vs Selenium comparison

I was wondering how well these web test frameworks (Watin and Selenium) work for Silverlight UI testing.

Have anyone tried it on a project? Are Watin or Selenium well suited for Silverlight?.

like image 701
MariangeMarcano Avatar asked Aug 19 '09 20:08

MariangeMarcano


3 Answers

I can't talk to Watin or Selenium with Silverlight, but I have played with White, which is a layer on top of the MS Automation Framework, and I have liked what I have seen thus far:

I should also add that we defer the majority of our UI behavior testing to unit tests using the MVVM pattern. It doesn't test EVERYTHING, but it gets us 95% of the way there.

Functional testing frameworks like Watin/Selenium/White should be used in conjunction to unit tests.

like image 127
Brian Genisio Avatar answered Oct 17 '22 10:10

Brian Genisio


What about the Silverlight Unit Test Framework included in the Silverlight Toolkit?

Here's Scott Gu's intro

Not sure if this suits your needs, but I always like to check out the solution from the source itself!

like image 32
TJB Avatar answered Oct 17 '22 08:10

TJB


I've not had the need to use it myself, but I have noticed that there is a Silverlight Selenium project 'Silvernium', which might be of interest to you. http://code.google.com/p/silverlight-selenium/

like image 35
Dave Hunt Avatar answered Oct 17 '22 09:10

Dave Hunt