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

2016 up to now | 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] 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 Documentation Buy Free Trial