Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Command for mouse over in webdriver

View previous topic View next topic Go down

Command for mouse over in webdriver

Post by adityac on Fri Apr 26, 2013 1:02 pm

Can some one suggest me what is cmd for mouseover in web driver??

adityac
Professional
Professional

Posts : 101
Join date : 2013-01-17

Back to top Go down

Re: Command for mouse over in webdriver

Post by tarun3kumar on Sat Apr 27, 2013 11:00 am

Use Action class


Last edited by tarun3kumar on Fri May 03, 2013 9:39 am; edited 1 time in total

_________________
Thanks
Tarun K
Free Selenium Training

tarun3kumar
Master
Master

Posts : 186
Join date : 2012-02-14

http://seleniumtests.com

Back to top Go down

Re: Command for mouse over in webdriver

Post by Vishveshwar on Thu May 02, 2013 5:36 pm

Hi
WebElement share = driver.findElement(By.xpath("//"));
actions.moveToElement(share).perform();

Vishveshwar

Posts : 1
Join date : 2013-05-02

Back to top Go down

Re: Command for mouse over in webdriver

Post by vinayakjadhav1857 on Fri May 10, 2013 11:36 am

Locatable hoverItem = (Locatable) driver.findElement(By.xpath("//"));
Mouse mouse = ((HasInputDevices) driver).getMouse();
mouse.mouseMove(hoverItem.getCoordinates());

njoy... Wink

vinayakjadhav1857
Active particpant
Active particpant

Posts : 19
Join date : 2013-04-22

Back to top Go down

Re: Command for mouse over in webdriver

Post by Sponsored content Today at 1:11 am


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum