Author: dsvyatobatsko
Date: 2008-08-11 08:42:36 -0400 (Mon, 11 Aug 2008)
New Revision: 10020
Modified:
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/testng/InputNumberSpinnerTest.java
Log:
fixed the spinner test
Modified:
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/testng/InputNumberSpinnerTest.java
===================================================================
---
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/testng/InputNumberSpinnerTest.java 2008-08-11
12:36:06 UTC (rev 10019)
+++
trunk/test-applications/seleniumTest/src/test/java/org/richfaces/testng/InputNumberSpinnerTest.java 2008-08-11
12:42:36 UTC (rev 10020)
@@ -43,14 +43,14 @@
private void clickUp() {
String id = getParentId() + "_form:" + "spinnerButtons";
- selenium.fireEvent("xpath=//table[@id='" + id +
"']/tbody/tr[1]/td/input", "mousedown");
- selenium.fireEvent("xpath=//table[@id='" + id +
"']/tbody/tr[1]/td/input", "mouseup");
+ selenium.fireEvent("xpath=//table[@id='" + id +
"']/tbody/tr[1]/td", "mousedown");
+ selenium.fireEvent("xpath=//table[@id='" + id +
"']/tbody/tr[1]/td", "mouseup");
}
private void clickDown() {
String id = getParentId() + "_form:" + "spinnerButtons";
- selenium.fireEvent("xpath=//table[@id='" + id +
"']/tbody/tr[2]/td/input", "mousedown");
- selenium.fireEvent("xpath=//table[@id='" + id +
"']/tbody/tr[2]/td/input", "mouseup");
+ selenium.fireEvent("xpath=//table[@id='" + id +
"']/tbody/tr[2]/td", "mousedown");
+ selenium.fireEvent("xpath=//table[@id='" + id +
"']/tbody/tr[2]/td", "mouseup");
}
private String getSpinnerValue() {
Show replies by date