hi all,
i added some functions we needed for our project.
i added the following functions. additional the are the related function in WebTestCase.java and HttpUnitDialog.java
i will add a patch including all this stuff.
/**
* Assert that supplied text is present in a specific table.
*
* @param tableSummaryOrId summary or id attribute value of table
* @param text text to search for
* @param link link to find in the row of text
*/
public void assertLinkInTable(String tableSummaryOrId, int col, String text, String link) {...}
/**
* Navigate by selection of a link in a table.
*
* @param tableSummaryOrId
* @param text text to identify the link
* @param link text of the link
*/
public void clickLinkInTable(String tableSummaryOrId, int col, String text, String link) {...}
/**
* Assert that a link containing a specified url is present.
*
* @param urlName
*/
public void assertLinkPresentWithUrl(String urlName) {...}/**
* Navigate by selection of a link with a given image.
*
* @param imageFileName A suffix of the image's filename; for example, to match
* <tt>"images/my_icon.png"</tt>, you could just pass in
* <tt>"my_icon.png"</tt>.
*/
public void clickLinkWithUrl(String urlName) {...}
/**
* Click the button with the given value.
*
* @param buttonValue
*/
public void clickButtonWithValue(String buttonValue) {...}/**
* Assert that a button with a given value is present.
*
* @param buttonValue
*/
public void assertButtonPresentWithValue(String buttonValue) {...}/**
* Switch to another Url without a link or button.
* If you use parameter within the url you should use
* URLEncoder.encode() to encode the parameter before.
*
* @param String url
*/
public void setUrl(String url) {...}best regars Kester
-- Mit freundlichen Gr��en Kester
--------------------------------------------------------------- PIRONET NDH AG Kester Mielke - Quality Assurance Maarweg 149-161 - 50825 Cologne - Germany Phone: +49 (0)221-770-1723 - Fax: +49 (0)221-770-1005 <mailto:[EMAIL PROTECTED]> - <http://www.pironet-ndh.com> ---------------------------------------------------------------
------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Jwebunit-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jwebunit-development
