Hi,

Currently, JWebUnit is missing many methods to obtain information from page. 
These methods exist in the TestingEngine API, but are not visible by 
WebTestCase. The method you need is getPageText().
You can call it by using getDialog().getPageText(), but the best solution is to 
make getPageText() visible to WebTestCase. Feel free to open a feature request 
or to provide a patch + unit test, because I'm currently very busy.

++

Julien

----- Message d'origine ----
De : "Sharma, Sanjeev4 " <[EMAIL PROTECTED]>
À : [email protected]
Envoyé le : Mardi, 15 Mai 2007, 21h11mn 11s
Objet : [JWebUnit-development] Searching for Specific string

Hi,
   I'm new to Jweb unit and I have a requirement where in I have to
write a test where in I will search through the entire jsp or html
   and I have to look out for string and then get the complete string.
   And then later compare with dates as my jsp or html is bound to have
data with dates.
   Please let me know in case is it possibel and it will be nice if some
one can send a sample code.

   Thanks in advance


Thanks and Regards
Sanjeev

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
JWebUnit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development





      
_____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
JWebUnit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to