Author: ozizka(a)redhat.com
Date: 2009-03-13 17:20:31 -0400 (Fri, 13 Mar 2009)
New Revision: 225
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/EmbJoprTestToolkit.java
Log:
Fixed getClickableById() in EJTT. Thanks to Charles for noticing
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/EmbJoprTestToolkit.java
===================================================================
---
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/EmbJoprTestToolkit.java 2009-03-13
21:15:14 UTC (rev 224)
+++
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/util/EmbJoprTestToolkit.java 2009-03-13
21:20:31 UTC (rev 225)
@@ -1051,7 +1051,7 @@
public ClickableElement getClickableByID( String id ) throws
HtmlElementNotFoundException {
ClickableElement clickable = (ClickableElement) client.getElement( id );
if( null == clickable )
- throw new HtmlElementNotFoundException("Can't find element with ID:
"+clickable);
+ throw new HtmlElementNotFoundException("Can't find element with ID:
"+id);
return clickable;
}
Show replies by date