Silverlight 测试:Watin 与 Selenium 的比较 [英] Silverlight testing: Watin vs Selenium comparison
问题描述
我想知道这些 Web 测试框架(Watin 和 Selenium)对于 Silverlight UI 测试的效果如何.
I was wondering how well these web test frameworks (Watin and Selenium) work for Silverlight UI testing.
有人在项目中尝试过吗?Watin 或 Selenium 是否非常适合 Silverlight?.
Have anyone tried it on a project? Are Watin or Selenium well suited for Silverlight?.
推荐答案
我无法使用 Silverlight 与 Watin 或 Selenium 交谈,但我玩过 White,它是 MS 自动化框架之上的一个层,到目前为止,我喜欢我所看到的:
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:
我还应该补充一点,我们将大部分 UI 行为测试推迟到使用 MVVM 模式.它并没有测试一切,但它让我们完成了 95% 的工作.
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.
Watin/Selenium/White 等功能测试框架应与单元测试结合使用.
Functional testing frameworks like Watin/Selenium/White should be used in conjunction to unit tests.
这篇关于Silverlight 测试:Watin 与 Selenium 的比较的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!