Extra predicates matching of form elements and links
Brought to you by:
henryju
Hello,
I'm in need of MATCH_TEXT matching for links and of
MATCH_CONTAINS for fields.
The reason for the link matching is that I have links
that contain the same text as one I want to match. Thus
I cannot directly find my link.
The reason for the form name matching is that we are
trying to test weblogic portal and it generates names
that are not guaranteed to be the sam at every
deployment. They do however contain unique strings.
Ill attach a subclass of WebTestCase that adds the
desired functionality using a hacked HttpUnitDialog.
public void submitRequest(WebLink aLink)
^^^^
instead of protected
Subclass of JWebUnit with extra functionality