Logo QF-Test

Finding valuable answers
in the Mailing List Archive.


Free Trial  Download  Buy

Thomas Max, QF-Test training and support

Use the full-text search on our web site to find helpful tips on the mailing list.

Thomas Max, 
Sr. Software Engineer & Trainer, QFS

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 2012

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

Re: [QF-Test] Get a text field value in JYTHON

  • Subject: Re: [QF-Test] Get a text field value in JYTHON
  • From: Martin Moser <martin.moser@?.de>
  • Date: Thu, 05 Jul 2012 12:58:05 +0200

Hi Juan,

this depends on the utilized dependency.

In Java/Swing you can normally do something like this:

txt = rc.getComponent("id-of-textfield")
myText = txt.getText()

getText() also works on Web and some SWT applications as well.

Instead of implementing a script you can also try the 'Fetch text' node to read the current text of the component.

Best Regards,

--On Dienstag, Juni 26, 2012 13:57:37 +0200 juan.jordan@?.com wrote:


how can I get the value of a text field from the SUT in a JYTHON script ?
Thanks for your support,


qftest-list mailing list

Martin Moser                           martin.moser@?.de
Quality First Software GmbH            http://www.qfs.de
Tulpenstr. 41                          Tel: +49 8171 38648-14
DE-82538 Geretsried                    Fax: +49 8171 38648-16
GF: Gregor Schmid, Karlheinz Kellerer  HRB München 14083

Videos Downloads Documentation Buy Free Trial