我们可以在VS 2017专业版中使用Selenium Web驱动程序使用单元测试项目进行UI自动化吗? [英] Can we use Unit Test Project for UI automation using Selenium web driver in VS 2017 professional?

查看:250
本文介绍了我们可以在VS 2017专业版中使用Selenium Web驱动程序使用单元测试项目进行UI自动化吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


以前我们正在使用Coded UI自动化。


现在最新VS 2017 我们获得了支持对于Selenium。


所以我们计划使用单元测试项目和selenium web驱动程序将Coded UI自动化测试转换为selenium测试。


我们可以使用  用于UI自动化的单元测试项目VS 2017专业版中的Selenium网络驱动程序 l?


 以及在使用[TestClass]而不是[CodedUITest]作为属性时将测试用例与测试方法相关联。



请进一步建议这个过程。

解决方案


我可以告诉我在VS 2017中使用Selenium Webdriver并在多单元测试项目中拆分解决方案。


此外,我们也是将UI测试(selenium)与TFS测试用例联系起来。


检查:  https://docs.microsoft.com/en-us/vsts/build-释放/测试/连续测试硒 


Hi,

Previously we are working with Coded UI automation.

Now with Latest VS 2017 we got support for Selenium.

So we are planning convert Coded UI automation test to selenium test using Unit Test project and selenium web driver.

Can we use Unit Test Project for UI automation using Selenium web driver in VS 2017 professional?

 and also Associating test cases with test methods when using [TestClass] rather [CodedUITest] as Attribute.

Please suggest the process further.

解决方案

Hi,

I can tell what I am using Selenium Webdriver in VS 2017 and split the solution in Multiple Unit test projects.

Furthermore, we are also doing the association of the UI tests (selenium) with the TFS test cases.

Check this: https://docs.microsoft.com/en-us/vsts/build-release/test/continuous-test-selenium 


这篇关于我们可以在VS 2017专业版中使用Selenium Web驱动程序使用单元测试项目进行UI自动化吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆