you should probably hover over the menu and then click the element you want
On Thu, Oct 25, 2012 at 1:41 PM, Bhavesh <[email protected]> wrote: > Im able to click on main menu i.e "View". > > im using like this to click View menu : > > $ie.frame(:id, 'MainEx_view_0').frame(:id, > 'Classic_workarea_0').frame(:id, 'Form_menubar_0').form(:id, > 'MenuBar_0').div(:id, 'MenuBar_view_menu_0html_id').click > > Problem happens when a submenu is generated when i click "View" main menu. > > In this submenu, there are other sub options available like Info, register > etc, but im not able to click any of it. > > > > On Thursday, October 25, 2012 10:15:02 AM UTC-7, RJ wrote: >> >> what happens when you invoke the following? >> >> browser.div(:id => "MenuBar_view_menu_0html_id").**fire_event('onclick') >> >> -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > [email protected] > http://groups.google.com/group/watir-general > [email protected] > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
