Add  desiredCapabilities.setCapability("name", method.getName()); for all the TestCases