toast-tk / toast-tk-engine

The core automation framework for your acceptance tests
http://toast-tk.io
Other
12 stars 5 forks source link

[GEFCO] Bug double click #85

Closed GuillaumeZinn closed 8 years ago

GuillaumeZinn commented 8 years ago

The double click action using Selenium on a webPage is not working. DoubleClick action : @Action(id="double_click_on_web_component", action = "Double click on " + WEB_COMPONENT, description = "") public ITestResult doubleClickOn(IWebAutoElement element) throws Exception { if(element.getWebElement() != null){ Actions action = new Actions(driver.getWebDriver()); action.doubleClick(element.getWebElement()).perform(); return new SuccessResult(); } return new FailureResult("Selector not found: " + element.getDescriptor().getLocator()); }