Uses of Interface
com.meterware.httpunit.HTMLElementPredicate

Packages that use HTMLElementPredicate
com.meterware.httpunit Classes for testing http server systems. 
 

Uses of HTMLElementPredicate in com.meterware.httpunit
 

Fields in com.meterware.httpunit declared as HTMLElementPredicate
static HTMLElementPredicate TextBlock.MATCH_CLASS
          Predicate to match part or all of a block's class attribute.
static HTMLElementPredicate WebLink.MATCH_CONTAINED_TEXT
          Predicate to match part or all of a link's contained text.
static HTMLElementPredicate WebTable.MATCH_FIRST_NONBLANK_CELL
          Predicate to match the complete text of a table's first non-blank cell.
static HTMLElementPredicate WebTable.MATCH_FIRST_NONBLANK_CELL_PREFIX
          Predicate to match a prefix of a table's first non-blank cell.
static HTMLElementPredicate WebTable.MATCH_ID
          Predicate to match a table's ID.
static HTMLElementPredicate WebLink.MATCH_ID
          Predicate to match a link's ID.
static HTMLElementPredicate WebForm.MATCH_NAME
          Predicate to match a link's name.
static HTMLElementPredicate WebLink.MATCH_NAME
          Predicate to match a link's name.
static HTMLElementPredicate WebTable.MATCH_SUMMARY
          Predicate to match a table's summary attribute.
static HTMLElementPredicate TextBlock.MATCH_TAG
          Predicate to match the tag associated with a block (case insensitive).
static HTMLElementPredicate WebLink.MATCH_TEXT
          Predicate to match a link's text exactly.
static HTMLElementPredicate WebLink.MATCH_URL_STRING
          Predicate to match part or all of a link's URL string.
static HTMLElementPredicate Button.WITH_ID
           
static HTMLElementPredicate Button.WITH_LABEL
           
 

Methods in com.meterware.httpunit with parameters of type HTMLElementPredicate
 Button WebForm.getButton(HTMLElementPredicate predicate, java.lang.Object criteria)
           
 WebForm HTMLSegment.getFirstMatchingForm(HTMLElementPredicate predicate, java.lang.Object value)
          Returns the first form found in the page matching the specified criteria.
 WebForm ParsedHTML.getFirstMatchingForm(HTMLElementPredicate predicate, java.lang.Object criteria)
          Returns the first link found in the page matching the specified criteria.
 WebForm WebResponse.getFirstMatchingForm(HTMLElementPredicate predicate, java.lang.Object criteria)
          Returns the first form found in the page matching the specified criteria.
 WebLink HTMLSegment.getFirstMatchingLink(HTMLElementPredicate predicate, java.lang.Object value)
          Returns the first link found in the page matching the specified criteria.
 WebLink ParsedHTML.getFirstMatchingLink(HTMLElementPredicate predicate, java.lang.Object criteria)
          Returns the first link found in the page matching the specified criteria.
 WebLink WebResponse.getFirstMatchingLink(HTMLElementPredicate predicate, java.lang.Object criteria)
          Returns the first link found in the page matching the specified criteria.
 WebTable HTMLSegment.getFirstMatchingTable(HTMLElementPredicate predicate, java.lang.Object criteria)
          Returns the first table in the response which matches the specified predicate and value.
 WebTable ParsedHTML.getFirstMatchingTable(HTMLElementPredicate predicate, java.lang.Object criteria)
          Returns the first table in the response which matches the specified predicate and value.
 WebTable WebResponse.getFirstMatchingTable(HTMLElementPredicate predicate, java.lang.Object criteria)
          Returns the first table in the response which matches the specified predicate and value.
 TextBlock ParsedHTML.getFirstMatchingTextBlock(HTMLElementPredicate predicate, java.lang.Object criteria)
          Returns the first text block found in the page which matches the specified predicate and value.
 TextBlock WebResponse.getFirstMatchingTextBlock(HTMLElementPredicate predicate, java.lang.Object criteria)
          Returns the first link found in the page matching the specified criteria.
 WebForm[] HTMLSegment.getMatchingForms(HTMLElementPredicate predicate, java.lang.Object criteria)
          Returns all forms found in the page matching the specified criteria.
 WebForm[] ParsedHTML.getMatchingForms(HTMLElementPredicate predicate, java.lang.Object criteria)
          Returns all links found in the page matching the specified criteria.
 WebForm[] WebResponse.getMatchingForms(HTMLElementPredicate predicate, java.lang.Object criteria)
          Returns all forms found in the page matching the specified criteria.
 WebLink[] HTMLSegment.getMatchingLinks(HTMLElementPredicate predicate, java.lang.Object criteria)
          Returns all links found in the page matching the specified criteria.
 WebLink[] ParsedHTML.getMatchingLinks(HTMLElementPredicate predicate, java.lang.Object criteria)
          Returns all links found in the page matching the specified criteria.
 WebLink[] WebResponse.getMatchingLinks(HTMLElementPredicate predicate, java.lang.Object criteria)
          Returns all links found in the page matching the specified criteria.
 WebTable[] HTMLSegment.getMatchingTables(HTMLElementPredicate predicate, java.lang.Object criteria)
          Returns all tables found in the page matching the specified criteria.
 WebTable[] ParsedHTML.getMatchingTables(HTMLElementPredicate predicate, java.lang.Object criteria)
          Returns the tables in the response which match the specified predicate and value.
 WebTable[] WebResponse.getMatchingTables(HTMLElementPredicate predicate, java.lang.Object criteria)
          Returns all tables found in the page matching the specified criteria.
 



Copyright © 2011. All Rights Reserved.