@Test public void testRegistration() throws InterruptedException, IOException, Exception { try { System.out.println("Executing testRegistration Scenario"); methodName = Thread.currentThread().getStackTrace()[1].getMethodName(); baseScreen.registration(methodName); } catch (Exception t) { System.out.println("Exception in testRegistration Scenario" + t.getMessage()); } }