List Icon
Archiv Mailingliste

2019 bis Juli 2022  2018  | 2017 2016 2015 | 2014 | 2013

Die Mailingliste ist seit Juli 2022 geschlossen, dient aber weiterhin als Informationsarchiv zu QF-Test.
Wenn Sie über Neuerungen zu QF-Test informiert bleiben wollen, können Sie einfach unseren Newsletter abonnieren:
Newsletter abonnieren


[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: Martin Moser <martin.moser@?.de>
  • Date: Tue, 25 Jun 2013 09:45:11 +0200

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