Quality is delighting customers
below script is used for To print mouseover menu buttons text
driver.manage().window().maximize(); //to maximize the browser.
Actions myMouse = new Actions(driver);
WebElement Participants = driver.findElement(By.xpath("//div[@id='cp_header_wrapper']/div/ul/li/a" ));
myMouse.moveToElement(Participants).build().perform(); //participants link( here participants is main menu button)
System.out.println("Paricipants title is mouse hovered");
this will help full 2 u :-)
I didn't get the question exactly, what is the meaning of mouseover text? is this "alt text"? or general button, menu text?
Can you please keep an image for better understanding?