Tell me how to append current time in build name with Java-Cucumber.
String timestamp = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss").format(Calendar.getInstance().getTime());
capabilities.setCapability("build", "Project Name" + timestamp);
Hello Russell,
For changing the Test Name, you can use our hooks below:
((JavascriptExecutor) driver).executeScript("lambda-name=TestName");