19 November, 2014

How to click on the Mouse-Hover Text element in Selenium Webdriver?

Step1: Locate the path of Mouse-Hover element and store them in the web element.
          
 WebElement Mhovertestelement = driver.findElement(By.----( ));  


Step2: User Action class
          
 Actions builder = new Actions(driver)  

         
Step3: Go to the Web element and perform
         
 builder.moveToElement(Mhovertestelement).perform( );   


Step4: After Mouse-Hover you can easily click on the web element to be selected. 

No comments:

Post a Comment