Hi Team
I need to rerun the fail test case automatically using mstest in my automation project (selenium /C#)
I have few solutions as below but i am not finding the exact one . If any one has already worked ,pls help me out on this.
sol1 :
using TrxExtractFAiledTests.Exe , i will list out the failed test case by passing the dll through this exe and execute it .
But here the issue is , the final report will contain only these rerun test case results as the latest report . But i need the report should contain all the test case results.
Sol2 :
I found the below link but the code is not available and this looks complex !
https://www.codeproject.com/Articles/883305/MSTest-Rerun-Failed-Tests-Through-MSTest-exe-Wrapp
Sol 3 :