How would you avoid specific dependencies between UiBinder and Selenium?
I wanted to hook it with the code generation process; but given that UiBinder is itself evolving, I think I will parse the XMLs outside of the gwtc compiler. If it shapes up nicely, I will start a thread later to see if we can hook it into gwtc.
re. Web Driver v/s SeleniumIf we introduce a hierarchy of test classes similar to the Widget hierarchy, we can be truly agnostic of what framework we use. We could just write a test like
loginId.enter("
sripathi...@gmail.com");
password.enter("secret");
loginButton.click();
because while parsing the ui.xml, we know that debugId = "loginId"
is a TextBox, while "loginButton"
is a Button.
Thanks for your thoughts!
--Sri