public string BuildEvidenceForHTML()
        {
            var resultEvidence = new StringBuilder();

            resultEvidence.AppendLine(WebElementBuilder.FormatAndEncapsulateParagraph(bonusEvidence));
            resultEvidence.AppendLine(WebElementBuilder.FormatParagraph("User Interface Screenshot: "
                                                                        + Environment.NewLine + WebElementBuilder.FormatImageElement(ScreenShot)));
            return(resultEvidence.ToString());
        }
Ejemplo n.º 2
0
 public void AddMessage(string message)
 {
     msg.Append(WebElementBuilder.FormatAndEncapsulateParagraph(message));
 }