Screenshot and report is not generating in cucumber framework if any of the scenario fails | Selenium Forum
S
sumit kalra Posted on 15/08/2021

Hi Ashish,

In the latest cucumber framework, Screen shot and reports does not generate if scenario fails. I have intentailly make the invalid xpath in my TC.

I am attaching the SS for the reference.


A
Ashish Thakur Replied on 16/08/2021

In the @after method you have to flush the extent reports right

Thats how it generates


Related Posts