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.
If you want to stay informed about news about QF-Test, you can simply subscribe to our newsletter:
Subscribe to Newsletter  


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

Re: [QF-Test] Custom node in xml run log


  • Subject: Re: [QF-Test] Custom node in xml run log
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Tue, 09 Jul 2019 09:33:15 +0200
  • Delivered-to: qftest-list@?.net

Hello Art.Wen,

I'm afraid there is no way to modify the run-log directly in that way.
QF-Test wouldn't know what to do with your custom nodes anyway.

You can still use XSLT to process your message nodes if you use a
unique prefix in the message and look for that. My XSLT is currently
a bit rusty, but something like

 MessageLog[@resource='msg.user'][starts-with(param[1]/text(), 'MyPrefix')]

should work.

Best regards,
    Greg

art.wen <art.wen@?.pl> writes:

> Hi all,
>
> I have no idea how to make my own run log nodes via jython/java script.
> I know about rc.logMessage but it always creates:
>
> <MessageLog resource="msg.user" time="xxx" timestamp="xxx">
>                 <param>xxx</param>
>                 <node type="report"/>
>               </MessageLog>
>
> So is there any option to make it something like <CustomLogMessage ...> or <UserLog ....> so then
> i have easy time accesing it via my xslt to generate report?
>
> I would have no problem when there was a way to get run log instance to write to but every log
> function in qfs files files are encrypted and there is nothing in documentation bout it.
>
> Cheers,
> Art.Wen

-- 
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