How to take screenshot on test case failure in Cucumber and attach to Extent report

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ม.ค. 2025
  • Hi Everyone, Welcome to my TH-cam Chanel, Automation Made Easy.
    In this video I have explained how to take screenshot after each failed test case in Cucumber and attach to Extent report using Extent cucumber adapter 6.
    Thank,
    AK
    #cucumberBDD, #ExtentReport

ความคิดเห็น • 10

  • @rakeshkhairnar755
    @rakeshkhairnar755 หลายเดือนก่อน

    Thank you so much for your video, it was so helpful and exact in detail.
    WHY didn’t you add more videos?? Pls make more videos around BDD, testng frameworks

  • @poojalakshmi1189
    @poojalakshmi1189 10 หลายเดือนก่อน

    Thank you. Simpler explanation for understanding quickly

  • @manishkannamoney7455
    @manishkannamoney7455 ปีที่แล้ว

    Great!Explanation
    Can you share your stepdefinitions class?

  • @karthishiva5811
    @karthishiva5811 4 ปีที่แล้ว +2

    Could you please upload this project in github , it will be more useful

  • @mtyaqoobi1234
    @mtyaqoobi1234 ปีที่แล้ว

    can you share your base class please?

  • @vaibhavsharma7386
    @vaibhavsharma7386 2 ปีที่แล้ว

    hi, do we have any mechanism to add screen shot only for desired steps of each scenario?
    Example : Out of 5 steps of one scenario I want to attach screen shot only for 2 steps

    • @Al-oh9yr
      @Al-oh9yr 2 ปีที่แล้ว

      Same doubt I also have bro. Did you get a solution?

  • @vijaynsanthi
    @vijaynsanthi 3 ปีที่แล้ว

    Spark report is working fine but the Extent Html report is not working, is anything specific I need to add for extenthtml report?

  • @Od3o_ela_sabil_rabek
    @Od3o_ela_sabil_rabek 2 ปีที่แล้ว

    I did as you do but that's what's shown in HTML report
    step_definition.Hook.user_close_the_driver(io.cucumber.java.Scenario)
    screenshot