Author: jharting
Date: 2011-01-06 04:44:06 -0500 (Thu, 06 Jan 2011)
New Revision: 13971
Modified:
branches/community/Seam_2_2/src/test/ftest/src/main/org/jboss/seam/example/common/test/selenium/SeleniumDateSelector.java
Log:
JBSEAM-4753
Modified:
branches/community/Seam_2_2/src/test/ftest/src/main/org/jboss/seam/example/common/test/selenium/SeleniumDateSelector.java
===================================================================
---
branches/community/Seam_2_2/src/test/ftest/src/main/org/jboss/seam/example/common/test/selenium/SeleniumDateSelector.java 2011-01-05
14:32:01 UTC (rev 13970)
+++
branches/community/Seam_2_2/src/test/ftest/src/main/org/jboss/seam/example/common/test/selenium/SeleniumDateSelector.java 2011-01-06
09:44:06 UTC (rev 13971)
@@ -78,7 +78,7 @@
@Override
public void setDay(SeamSelenium browser, int day)
{
- String locator =
"xpath=//td[(a)class='iceSelInpDateDay']/a[./span/text()='" +
Integer.toString(day) + "']";
+ String locator =
"xpath=//td[normalize-space((a)class)='iceSelInpDateDay']/a[./span/text()='"
+ Integer.toString(day) + "']";
browser.waitForElement(locator);
browser.click(locator);
}
Show replies by date