2018 up to now | 2017 | 2016 | 2015 | 2014 | 2013 | 2012

Mailing List - Entries of 2013


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

Re: [QF-Test] accessing rc object in external editor


  • Subject: Re: [QF-Test] accessing rc object in external editor
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Sat, 13 Apr 2013 19:06:41 +0200

Hi Vojtěch,

in QF-Test the rc object is backed by a Java object that represents
the current execution context of a test-run. When you work in Eclipse
you're running in a different Java VM with a different Jython
interpreter. There's no way to make the rc object available there.

Best regards,
    Greg

Vojtěch Burian <vojtech.burian@?.cz> writes:

> Hi,
>
> I have successfully setup eclipse + pydev as external editor for
> QF-Test python scripts.
> However the "rc" objects obviously do not work when scripts are run
> directly from eclipse.
> I wonder if this could be actually done by importing some qftest
> modules etc.?
>
> There are some information regarding QF-Test script initialization
> there -
> http://www.qfs.de/qftest/manual/en/tech_scripting.html#sec_N11B05, but
> I was not able to decrypt the procedure to replicate the
> initialization procedure to work with Eclipse.
>
> Is this in fact possible? Is there anywhere a guide how to do it? I
> searched the mailing list without success.
>
> Thanks!
> Regards,
>
> Vojtech Burian

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