When trying to do a click() call from selenium on a smartclient button, nothing happens. The web element is found, but click() does nothing. I've tried also with using scLocator("SCButton") with same results.
Simple Selenium Code:
Simple Smartclient code:
SmartClient Version: SNAPSHOT_v9.1d_2014-01-16/PowerEdition Development Only (built 2014-01-16)
Browser: Firefox 26.0
Simple Selenium Code:
Code:
SmartClientFirefoxDriver ffDriver = new SmartClientFirefoxDriver();
ffDriver.setBaseUrl("http://localhost:8080/");
ffDriver.get("trigger.html");
WebElement button = ffDriver.findElement(ByScLocator.scLocator("//IButton[ID=\"SCButton\"]"));
button.click();
Code:
isc.IButton.create({
ID: "SCButton",
left:0, top:240, width:150,
title:"Click me!",
click: function () {
alert("HERE");
}
})
Browser: Firefox 26.0