Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
1.5k views
by Contributing Tester (48 points)
retagged by

I am working on C# Selenium Automation Testing Project (It is a MS Unit Test project, It is not a NUnit Test),
I have configured my solution in Jenkins for CI execution.
I have used MSBuild Test plugin for Test Execution.

After Test Suite successfully executed, The result is Generated in .trf file (It is a default  output formate of C# Selenium Test with MS Unit Test )
Please let me know the Post build step so that I can received my Test Result in HTML from jenkins.

1 Answer

0 like 0 dislike
by The go-to Tester (222 points)

trx2html is the thing you should be using.

download the trx2html file here - http://trx2html.codeplex.com/
unzip and put the files in C:\Program Files (x86)\trx2html

You can execute it from the command line with below command:

"C:\Program Files (x86)\trx2html\0.6\trx2html.exe" TestResult.trx

You can add same as a post build step in Jenkins. In post build step, execute it as a batch command.

Also, make sure that above software is added at the server your Jenkins server is running.

Hope that helps!

by Contributing Tester (48 points)
Thanks, I will implement this one, Also If there are multiple trx file result in TestResult forlder, How to run this batch command for latest result only.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...