Skip to main content

[SpecFlow + LivingDoc] Console.WriteLine or Logger information included in failed test message

Completed

Comments

4 comments

  • Mario Steiner

    Hi Illes, thanks a lot for your request and sorry for the late reply.  What kind of additional information would you like to display and what is the use case you are trying to solve?

    0
  • Ishanu Chatterjee
     

    Is it possible just to capture all the console output in Living doc? I want to capture all the subsequent requests when my test hits a button. I am getting all of them in default specflow test results html under the Trace column. But I am not getting them in living doc.

    0
  • Andreas Willich

    No, it is not. You need to use our dedicated output API (https://docs.specflow.org/projects/specflow/en/latest/outputapi/outputapi.html) to get output into LivingDoc.

    0
  • Ishanu Chatterjee
     

    that worked like a magic !

     

     

    0

Please sign in to leave a comment.

Powered by Zendesk