Hi

It is just idea, because I have a lot of issues due that. When you do:
$b.li(:id,'ctl00_AddMenu').hover action, so correct item is hovered, right?I 
mean Menu1 is become active

But then, when you do $b.li(:id, 'ctl00_AddAssetFolderMenuItem').click, 
menu2 become active and wrong element is clicked
>From user perspective it looks like mouse cursor moved on wrong menu item

If so, you can play with next javascript events, it helps me sometime:
$b.li(:id,'ctl00_AddMenu').fire_event("onmousedown")
$b.li(:id, 'ctl00_AddAssetFolderMenuItem').click

or

$b.li(:id,'ctl00_AddMenu').fire_event("onmousedown")
$b.li(:id,'ctl00_AddMenu').fire_event("onclick")
$b.li(:id, 'ctl00_AddAssetFolderMenuItem').click

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to