I am working on java desktop application I have to click on the submenu which is nested inside using test complete and Java script. Menu looks like this

Tools->1stlevel->Second level.

I am able to click till 1st level if second level not there. But if second level is persent script is not able to find 1st level itself.[IMG]\\akl0ns952\user03$\akhtez\Desktop\error.png[/IMG]