public class ExtentCucumberAdapter extends Object implements io.cucumber.plugin.ConcurrentEventListener
| Constructor and Description |
|---|
ExtentCucumberAdapter(String arg) |
| Modifier and Type | Method and Description |
|---|---|
static void |
addTestStepLog(String message) |
static void |
addTestStepScreenCaptureFromPath(String imagePath) |
static void |
addTestStepScreenCaptureFromPath(String imagePath,
String title) |
static com.aventstack.extentreports.ExtentTest |
getCurrentStep() |
void |
setEventPublisher(io.cucumber.plugin.event.EventPublisher publisher) |
public ExtentCucumberAdapter(String arg)
public void setEventPublisher(io.cucumber.plugin.event.EventPublisher publisher)
setEventPublisher in interface io.cucumber.plugin.ConcurrentEventListenerpublic static void addTestStepLog(String message)
public static void addTestStepScreenCaptureFromPath(String imagePath) throws IOException
IOExceptionpublic static void addTestStepScreenCaptureFromPath(String imagePath, String title) throws IOException
IOExceptionpublic static com.aventstack.extentreports.ExtentTest getCurrentStep()
Copyright © 2023. All rights reserved.