Hi,

Are you using the latest release of JWebUnit (1.4)?

Could you please provide HTML code.

Thanks.

++

Julien

----- Message d'origine ----
De : Christian Arnold <[EMAIL PROTECTED]>
À : jwebunit-users@lists.sourceforge.net
Envoyé le : Lundi, 23 Avril 2007, 11h12mn 21s
Objet : [JWebUnit-users] Get page source from frames

Hello!

I have to test a website build on frames. I tried

gotoFrame("main_frame");
setWorkingForm("FrmEdit");

But the setWorkingForm throws UnableToSetFormException: Attempted to set 
form to null.

But this form has to be present. Now I want to see the page source of 
that frame to check this, but how can I get it?

System.out.println(getPageSource());

only shows me the source of the main document, not of the as active set 
frame.

Best Regards
Christian Arnold

-------------------------------------------------------------------------
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-users mailing list
JWebUnit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-users





      
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com

-------------------------------------------------------------------------
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-users mailing list
JWebUnit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to