How to get name of the current test/spec/method/scenario etc. in SpecFlow?

How to get name of the current test/spec/method/scenario etc. in SpecFlow?

Hello Ana,

To get name of the current test/spec/method/scenario etc. in SpecFlow, you can refer to sample code snippet below:

{
     driver = new FirefoxDriver();
     driver.Url = test_url;
     driver.Manage().Window.Maximize();
     System.Threading.Thread.Sleep(2000);
}