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: Bernhard Schmitt <bernhard.schmitt@?.de>
  • Date: Tue, 11 Oct 2016 10:50:50 +0000

Hello Greg,

this solution is working fine. I can keep the table information in the html  report with lower size in comparison to screenshots. Great.



Bernhard Schmitt
Consultant Softwaretest
E-Mail: bernhard.schmitt@?.de
imbus Rhein-Main GmbH, Kirschgartenstraße 15, 65719 Hofheim, DEUTSCHLAND
Tel. +49 6192 92192-0, Fax +49 6192 92192-50

Geschäftsführer: Frank Schmeißner, Tilo Linz, Bernd Nossem
Sitz der Gesellschaft: Hofheim
Registergericht: Frankfurt am Main, HRB 52155

-----Ursprüngliche Nachricht-----
Von: Gregor Schmid [mailto:Gregor.Schmid@?.de]
Gesendet: Freitag, 7. Oktober 2016 09:33
An: qftest-list@?.de
Cc: Bernhard Schmitt
Betreff: Re: [QF-Test] Is it possible to embed own html code in html report?

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