Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extent Report Selenium Dynamic Report Name #319

Closed
kppetrick opened this issue Aug 26, 2021 · 1 comment
Closed

Extent Report Selenium Dynamic Report Name #319

kppetrick opened this issue Aug 26, 2021 · 1 comment
Labels
question Further information is requested

Comments

@kppetrick
Copy link

Is there a way to have the report name change based on what feature file is being run? For example if I run say feature file named ABC testing it makes the report name ABC testing and if I run feature file DEF testing it names the report DEF testing

@anshooarora
Copy link
Member

@kppetrick You can pass the name to the reporter's instantiation:

ExtentSparkReporter spark = new ExtentSparkReporter("ABC.html");

@anshooarora anshooarora added the question Further information is requested label Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants