How to set the test name of the tests as per the name of the method that consist of the test scenario?
Hi Mark,
In the setup method of @BeforeMethod pass an argument as:
public void setUp(Method method)
And then set the named capability of the test as below:
capabilities.setCapability("name", method.getName());