I believe most of the htttunitoptions are static and global.  So call any
httpunit options prior to running the unit tests.

Either in setUp()  or in the junit decorator class prior to a test suite.

HTH..

Nick

> -----Original Message-----
> From: Quinton Wall [mailto:[EMAIL PROTECTED]
> Sent: Sunday, August 01, 2004 4:13 PM
> To: [EMAIL PROTECTED]
> Subject: [Jwebunit-users] Accessing HttpUnitOptions
> 
> 
> 
> Hi,
> 
> does anyone know how to access the HttpUnitOptions object 
> when using JWebUnit?
> 
> In particular I want to do 
> HttpUnitOptions.setExceptionsThrownOnScriptError(
> false ); as the website I am testing uses the Javascript function
> 'getAttribute' which does not seem to be supported through Rhino.
> 
> Any suggestions/advice would be appreciated.
> 
> Regards
> 
> Quinton
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by OSTG. Have you noticed the 
> changes on
> Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
> one more big change to announce. We are now OSTG- Open Source 
> Technology
> Group. Come see the changes on the new OSTG site. www.ostg.com
> _______________________________________________
> Jwebunit-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jwebunit-users
> 


- - - - - - 
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 OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Jwebunit-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to