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. 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s