1

Is it possible to attach the screenshot in the report with an c#, specflow auto framework.

I have included report template in .srprofile

As mentioned in https://specflow.org/plus/documentation/tutorial:-customising-reports/

But that didnt worked out for me!

Did anyone had luck with this?

Or any suggestions to use alternate reporting for screenshots?

1 Answer 1

2

We have an example https://github.com/techtalk/SpecFlow.Plus.Examples/tree/master/SeleniumWebTest which adds screenshots to the report. Have a look at it.


Full disclosure: I am one of the maintainers of SpecFlow and developer on SpecFlow+

3
  • Thank you, Thats the repo i referred following the link specflow.org/plus/documentation/tutorial:-customising-reports which i posted in the original question. Do we need specflow plus for the customising the report and including the screenshot?
    – Ram
    Commented Jul 31, 2019 at 15:14
  • @Ram: Yes you need SpecFlow+ for this. Commented Aug 1, 2019 at 8:55
  • 3
    @c32hedge: sorry, I forgot to add it. disclosure is now added. Commented Aug 1, 2019 at 8:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.