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 2007

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

[QF-Test] 'Check enabled state' node not working correctly with submenus.

  • Subject: [QF-Test] 'Check enabled state' node not working correctly with submenus.
  • From: "Adrian Chamberlain \(BE/ETL\)" <adrian.chamberlain@?.com>
  • Date: Thu, 26 Apr 2007 15:17:00 +0200

'Check enabled state' node not working correctly with menu items which
are submenus.  A submenu is of course a menu item (i.e. JMenu is
a subclass of JMenuItem).

If the 'Check enabled state' node is used to determine if a submenu is
enabled the check node never fails, even when the submenu is
disabled (greyed out).

For example:

item 1
item 2
item 3
submenu 1
item 4
item 5

Using the 'check enabled state' node to determine if menu item 'submenu 1' is disabled
never fails (i.e. no CheckFailed exception is thrown).

Given that 'submenu 1' will be a JMenu and given that JMenu is a subclass of JMenuItem,
why does the 'check enabled state' node not work correctly in this case ?

Any help appreciated.


Videos Downloads Documentation Buy Free Trial