I want to test a menu which opens when the user moves the mouse over it. It closes when the mouse leaves the menu. How can I do this using Selenium-rc and Java?
My wish would be the following code to work, given that a div#navi_settings contained the menu which contains the - normally invisible - a element:
selenium.mouseHover("css=div#navi_settings");
assertTrue(selenium.isVisible("//a[contains(text(), 'Text on link')]"));
Unfortunately, the method moveHover() does not yet exist.