2017 up to now  | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries of 2011


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

Re: [QF-Test] Call testcase in daemon mode outside QF-Test by Jython script


  • Subject: Re: [QF-Test] Call testcase in daemon mode outside QF-Test by Jython script
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Fri, 16 Dec 2011 08:40:06 +0100

Hi Jonny,

the rc Jython Object is mostly a wrapper around a QF-Test internal
object the represents the current run-context. There is no way to make
this available outside QF-Test.

The daemon doesn't save the run-log itself, but you can fetch it via
DaemonRunContext.getRunLog() and save it to a .qrl file.

Best regards,
    Greg

"Sun, Peng (Johnny)" <PengJohnny.Sun@?.com> writes:

> Hi all,
>  
> In order to avoid consuming an additional QF license, I am trying to use a Jython script to call a
> testcase in QF-Test daemon mode.
>  
> Now, just simply call a testcase and let it run on daemon host is OK. But the script lacks of
> some functionalities, like, specify where to generate runlogs.
>  
> Here is my questions:
> 1, How can I specify where to generate QF-Test runlogs?
>  
> 2, I wonder whether I can use the rc package outside the QF-Test in Jython script. And if the
> answer is positive, how to set environment(like CLASSPATH or sys.path) to use it?
>  
> Thanks
>  
> Best Regards
>  
> Johnny
> Tel +86 10 8477 7018 | Cell +86 138 1124 3484
>
> _______________________________________________
> qftest-list mailing list
> qftest-list@?.de
> http://www.qfs.de/mailman/listinfo/qftest-list

-- 
Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH                     http://www.qfs.de
Tulpenstr. 41                               Tel: +49 8171 38648-0
DE-82538 Geretsried                         Fax: +49 8171 3864816
GF: Gregor Schmid, Karlheinz Kellerer          HRB München 140833