I am using watir (1.5.1.1100) and ruby 1.8.4
In my web page there are menus, I want to trigger event OnMouseOver so that the 
submenu inside those main menus can get visible.

When I ran ie.show_active, the content of main menu is displayed, as shown 
below.

irb(main):093:0> ie.show_active
=> "  id=                 innerText=TransactionsLedgerAccounts"

Also, with the below command, the content of main menu is displayed, as shown 
below.
irb(main):096:0> ie.div(:id,"navCont").text
=> "TransactionsLedgerAccounts"

The relevant snippet of HTML which I have used for creating menu in web page, 
is show below :
<div id="navCont">
<div dojoType="MenuBarItem2" pageTitle="" helpUrl="" caption="Transactions" 
href="" subMenuId="transactions" reloadMenu="false" onClick=""></div>  
<div dojoType="MenuBarItem2" pageTitle="" helpUrl="" caption="Ledger" href="" 
subMenuId="ledger" reloadMenu="false" onClick=""></div>
<div dojoType="MenuBarItem2" pageTitle="" helpUrl="" caption="Accounts" href="" 
subMenuId="accounts" reloadMenu="false" onClick=""></div>  

Please help me out for invoking fireEvent("OnMouseOver"), so that I can show 
the sub-menus inside the main menu: Transactions    Ledger    Accounts


Thanks in advance
Vikash


                
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to