Can Selenium IDE generate tests in C# for MSTest

与世无争的帅哥 提交于 2019-12-06 11:04:55

问题


I have started using the selenium plugin for firefox for web automated testing. Is their a way when you generate the code for the tests in C# you can get it to create unit tests using MSTest instead of NUnit, which is the default. Not a biggie, but would be useful to know all the same.

Thanks


回答1:


At this time, no. The formatter only outputs NUnit code. However you may want to take a look at this blog, http://koenwillemse.wordpress.com/2011/02/16/custom-c-formatter-for-selenium/, which creates a custom formatter using MSTest.



来源:https://stackoverflow.com/questions/5236230/can-selenium-ide-generate-tests-in-c-sharp-for-mstest

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