Capture Screenshot in Extent Reports - Selenium Webdriver Reports in C#

Поділитися
Вставка
  • Опубліковано 1 гру 2024

КОМЕНТАРІ • 16

  • @saurabhaditya57
    @saurabhaditya57 5 років тому

    Hi Krishna,
    Thanks for this video, I learnt a lot from this.
    But with this code it is not taking full page screenshot.So, can you please tell how to take full page screenshot.

  • @sanmakssunny7
    @sanmakssunny7 8 років тому

    Hi Krishna, thanks for sharing the video, screenshot is working fine for all scenarios, except mouse over, could u pls tell me how to take screenshot of move over, , pls note that i can visually see the move over on execution, but screenshot show now mouse over text

    • @sanmakssunny7
      @sanmakssunny7 8 років тому

      i am unable to take screenshot of mouse over movement. when i run the script the mouse over happens and title is displayed, but when i see the screenshot title is not displayed, kindly help

  • @chinmayk2657
    @chinmayk2657 5 місяців тому

    what about stracetrace, how to capture it

  • @evatate3104
    @evatate3104 7 років тому

    GM Krishna,
    I have 61 tests I am am trying to run a report on, however the report only has the last 13 tests.
    Has anyone come across this before?
    Thanks!

  • @anjandey7287
    @anjandey7287 8 років тому

    Hi Krishna, thanks for sharing the video, screenshot is working fine. I want to create screenshot name as test name(method name in NUnit). Could you please tell me how to get screenshot name as method name? I know in Java selenium has a method as GetName which is not working in c# selenium. pls advise me.

    • @craiganderson1235
      @craiganderson1235 7 років тому

      i think if you set it to TestContext.CurrentContext.Test.Name and have NUnit it should work

  • @evatate3104
    @evatate3104 7 років тому

    Nevermind, took me all night to figure this out but I had to create the "ErrorScreenshots" folder manually before running the tests. Jeez lol

  • @evatate3104
    @evatate3104 7 років тому

    I appreciate the video, learned alot however it does not work. Get the following error using the same setup in the video. Also, the newest version, 3.0.2 does not support some of the functionality described in this video, had to find version 2.4.1 or 2:
    RelevantCodes.ExtentReports.ExtentTestInterruptedException: Close was called before test could end safely using EndTest.

    • @KrishnaSakinala
      @KrishnaSakinala  7 років тому

      Thanks for the feedback *Eva Tate*
      Please subscribe to the channel and keep visiting... :)
      And it will definitely work as I am using :)
      Please check again. You are making mistake while calling EndTest it seems.

    • @evatate3104
      @evatate3104 7 років тому

      No problem, anytime! I have been looking for a replacement for NUnit2Report for quite sometime now. Liked and heard about Extent Report but there was no instructions on getting it to work with C#, only Java.

  • @david.veeravalli
    @david.veeravalli 6 років тому

    How to take screenshot for every test step ? Is it possible ?

    • @KrishnaSakinala
      @KrishnaSakinala  6 років тому

      Put the screenshot in *test.log*

    • @david.veeravalli
      @david.veeravalli 6 років тому

      Krishna Sakinala do you mean attach or capture ? I’m thinking of integrating a method that captures screenshot in report step test.log as soon as the test step is executed. Is it possible to incorporate ? Or are you suggesting to call capture method every time and attach the screenshot in test.log ?

  • @chinmayk2657
    @chinmayk2657 5 місяців тому

    voice too low