Thanks!! it worked. Here is my code,
Actions myActions = new Actions(driver)
myActions.clickAndHold(menu1).build().perform()
myActions.moveToElement(menu2).click().build().perform()
Also the pointer should be moved out of IE.
Thanks!! it worked. Here is my code,
Actions myActions = new Actions(driver)
myActions.clickAndHold(menu1).build().perform()
myActions.moveToElement(menu2).click().build().perform()
Also the pointer should be moved out of IE.