Silverlight testing: Watin vs Selenium comparison

风流意气都作罢 提交于 2019-12-31 13:28:31

问题


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?.


回答1:


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.




回答2:


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!




回答3:


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/




回答4:


I have used WebAii to hook into Silverlight. You can create NUnit/MSTest tests to drive them. I did find a number of bugs in it but they have released a number of versions since so assume they have been fixed.




回答5:


Take a look at this: http://www.artoftest.com/community/blogs/09-05-14/Automating_Real_World_Silverlight_Apps.aspx



来源:https://stackoverflow.com/questions/1302385/silverlight-testing-watin-vs-selenium-comparison

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!