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

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

Hey Devan,

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

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