Hi there,

I am trying to test a email funtionality which would login to an email account and check if there is a registration email. If there is an email then I wanted to extract the activation link from the email content and activate the registration. But I have a problem with the EmailContentFilter step while trying to get the email content. The test script is as follows;

<emailSetConfig
   server="${mailserver}"
   type="${servertype}"
   username="${pop3username}"
   password="${pop3password}"
   delay="15" />
<emailStoreMessageId
   subject="${REGISTRATION}"
   property="mid"
   from="[EMAIL PROTECTED]" />
<emailMessageContentFilter
   contentType="plain"
   messageId="#{mid}" />
<emailDeleteMessage messageId="#{mid}" />

The exception I get is as follows;

com.canoo.webtest.engine.StepExecutionException: Unexpected exception caught: java.lang.NullPointerException: taskname is null for 
AbstractEmailFilter.EmailFilterHelper at  with (), Step: EmailMessageContentFilter at 
D:\eclipse\workspace\test\ui\modules\anmeldung\activateRegistration.xml:13:  with (saveResponse="true", 
description="<unknown>", savePrefix="response", messageId="1", contentType="plain", 
stepType="emailMessageContentFilter")
        at com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java:587)
        at com.canoo.webtest.steps.Step.execute(Step.java:145)
        ...
        ... and so on

What is that taskname? Is is it the description or is there something else i'm 
missing? Any suggession or help would be greatly appreciated.

Regards,
Shafeer.

--
mindmatters*

* Neuer Kamp 30
 20357 Hamburg

 Fon       +49 40 31792272
 Fax       +49 40 31792273
 E-Mail    mailto:[EMAIL PROTECTED]
 Website   http://www.mindmatters.de/

-------------------------------------------------------------------------
Es läuft und läuft und läuft: Schon über 20.000 Downloads für JSF-Spring,
unsere JSF-/Spring-Integrationslösung! http://jsf-spring.sourceforge.net/
-------------------------------------------------------------------------

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to