Selenium Java Integration with Team Foundation Server

前端 未结 1 625
天涯浪人
天涯浪人 2020-12-12 04:51

I am currently working on Selenium Automation using Java for my test Automation needs. I use TestNg for my reporting as of now.

No integration was done earlier with

相关标签:
1条回答
  • 2020-12-12 05:46

    Your question is very broad and requires lots of research and perhaps a proof of concept to verify that it suits your needs. I hope you're not looking for a code snippet to fix all your problems ;)

    First, let's divide and conquer. You want TFS integration with Java. TFS doesn't care if you use Selenium or any other framework. Second, you want to read TestNG results into TFS. As it's possible, I'm not sure it's a good solution and maybe you should think about moving to C# and .NET for your testing.

    So to answer your questions:

    1. You can either read xUnit results to TFS, or implement your own IReporter and read it with TFS API.
    2. Running your scripts is simply running Java with TFS.
    3. Yes TFS is natively for C#, but there are extensions for Java, so integration is possible, though it's not as smooth as working with something native for your programming language.
    4. TFS and Java can be integrated as explained above.
    0 讨论(0)
提交回复
热议问题