Hi all,
I'm writing integration tests for the patch fixing
http://jira.xwiki.org/jira/browse/XABLOG-99. In particular, I want to
test adding, renaming and deleting of blog categories from
Blog/ManageCategories page.
My problem is that the "toolbox" with rename and delete buttons is only
displayed on hover, and selenium complains that it cannot access
invisible elements.
I tried to use RenderedWebElement.hover() as follows:
By locator = By.xpath("//a[contains(@href, \""
+ name +
"\")]/ancestor::span[@class='blog-category-level']");
RenderedWebElement category
= (RenderedWebElement) getDriver().findElement(locator);
category.hover();
but the n I get error "Unable to hover over element".
Does anybody knows how to show these delete buttons?
I'm using FF 3.6 on Linux.
Thanks,
Alex