Well, wouldn't you want to indicate to the user that the send was
successful or not?  If so, you could just look for that.  I know you
said that the submission doesn't affect the page but don't you want to
let the user know it worked?

-Mike

On 4/10/06, Dan Adams <[EMAIL PROTECTED]> wrote:
> Okay, I have a page that, when submitted, sends an email. Now the page
> uses a service via interface that actually does the emailing and that
> service is tested separately. But how can I write a test that makes sure
> that my page actually calls that service and that the email gets sent
> since that doesn't effect the page in any way that i can test for using
> htmlunit? Does anyone know of a lightweight mail server analogous to
> jetty/hsqldb that i could use for testing?
>
> --
> Dan Adams
> Software Engineer
> Interactive Factory
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to