I am using Selenium with C# and MS test framework for automation in my project. I used ordered tests...added some tests in ordered tests and executed that but it's failing because it's unable to open the browser.
I have put my browser opening and URL opening code in one class in [TestInitialize]
attribute but not in [Test Method]
attribute, so I can't add those browser initialization methods in ordered tests.
how to solve this problem and give priority to automation tests in Selenium with C#.
I would like to give priority to different methods from different.cs classes.