Hi Dilan, 1) If this test is done manually what is the way to verify this? 2) Are you still have the problem in capturing the status message of a dialog popup?
Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Wed, Jan 14, 2015 at 1:59 PM, Irham Iqbal <[email protected]> wrote: > 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 <[email protected]> > wrote: > >> 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. <http://wso2.com/> >> Mobile: +94775149066 >> lean . enterprise . middleware >> >> On Tue, Jan 13, 2015 at 6:08 PM, Dilan Udara Ariyaratne <[email protected]> >> wrote: >> >>> Hi Krisantha, >>> >>> Following are the manual steps of sending a mail to a user. >>> >>> [1] Fill email configuration details (SMTP Mail Server Settings) under >>> the settings tab of admin console. >>> [2] Add a new user to the system which will send an invitation email to >>> the provided email address of the user. >>> >>> Herewith I am also attaching the screen-shots... >>> >>> Thanks. >>> >>> >>> >>> *Dilan U. Ariyaratne* >>> Software Engineer >>> WSO2 Inc. <http://wso2.com/> >>> Mobile: +94775149066 >>> lean . enterprise . middleware >>> >>> On Tue, Jan 13, 2015 at 2:48 PM, Krishantha Samaraweera < >>> [email protected]> wrote: >>> >>>> 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 <[email protected]> wrote: >>>> >>>>> 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 < >>>>> [email protected]> wrote: >>>>> >>>>>> 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 < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> 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 >>>>>>> non-exposed api to the outside >>>>>>> within EMM Jaggery web application. >>>>>>> >>>>>>> What is the best possible way to test this functionality? >>>>>>> Is there a recommended SMTP mail server to use? >>>>>>> >>>>>>> If I am using Selenium, to verify "success", I need to capture the >>>>>>> status message >>>>>>> of a dialog popup. How can I do this using Selenium? >>>>>>> >>>>>>> Appreciate any feedback on this. >>>>>>> >>>>>>> Thanks. >>>>>>> >>>>>>> *Dilan U. Ariyaratne* >>>>>>> Software Engineer >>>>>>> WSO2 Inc. <http://wso2.com/> >>>>>>> Mobile: +94775149066 >>>>>>> lean . enterprise . middleware >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Krishantha Samaraweera >>>>>> Senior Technical Lead - Test Automation >>>>>> Mobile: +94 77 7759918 >>>>>> WSO2, Inc.; http://wso2.com/ >>>>>> lean . enterprise . middlewear. >>>>>> >>>>>> _______________________________________________ >>>>>> Dev mailing list >>>>>> [email protected] >>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Inosh Perera >>>>> Software Engineer, WSO2 Inc. >>>>> Tel: 0785293686 >>>>> >>>> >>>> >>>> >>>> -- >>>> Krishantha Samaraweera >>>> Senior Technical Lead - Test Automation >>>> Mobile: +94 77 7759918 >>>> WSO2, Inc.; http://wso2.com/ >>>> lean . enterprise . middlewear. >>>> >>> >>> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Irham Iqbal > Software Engineer - Test Automation > WSO2, Inc.: http://wso2.com > lean. enterprise. middleware > phone: +94 777888452 > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
