The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
If you want to stay informed about news about QF-Test, you can simply subscribe to our newsletter:
Subscribe to Newsletter
[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
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
|
1. Functional cookies
We use functional cookies to ensure the basic functionality of the website.
2. Performance and statistic cookies
We use Matomo for analyzing and optimizing our website. Cookies permit an anonymous collection of information that help us offering you a clear and user-friendly visit of our web pages.
This cookie contains a unique, pseudonymized visitor ID internal to Matomo for recognizing returning visitors.
This cookie is used to track from which website the anonymized user proceeded to our website.
The Matomo session cookie is used to track the visitor's page requests during the session.
is created and should be then directly deleted (used to check whether the visitor’s browser supports cookies).
short lived cookies used to temporarily store data for the visit.
short lived cookies used to temporarily store data for the visit.