Logo QF-Test

Im Archiv der Mailingliste
wertvolle Antworten finden.

 

Gratis Testen  Download  Kaufen

Thomas Max, QF-Test Training und Support

Tipp für die Recherche in der Mailingliste: Volltextsuche (oben) verwenden.

Thomas Max,
Sr. Software Engineer & Trainer, QFS

2016 bis heute 2015 | 2014 | 2013 | 2012 | 2011 2010 2009 | 2008 | 2007

(ältere Archiveinträge vor 2007 nicht dargestellt, aber in der Suche enthalten)

Mailingliste - Einträge 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: Hans Schwaebli <hans_schwaebli@?.com>
  • Date: Thu, 26 Apr 2007 22:01:13 -0700 (PDT)

Thanks. I think this will work.
 
I thought there might be a special internal procedure for this in QFT, so I asked. But It would not do anything else than setText anyway I suppose.


"Robert Lahmer, QFS support" <support@?.de> wrote:


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



Ahhh...imagining that irresistible "new car" smell?
Check out new cars at Yahoo! Autos.
Videos Downloads Dokumentation Kaufen Gratis Testen