I have the following declaration:

[-] window JavaMainWin BIJBean
[ ] tag "Business Intelligence JavaBeans Demonstration"
[+] JavaJFCToolBar DemoViewsGuiViewToolBar
[ ] tag "#1"
[+] JavaJFCComboBox JavaxSwingJComboBox2
[ ] tag "#2"
[+] JavaJFCComboBox JavaxSwingJComboBox3
[ ] tag "#3"
[+] JavaJFCToggleButton JavaxSwingJToggleButton1
[ ] tag "#1"
[+] JavaJFCToggleButton JavaxSwingJToggleButton2
[ ] tag "#2"
[+] JavaJFCToggleButton JavaxSwingJToggleButton7
[ ] tag "#7"
[+] JavaJFCToggleButton JavaxSwingJToggleButton3
[ ] tag "#3"
[+] JavaJFCToggleButton JavaxSwingJToggleButton4
[ ] tag "#4"
[+] JavaJFCToggleButton JavaxSwingJToggleButton5
[ ] tag "#5"
[+] JavaJFCPushButton OracleBaliEwtChooserColor1
[ ] tag "#1"
[+] JavaJFCPushButton OracleBaliEwtChooserColor2
[ ] tag "#2"
[+] JavaJFCPushButton OracleBaliEwtChooserColor3
[ ] tag "#3"
[+] JavaJFCToggleButton JavaxSwingJToggleButton8
[ ] tag "#8"
[+] JavaJFCToggleButton JavaxSwingJToggleButton9
[ ] tag "#9"
[+] JavaJFCPushButton JavaxSwingJButton2
[ ] tag "#5"
[+] JavaJFCPushButton JavaxSwingJButton3
[ ] tag "#6"
[+] JavaJFCToggleButton JavaxSwingJToggleButton111
[ ] tag "#10"
[+] JavaJFCToggleButton JavaxSwingJToggleButton112
[ ] tag "#11"
[+] JavaJFCComboBox JavaxSwingJComboBox1
[ ] tag "#1"
[+] JavaJFCToggleButton JavaxSwingJToggleButton12
[ ] tag "#12"
[+] JavaJFCToggleButton JavaxSwingJToggleButton6
[ ] tag "#6"
[+] JavaJFCPushButton JavaxSwingJButton1
[ ] tag "#4"
[+] JavaJFCImage JavaxSwingJLabel
[ ] tag "#1"
[-] JavaJFCMenu File
[ ] tag "File"
[+] JavaJFCMenuItem Connect
[ ] tag "Connect"
[+] JavaJFCMenuItem Disconnect
[ ] tag "Disconnect"
[+] JavaJFCMenuItem New
[ ] tag "New"
[+] JavaJFCMenuItem Open
[ ] tag "Open"
[+] JavaJFCMenuItem Close
[ ] tag "Close"
[+] JavaJFCMenuItem Save
[ ] tag "Save"
[+] JavaJFCMenuItem SaveAs
[ ] tag "SaveAs"
[+] JavaJFCMenuItem Delete
[ ] tag "Delete"
[+] JavaJFCMenuItem Print
[ ] tag "Print"
[+] JavaJFCMenuItem Exit
[ ] tag "Exit"
[ ]


Record of picking the menu item Connect looks like this:

[ ] JavaMainWin("Business Intelligence JavaBeans Demonstration").SetActive ()
[ ] JavaMainWin("Business Intelligence JavaBeans Demonstration").JavaJFCMenu("File").JavaJFCMenuIte m("Connect").Pick ()

However, when I play this back I consistently get the error message:

[ ] *** Error: Window 'Connect' is not enabled
[ ] Occurred in Pick
[ ] Called from JavaMainWin("Business Intelligence JavaBeans
Demonstration").JavaJFCMenu("File").JavaJFCMenuIte m("Connect")::Pick at
javaex.inc(364)
[ ] Called from main at temp1.t(4)

What does this mean? Silktest never records any action associated with menu "File." BIJBean.File.IsEnabled() returns FALSE. How is JavaJFCMenu File enabled?

This is consistent behavior. Observe another declaration and recording:

[-] window JavaMainWin BIBeans
[ ] tag "Business Intelligence Beans Visual Test Framework"
[-] JavaJFCImage JavaxSwingJLabel
[ ] tag "#1"
[-] JavaJFCMenu File
[ ] tag "File"
[-] JavaJFCMenu New
[ ] tag "New"
[+] JavaJFCMenuItem Graph
[ ] tag "Graph"
[+] JavaJFCMenuItem CrossTab
[ ] tag "CrossTab"
[+] JavaJFCMenuItem Table
[ ] tag "Table"

[-] // recording
[ ] // JavaMainWin("Business Intelligence Beans Visual Test
Framework").SetActive ()
[ ] // JavaMainWin("Business Intelligence Beans Visual Test
Framework").JavaJFCMenuItem("Graph").Pick ()
[ ] // JavaMainWin("Business Intelligence Beans Visual Test
Framework").SetActive ()
[ ] // JavaMainWin("Business Intelligence Beans Visual Test
Framework").JavaJFCMenuItem("CrossTab").Pick ()

As a corollary issue, sometimes but not always, SilkTest records the JavaJFCMenu "File" and JavaJFCMenuItem "Connect" at the same level of hierarchy. Lastly, sometimes Record Class only records JavaJFCToolBar DemoViewsGuiViewToolBar, and not the individual menus.

Thank you for any assistance you can give with this problem.