Hello,
I'm evaluating the use of Selenium Webdriver for the testing of SmartGWT.
Firefox and Chrome work fine for me but I can't get Internet Explorer to work with SmartGWT. More specifically I can't get it to click on SmartGWT elements.
I've followed the Installation and Setup process as described on the IE Webdriver project page.
I've tried the click on different SmartGWT elements, including regular buttons.
I've confirmed that the same setup can click on a Button on a non SmartGWT website, so I suspect it's not a general Webdriver issue.
Here's a setup which should reproduce the problem:
The SmartGWT Showcase:
v10.0p_2015-04-01/LGPL Development Only (built 2015-04-01)
isomorphic_webdriver.jar from the nightly build:
SmartClient_SNAPSHOT_v101d_2015-04-02_LGPL
Internet Explorer 11:
Version: 11.0.9600.17690
Updateversion: 11.0.17 (KB3032359)
The testcase (supposed to click on "Grids" Checkbox):
Best regards,
Andre
I'm evaluating the use of Selenium Webdriver for the testing of SmartGWT.
Firefox and Chrome work fine for me but I can't get Internet Explorer to work with SmartGWT. More specifically I can't get it to click on SmartGWT elements.
I've followed the Installation and Setup process as described on the IE Webdriver project page.
I've tried the click on different SmartGWT elements, including regular buttons.
I've confirmed that the same setup can click on a Button on a non SmartGWT website, so I suspect it's not a general Webdriver issue.
Here's a setup which should reproduce the problem:
The SmartGWT Showcase:
v10.0p_2015-04-01/LGPL Development Only (built 2015-04-01)
isomorphic_webdriver.jar from the nightly build:
SmartClient_SNAPSHOT_v101d_2015-04-02_LGPL
Internet Explorer 11:
Version: 11.0.9600.17690
Updateversion: 11.0.17 (KB3032359)
The testcase (supposed to click on "Grids" Checkbox):
Code:
//I've also tried adding IEDriverServer.exe to Path: System.setProperty("webdriver.ie.driver", "E:\\Testing\\Tools\\IE_Driver\\IEDriverServer.exe"); SmartClientWebDriver driver = new SmartClientIEDriver(); driver.setBaseUrl(""); //scLocator captured with Selenium IDE String scLocCheckbox="scLocator=//VLayout[ID=\"isc_Showcase_1_0\"]/member[Class=VLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=HLayout||index=0||length=2||classIndex=0||classLength=1]/member[Class=SplitPane||index=0||length=2||classIndex=0||classLength=1]/rightLayout/member[Class=TabSet||index=0||length=1||classIndex=0||classLength=1]/tabPane[title=Home%26nbsp%3B%26nbsp%3B||ID=main_tab||index=0]/member[Class=VLayout||index=0||length=1||classIndex=0||classLength=1]/member[Class=DynamicForm||index=0||length=2||classIndex=0||classLength=1]/item[name=gridsCB||title=Grids||value=true||index=17||Class=CheckboxItem]/valueicon"; driver.get("http://localhost:8080/showcase/#main"); //your showcase URL driver.click(ByScLocator.scLocator(scLocCheckbox));
Andre
Comment