Can I use MTM to execute my testcases that are wriiten in Selenium Java using Eclipse IDE

三世轮回 提交于 2019-12-11 06:55:39

问题


I have a application scenario where I am currently executing my test cases(written in selenium C#) using MTM, I want to know whether same can be achieved using selenium java from eclipse?


回答1:


No

You can't use MTM to execute Java tests, however Microsoft is moving away form that model. This is likely because of this issue and they have already moved to using Team Build with VSTS & TFS 2015+ to execute all sorts of Functional Tests.

https://blogs.msdn.microsoft.com/dgartner/2016/02/23/running-selenium-tests-as-part-of-your-release-with-vsts-release-management/

They have a specific task for this and you can now associate all automated test results with Requirements for reporting without the need for Test Cases in tge middle.




回答2:


The same can be achieved using TFS 2015, in which we can create a new build of type ant/maven.Once the build has been created queueing the build would result in execution of test cases on pre configured agent machine.

While creating a build we need to provide build.xml (for ant) or pom.xml (for maven) which will contain all the details specific to the project and execute the same.



来源:https://stackoverflow.com/questions/43168163/can-i-use-mtm-to-execute-my-testcases-that-are-wriiten-in-selenium-java-using-ec

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