Is anyone successfully using WebDriver to test a Smart GWT application?
Due to the lack of predictable element ids it's difficult to find elements in the page; once you do find them (usually with an unoly xpath expression) they're difficult to manipulate as they're not "real" text boxes/checkboxes etc.
Correct me if I'm wrong, but the Selenium support in the nightlies doesn't help us much as we're writing our WebDriver tests directly in Java. I suppose what would be ideal would be an implementation of "org.openqa.selenium.By" which understood the "scLocator=" provided by the new Smart GWT Selenium support and an implementation of "org.openqa.selenium.WebElement" which knew how to interact with Smart GWT components.
Anyone have success with WebDriver and Smart GWT or any other tips?
Cheers, Robert.
Due to the lack of predictable element ids it's difficult to find elements in the page; once you do find them (usually with an unoly xpath expression) they're difficult to manipulate as they're not "real" text boxes/checkboxes etc.
Correct me if I'm wrong, but the Selenium support in the nightlies doesn't help us much as we're writing our WebDriver tests directly in Java. I suppose what would be ideal would be an implementation of "org.openqa.selenium.By" which understood the "scLocator=" provided by the new Smart GWT Selenium support and an implementation of "org.openqa.selenium.WebElement" which knew how to interact with Smart GWT components.
Anyone have success with WebDriver and Smart GWT or any other tips?
Cheers, Robert.
Comment