List Icon
Archive de la liste de diffusion

La liste de diffusion est fermée depuis juillet 2022, mais sert toujours d'archive d'informations sur QF-Test.
Cependant, si vous souhaitez rester informé des nouveautés concernant QF-Test, vous pouvez simplement vous abonner à la newsletter :
abonner à la newsletter 


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

Re: [QF-Test] Scripting


  • Subject: Re: [QF-Test] Scripting
  • From: Martin Moser <martin.moser@?.de>
  • Date: Tue, 14 Oct 2014 18:05:00 +0200

Hi Sam,

Python is the base language for Jython, so anything which is possible in
Python can be used in Jython as well. Jython is just an extension, which
accesses Java classes as well.

For accessing QF-Test specific methods, like reading variables you can
use the rc object and its method.
Type rc. and press CTRL+Blank/Space then you get a list of built-in methods.

In the manual you can find more details at:

"Chapter 13 Scripting" or
http://www.qfs.de/qftest/manual/en/user_scripting.html#usec_scripting

"Chapter 37 Jython and Groovy scripting" or
http://www.qfs.de/qftest/manual/en/tech_scripting.html#sec_scripting

Best Regards,
Martin

Am 13.10.2014 um 18:15 schrieb Sam keith:
Hello,

My knowledge is limited to the scripting world, but I am continually
trying to learn more. Okay my question is I have test case which needs
to be done via scripting, according to QFtest manual it supports Groovy
and Jython does it also support python? Is there any installed function
which I can call and use it, just inserting the parameters? Is there any
place I can find proper list of rc commands qftest supports.

Thank you.



_______________________________________________
qftest-list mailing list
qftest-list@?.de
http://www.qfs.de/mailman/listinfo/qftest-list

--
Martin Moser

E: martin.moser@?.de
T: +49 (0)8171 38648-14
F: +49 (0)8171 38648-16

Quality First Software GmbH | www.qfs.de
Tulpenstr. 41 | 82538 Geretsried | Germany
GF Gregor Schmid, Karlheinz Kellerer
HRB München 140833