Mailingliste - Einträge 2016
[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?
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