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 2007


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

Re: [QF-Test] How to run Input events from within a Jython script?


  • Subject: Re: [QF-Test] How to run Input events from within a Jython script?
  • From: "Robert Lahmer, QFS support" <support@?.de>
  • Date: Thu, 26 Apr 2007 15:48:01 +0200



Hello Hans,

try out the following SUT script:

componentID = "frameSwing2.text"
# Assume the input text is stored in the QF-Test variable text
text = rc.lookup("text")
textComp = rc.getComponent(componentID)
textComp.setText(text)


Regards,
   Robert


--On Donnerstag, April 26, 2007 03:22:28 -0700 Hans Schwaebli
<hans_schwaebli@?.com> wrote:

How do I run events like "Input" from within a Jython script?

  I searched for rc.input, but it is not there.

  Checks seem to be described and can be used by rc.check.

  I wanted to automate some input events in a procedure with a Jython
script.


---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.



--
Robert Lahmer
Quality First Software GmbH                http://www.qfs.de
Tulpenstr. 41                           Tel: +49 8171 919874
DE-82538 Geretsried                     Fax: +49 8171 919876
GF: Gregor Schmid, Karlheinz Kellerer     HRB München 140833




Videos Downloads Documentation Buy Free Trial