email2vimalraj / CucumberExtentReporter

A plugin to generate the cucumber jvm custom html report using ExtentsReport
http://www.vimalselvam.com/cucumber-extent-reporter/
MIT License
58 stars 75 forks source link

Custom report file #50

Closed tronghieu closed 7 years ago

tronghieu commented 7 years ago

Hi author, I'm using your great plugin. I want custom report file name. I truy set filePath (the code below), but it did not work.

Reporter.getExtentHtmlReport().config().setFilePath("src/test/resources/"
                +System.getProperty("user.name") +reportFileName);

How could I do that?

email2vimalraj commented 7 years ago

@tronghieu : From v3.0.0, you can set the custom report file name. Update your dependency and give a try.

tronghieu commented 7 years ago

Thank so much!

sasikala-codoid commented 6 years ago

I have tried this, Reporter.getExtentHtmlReport().config().setFilePath("src/test/resources/" +System.getProperty("user.name") +reportFileName);

but it is not working.