2018 up to now | 2017 | 2016 | 2015 | 2014 | 2013 | 2012

Mailing List - Entries of 2013


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

Re: [QF-Test] Check the state of the checkbox of a tree node


  • Subject: Re: [QF-Test] Check the state of the checkbox of a tree node
  • From: Joaquin Rodriguez Guerra <Joaquin.RodriguezGuerra@?.int>
  • Date: Tue, 25 Jun 2013 15:46:36 +0200

Thanks for the tip Martin!

-----Original Message-----
From: Martin Moser [mailto:martin.moser@?.de]
Sent: Tuesday, June 25, 2013 9:45 AM
To: 'qftest-list@?.de'
Cc: Joaquin Rodriguez Guerra
Subject: Re: [QF-Test] Check the state of the checkbox of a tree node

Hi Joaquin,

checkboxes in tree node are a special thing.

In this case you mostly have to access the java object in an SUT script.

Alternatively you can use ''Node image' check and check for a selected image.

Best Regards,
Martin

--On Montag, Juni 24, 2013 12:01:43 +0200 Joaquin Rodriguez Guerra <Joaquin.RodriguezGuerra@?.int> wrote:

> Hey everyone,
>
> I have a swing tree where very node is composed by a checkbox and a label.
> I am selecting/deselecting the checkboxes in the swing tree by using
> the swing.tree.selectNode procedure.  Now I would be interested in
> knowing if the checkbox of a node is selected or not, before selecting
> the node again. Is there an easy way to do this? I tried to record the
> action to get the Checkbox id, but it seems like it only sees a click
> on a tree node.
>
> Thanks in advance!
> Cheers,
> Joaquín
>
>
> _______________________________________________
> qftest-list mailing list
> qftest-list@?.de
> http://www.qfs.de/mailman/listinfo/qftest-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