Hi,
I'm trying to test my eclipse RAP application with Selenium. But I habe no idea how to click on a button. Buttons are not rendered as input-elements in the resulting HTML code. This is the sample application of the project: [
http://rap.innoopract.com/rap]
Here is my attempt to click the "Login" button:
selenium = new DefaultSelenium("localhost", 4444, "*firefox", "
http://rap.innoopract.com/rap");
selenium.start();
selenium.open("
http://rap.innoopract.com/rap");
selenium.click("//DIV[DIV/text()='Login']");
The application starts and the xpath expression seems to be ok, (i get an exception, if i change it to a uncorrect one) but nothing happens (without providing a username and a password hint should appear).
Thanks in advance!
Magnus