title: How to get class name at run time in testng
body: <p>I am having <code>@BeforeClass</code> annotated method in BaseClass. I am trying to get the name of current execution class(Child class to BaseClass) at <strong>runtime</strong>.</p>
  
  <p>Do we have any mechanism to get the class name from its Baseclass at runtime?</p>
  
  <p>I am able to get the class name when I am trying to run single class, but facing issue while running multiple classes. Getting same class name for all the classes in the report.</p>