List Icon
Mailing list Archive

2019 up to July 2022 | 20182017  |  2016  2015 2014 | 2013

The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
But if you want to stay informed about news about QF-Test, you can simply
Subscribe to Newsletter  

To get up-to-date information about each release - including minor releases - you can
subscribe to the RSS feed or follow us on social media.
Alternatively, QF-Test also provides release information itself.

Another source of information is our blog, where there are current articles on general topics, on the company QFS and also various "how-tos"
subscribe to blog


[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
report.

Best regards,
    Greg


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 | www.qfs.de
Tulpenstr. 41 | 82538 Geretsried | Germany
GF Gregor Schmid, Dr. Martina Schmid, Karlheinz Kellerer
HRB München 140833