I want to add the following to the API starting from the WebTestCase

public boolean isTextPresent(String text) {

}


My goal here being in my company specific concrete class, I need to verify
that a specific text is present, if it is then I need to click dialog boxes
accordingly.

Option two is catch the exception from the assertTextPresent() and then
return true / false.  This doesn't seem like a good solution.

Any thoughts???

Nick Neuberger


- - - - - - 
This e-mail message is intended only for the use of the individual or entity
identified in the alias address of this message and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution of this e-mail message is strictly prohibited. If you have
received this e-mail message in error, please notify the sender immediately
by reply e-mail and delete this message from your system. Thank you.


-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
Jwebunit-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to