Vivek Venugopalan
-
2004-06-06
- status: open --> pending
For the following HTML.
<a href="addusers.html"><img height="22" width="22"
border="0" alt="New User"
src="/access/images/sub.x.point.gif"/><img height="22"
width="58" border="0" alt="New User"
src="/access/images/sub.users.newuser.gif"/></a>
assertLinkPresentWithImage("sub.x.point.gif") is true,
while
assertLinkPresentWithImage("sub.users.newuser.gif") is
false.
The getChildImageElement method of the
LinkImagePredicate returns only the first element
within the link of type img. In reality, it should
return an enumeration of them for iteration by the
matchesCriteria method.