Tag Info

Hot answers tagged

6

I have done a simple thing. Setup a IMAP/POP3 mail server Send the mail to server Retrieve the mail from the server using code. (Java Mail API for example) Do further actions. I don't know about any industry standard. But this works for me.


4

If I remember correctly, automating the use of GMail is a technical violation of their terms of service. It's not something that their likely to take action against you for, as many other people/companies do do this as well. From Google Terms of Service 5.3 You agree not to access (or attempt to access) any of the Services by any means other than ...


3

Since everything is web based, can't you just use a strait up browser automation framework like Selenium? Do what you need to do in your system to trigger the sending of the email. Log into Gmail Check if the email is there Take a screenshot (if needed) Anything you can do as a user (besides thinking and seeing if visual layout is nice) you can more or ...


3

Look into the Javamail API and Dumbster (Fake SMTP Server).


2

Here's what I'll suggest: Setup a library, have it accept the mails and send to Gmail when your app is running in production mode. But when the app is running in development/testing mode, have your emails stored in database. Now create a simple script to show all mails from the database (keep this script under same URL as app). While testing, access this ...


2

I think you really don’t need to automate Gmail UI unless you are working for Google. I bet your application requires an SMTP server configuration. So, it uses SMTP protocol to send email to Gmail. In this case you can search Google for “SMTP for developers”. And choose some SMTP server that fits your needs. In this program turns your workstation into ...


2

Load testing is typically a traffic consumption problem, i.e. determining how much traffic your server can process. Your brief description seems to describe the opposite problem: determining how much traffic your application can generate. How you proceed may depend on your goals and your budget. The easiest test would be to measure how long it takes for ...


2

Finally figured it out, with the exception of reportitems such as Undeliverables. Most of the current code is from snippets that I put together to make it work. public void readOutlookTest() { Microsoft.Office.Interop.Outlook.Application app = null; Microsoft.Office.Interop.Outlook._NameSpace ns = null; ...


1

You could use a test email account and access it using an IMAP/POP client? What I do in my Django apps is I set the email backend to a file based one for testing. Emails are then not sent to the addresses but are stored in individual log files. I can then test the content of these files. There are two similar but different scenarios here. One is testing ...


1

I think this is related to this question which suggests a SMTP pretend server: Testing email generation but I suspect this would need to be extended to 'know' about certain emails and be able to respond to doesnt@exist.com in the correct way.


1

Your question is rather vague. There are different types of email protocols, and your overall test strategy depends on which protocol(s) your client supports. But, some basic areas for testing email clients on a mobile device include Setting up client on device Compose card Read card List view Send/receive Attachments, Message encodings (Unicode ...


1

A partial answer: email rendering is very important. Many emails, like newsletters, marketing materials, etc put a lot of effort to make their emails beautiful. Having the HTML render properly on a mobile client takes effort. One type of test is the acid test: http://www.email-standards.org/acid-test/ You could also do side-by-side comparisons for many ...


1

I'm not sure what using Gmail will do to repeatably. If the Emails have the same structure with small differences (e.g. the date or version number) why not compare the text or binary parts to a golden copy of the Email ?


1

Though the question is not so specific on what part of that web mail is to be automated, the best solution for whatever your question is Selenium IDE. If your tests involved repeated logins, and sending mails to many then you can instal this addon to firefox and start recording your tests like login to gmail and compose and send mails. You can find related ...


1

If those are the only requirements then a simple (well, not so simple but not very complex) script in Perl, Python or your favorite scripting language will achieve the same results for free with greater flexibility.


1

Disclaimer - I work for the company that made this. You might find that a hosted service such as Mailosaur is helpful for this. You can of course set up something like this yourself , but the benefit of someone else doing the hard work is obvious.


1

Disclosure: I work for below company which solves this problem. mailosaur.com gives you unlimited email addresses and a fake SMTP server. Any email sent to it gets parsed and made available through our REST API. Optionally we visit all links in your email and record the response content per link. This allows you to fully automate signup testing for ...


1

Are you trying to test the actual email verification process itself, or is the verification just a necessary step to enable further testing of other features? If the latter, you might consider it cheaper to provide a test-specific(*) method to simply set an email address as 'verified' and leave the testing of email verification itself to your manual ...


1

With the limited information available related to scenario, following are list of few other test cases that can be validated - What If: User sends an email for unsubscription but user is not a registered user. User subscribes and unsubscribes immediately Same unsubscription requests come multiple times Same unsubscription requests come at the same time ...


1

Keeping in mind your excerpt : " I have however gave it some thought and the way i was intending on going about this was to actually have a "tester GMail account",whereby i login using the "tester account" credentials and do a simple UI automation technique where i would use the search feature of GMail to assert the unread email(subject) and verify whether ...


1

As best as I can tell, you have two problems: you want to verify that the email is sent but you don't want to depend on an existing email provider; and you want to test what happens when an email's embedded link is clicked. For the first problem, I would probably configure a test mode in the server in which it would write files to the file system or to a ...



Only top voted, non community-wiki answers of a minimum length are eligible