How to get name of the current test / spec / method / scenario with C# MSTest?
Hi Dipen!
To get name of the current test / spec / method / scenario with C# MSTest, you can use the below code snippet in your automation scripts.
{
driver = new FirefoxDriver();
driver.Url = test_url;
driver.Manage().Window.Maximize();
System.Threading.Thread.Sleep(2000);
}