Hi @all,
today i tried to test my SmartGWT application with Selenium and the robotframework. First I used the user-extension.js provided by SmartGWT2.2. But i had some errors, because I don't only use scLocators, also the regular selenium-locators. So I tried the version from the nightly build but I had two errors too.. So I took a closer look and fixed 2 problems with the user-extensions.js. Now everything is working fine for me!
1. In the Selenium.prototype.doType and some other Methods there was no "isSCLocator"-Check. I implemented this check!
2. autWindow.isc.AutoTest.getPageCoords(scLocator) is not working on my machine (Firefox 3.6.12, Selenium IDE 1.0.8). I reverted this lines to the SmartGWT 2.2 revision which use autWindow.isc.Element.getElementRect(element);. Thats working perfect for me.
If you need any help or the code, please feel free to write me.
Greetz from Germany
today i tried to test my SmartGWT application with Selenium and the robotframework. First I used the user-extension.js provided by SmartGWT2.2. But i had some errors, because I don't only use scLocators, also the regular selenium-locators. So I tried the version from the nightly build but I had two errors too.. So I took a closer look and fixed 2 problems with the user-extensions.js. Now everything is working fine for me!
1. In the Selenium.prototype.doType and some other Methods there was no "isSCLocator"-Check. I implemented this check!
2. autWindow.isc.AutoTest.getPageCoords(scLocator) is not working on my machine (Firefox 3.6.12, Selenium IDE 1.0.8). I reverted this lines to the SmartGWT 2.2 revision which use autWindow.isc.Element.getElementRect(element);. Thats working perfect for me.
If you need any help or the code, please feel free to write me.
Greetz from Germany
Comment