JavaScript to expand submenu in a jquery website with Jquery ui plugin installed

JavaScript to expand submenu in a jquery website with Jquery ui plugin installed

Dear all,

I am currently developing a automation testing program in IE to a jquery website with menu widget plugin installed. However using Selenium click function is not able reproduce the hovering of menu item to display the sub menu items. Hence I am thinking of directly call the JavaScript in the webpage to trigger the sub menu display.

Can you guys advise how the JavaScript shall be written to trigger a display of sub menu items? (I.e. simulate hovering the menu item for display)

Many thanks,