List Icon
Archive de la liste de diffusion

La liste de diffusion est fermée depuis juillet 2022, mais sert toujours d'archive d'informations sur QF-Test.
Cependant, si vous souhaitez rester informé des nouveautés concernant QF-Test, vous pouvez simplement vous abonner à la newsletter :
abonner à la newsletter 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QF-Test] Is it possible to embed own html code in html report?

  • Subject: Re: [QF-Test] Is it possible to embed own html code in html report?
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Fri, 07 Oct 2016 09:33:26 +0200

Hello Bernhard,

yes, basically you can do that. Just store the value in a QF-Test
variable, e.g. "html", and follow with a test-step where you expand
that variable with $(html) in the comment.

When creating the report, be sure to include test-steps and pass
through HTML.

Caveat: It's not going to look good because your HTML will pick up the
CSS from QF-Test's report so you'd have to script some magic to copy
your styles over as well.

Second caveat: If you HTML is not well-formed you'll mess up the

Best regards,

Bernhard Schmitt <bernhard.schmitt@?.de> writes:

> Hello all,
> I have a web application with a huge table with a scrollbar. Now I want to document this table in the html report.
> In a first approach, I took a screenshot of the table, press scroll down, take a screenshot and so on until I reach the
> end of the table. This steps will cost time and memory. So take a look at the following idea:
> Using the method 'evalJS' on the table component will give me the html
> code oft the table containig the same information
> as provided in the screenshots. Is there any way to embed the html code of the table in the html report?
> BR
> Bernhard

Gregor Schmid

E: gregor.schmid@?.de
T: +49 8171 38648-11
F: +49 8171 38648-16

Quality First Software GmbH |
Tulpenstr. 41 | 82538 Geretsried | Germany
GF Gregor Schmid, Dr. Martina Schmid, Karlheinz Kellerer
HRB München 140833