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] Waiting for a selected component


  • Subject: Re: [QF-Test] Waiting for a selected component
  • From: <Christopher.Stanbridge@?.au>
  • Date: Tue, 2 Oct 2007 14:23:41 +1000

Hi Greg,

I've taken your advice and I'm now using a 'Check Enabled State' node
with a Timeout attribute set instead of the 'Wait for component'.
I'm now getting an "Unexpected index" error when running the script:

"This operation doesn't support an index for a component of class
'Component'."

Is there something I'm missing?

Cheers,
Chris.

> Hi Chris,
>
> this is a feature of QF-Test that is often overlooked. Perhaps we
> should add an example to the tutorial.
>
> Anyway, every check node has a 'Timeout' attribute that works just
> like in a 'Wait for component' node, except that in this case QF-Test
> waits until the component has the desired state.
>
> Best regards,
>     Greg
>
> <Christopher.Stanbridge@?.au> writes:
>
> >    Hi,
> >
> >    My swing SUT displays a list of components that are selectable.
> >
> >    When a component is selected the icon changes and the component
> >    inherits the state of `selected'. I currently use the `Check
selected
> >    state' node to identify this state and it works well.
> >
> >    The enhancement I'm looking for is to insert a `Wait for selected
> >    state' command so that the test will pause until it identifies
the
> >    change in the component.
> >
> >    I use the `Wait for component' regularly for other items on
screen,
> but
> >    the component name does not change when selected.
> >
> >    Do you have any ideas?
> >
> >    Thanks in advance,
> >
> >    Chris




Videos Downloads Dokumentation Kaufen Gratis Testen