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

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

Videos Downloads Documentation Buy Free Trial