Test Runner - Tool to run automated tests
Test Automation Test Runner

Test Runner - Tool to run automated tests

Not sure, if you guys have come across this situation. Writing the scripts in Visual Studio (C#) with Selenium Web-driver has no issues :) .

The important thing is to run those scripts. The drawback of Visual Studio (>2010 version), there would not be any TRX file (Test results file, which shows the test execution details. Passed, failed, duration of each test), which is a simple XML file.

To generate a TRX file we need to use MSTest, which is command line utility, and takes few parameters to execute the test cases. I think this is a tedious task.

In order to make life easy :) I have come up with a tool to do this. It does the following things

  1. Filter test cases based on the Test Category or Owner or Priority or even a test method name.
  2. Run only selected tests from the filtered one's.
  3. Ran and few cases failed!. Upload the previous run TRX file and run only failed cases again.
  4. Done with test execution, send an email with the list of all test case results and summary of it including the attachment of TRX file.

Please let me know if you think this would be useful, so that I can share the source code :) Happy to implement enhancements as well.

Happy Coding!

Shamsheer Dudekula


Pavan Patel

Software QA Engineer-2 @Amazon

8 年

Shamsheer, I am planning to develop similar tool. I am done with my automation framework development and would like to give more ease to manual team to run automation with different filters options. Can you share this utility with me. Right now, In my automation I have logger class which I am using to create report and send email and MTM to run test cases from different test suite.

回复
Reginald Estember

Experienced Software Development Engineer in Test and Hardware Verification Engineer

8 年

Another alternative is the use of Nunit . it generates a xml and could be feed on a report unit tool.to generate the html version.

回复
Vinod Kumar N

Test Automation Expert.

8 年

Nice.. can sharemethe tool

回复

要查看或添加评论,请登录

Shamsheer D.的更多文章

社区洞察

其他会员也浏览了