This is an example usage of GreenMail server [1] [2] which might help you.
[1]
https://github.com/wso2-dev/jaggery/blob/master/server/integration/src/test/java/org/wso2/jaggery/integration/tests/hostObjects/community/EmailHostObjectTestCase.java
[2] http://www.icegreen.com/greenmail/#examples
Hi Dilan,
Can't you use an API to make sure the email has received to user's email
account at the end to make the test pass.
Thanks,
Iqbal
On Wed, Jan 14, 2015 at 12:17 PM, Dilan Udara Ariyaratne dil...@wso2.com
wrote:
Hi Krishantha,
There is a problem on testing this email sending
Hi Dilan ,
You can find this blog post[1] about Java Mail API to access gmail account.
[1] https://irhamiqbal.wordpress.com/java-mail-api/
Thanks,
Iqbal
On Wed, Jan 14, 2015 at 3:17 PM, Dilan Udara Ariyaratne dil...@wso2.com
wrote:
Hi Saneth Iqbal,
To manually verify the email
Hi Saneth Iqbal,
To manually verify the email functionality, I can look at the terminal or
server log for any exceptions
and if there aren't any exceptions, I can look into the provided user's
email account to check the incoming message.
The problem with a Selenium test is that the success or
Hi All,
If the success or failure of sending an email is not reflected at the UI
level, as you mentioned only way to verify is using the server log and
receivers inbox.
But in this UI test, you are trying to verify some thing that the end user
never experienced. I have doubt in how far that is
Hi Krishantha,
There is a problem on testing this email sending functionality using the UI
and Selenium.
This is because any error that occurs at the email sending level is not
reflected at the UI level.
What do you think?
Regards,
Dilan.
*Dilan U. Ariyaratne*
Software Engineer
WSO2 Inc.
Can you list the steps required to manually verify the scenario. We have
recently implemented GreenMail sever utility for test framework. We can
propose how to automate based on the manual steps.
Thanks,
Krishantha.
On Tue, Jan 13, 2015 at 9:14 AM, Inosh Perera ino...@wso2.com wrote:
Hi
Do you need to configure mail transport in this case ? if yes, in which
file ?
Thanks,
Krishantha
On Mon, Jan 12, 2015 at 3:40 PM, Dilan Udara Ariyaratne dil...@wso2.com
wrote:
Hi Folks,
I am checking the feasibility of writing an automated test case for the
email
sending functionality of
Hi Folks,
I am checking the feasibility of writing an automated test case for the
email
sending functionality of emm.
When a user is created, an invitation email is sent to the corresponding
user to register the device.
sendEmail() is currently a jaggery function and is executed via a
Hi Krishantha,
EMM 1.1.0 uses, require('email') available in Jaggery to send email. The
configurations are stored in the registry. So it is not necessary to
configure mail transport AFAIK.
Adding the mobile team.
Regards,
Inosh
On Mon, Jan 12, 2015 at 6:09 PM, Krishantha Samaraweera
10 matches
Mail list logo