Currently, I am looking into automating a UI application. In this application, there is a menu that displays sub-menus upon hovering the mouse over it. However, I am facing an issue where I am unable to click on the items within the sub-menu.
Here is the HTML code snippet:
<table class="mnuAdmin_2" id="mnuAdmin" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td id="mnuAdminn0"
onmouseover="Menu_HoverStatic(this)"
...
I have attempted two solutions:
var element = driverIE.FindElement(By.LinkText("Administration")); Actions action = new Actions(driverIE);
action.MoveToElement(element).Build().Perform(); driverIE.FindElement(By.LinkText("Test2")).Click();