People who code: we want your input. Take the Survey

Hot answers tagged

28

I have used a trick with gmail where you can append +string on any address. The string I filled in was a Unix Time Stamp. Original Email Address: yourName@gmail.com Testing Email Address: yourName+1510250387@gmail.com


6

I never heard of any formal artifact of that name but if you go with a simple test report I imagine you should be fine. Just write down what (exactly) was tested, where you tested what you found, what your passing criteria were and identify remaining risks. If they need anything else they'll tell you, or even better, just ask them beforehand. Being a good ...


6

Yes, for the negative cases like this one: a"b(c)d,e:f;gi[j\k]l@example.com (none of the special characters in this local-part are allowed outside quotation marks) You will need to split these up into one test per special character. Otherwise your test may pass because it finds a [ but could fail if only a ; were present. I.e. if the regex of your ...


5

The best and easiest way to do this kind of testing and to get rid of this issue is to have a test email ID like 'DemoTest@domain.com', and use this email ID for your and developer's testing purposes, i.e. where ever in system you need to enter the email ID use this one and proceed further, by this way your problem of mail bounce will get resolved regardless ...


5

Disclaimer - I work for the company that made a solution for this scenario. mailosaur.com gives you unlimited test email addresses and a fake SMTP server. Each time an email is received, it will parse the html and extract all the links, optionally visit all these links and store the responses etc... There's a REST API which allows you to access any ...


4

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 ...


4

For manual testing (ie, visually inspecting the emails), you should use a local SMTP server, like Bhavani. I've used Mailcatcher in the past and really enjoyed it.


4

Any time you need to test something where the application under test interacts with outside services, you have a couple of choices: 1) Stubbing 2) Use a real service Then there's a choice between using an internal or external stub or service. Stubbing is where you build a fake interface, that just does enough for the application under test to be ...


3

Although this doesn't answer the question directly, as there isn't a 'standard sign-off email' at least that I know of, the underlying problem is more important. As far as I am concerned 'shipping' is a business decision. Not a decision made by the tester/QA or the team. I wholeheartedly concur with this when testers are asked for ship/noship opinion and ...


3

Another similar service is mailosaur. Along with an API you can use to retrieve SMS (still beta as of September 2020) and emails, you can also use a number of packages/modules for a variety of testing frameworks. An example in TestCafe: import config from '../config'; import { customAlphabet } from 'nanoid'; import axios from 'axios'; import Newsletter from '...


3

In short, there is NO overarching, industry-wide accepted format for a sign-off email (which is what they are asking you to compose). I have been in QA - automated and manual - for almost 25 years now, and have never seen a template for a sign-off email. You and your team would need to make the determination on what is expected in the body of the email. ...


3

If you want to test it end-2-end you can use a service like https://mailtrap.io/ Here you can use an API to retrieve the email and extract the link and open the link with Selenium. Still I am wondering if you want to test this workflow end-2-end, maybe some integration tests would suffice. Checking emails sending gets triggered, not actual testing the ...


3

To automate Email, you can use javax mail API for fetching the email from the inbox or any other folder. Following is the function for fetching an email. private Message getEmail(String emailID, String password, String subjectToBeSearched) throws Exception { Properties props = System.getProperties(); props.setProperty("mail.store.protocol", "imaps"); ...


3

Yes, this you can validate using Telerik Test Studio but for this you need to add test case of 'Gmail login and checking Inbox'. I will say to use this test case of Mail check as a separate test case in Test Studio and then call it as a Child test case in your Master case, once the particular action is taken. So, your whole test suite will look like this: ...


3

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

Try out mailosaur.com It gives you unlimited test email addresses and allow for automated and manual testing of emails. We have Java, .NET, Ruby, Python and Node.js bindings to make it easy to integrate this in your Selenium test scripts. Disclosure: I am a co-founder.


2

I've handled the scenario with the local smtp server setup with the open source tools like hMailserver. After setting up, you can define your own domains and email ids.


2

Emails and any other "magic strings" should be in configuration, and might be set differently for development, testing, and production. Even better, don't put individual emails there but mailing list. Then all members can react, and if any one member is on vacation, answer is not left in the limbo.


2

I've used Mailosaur in the past to do the exact same thing, and plan to use this again. I'm hoping that in a few days I will have this implemented in my automation framework. There are other services as well that provide it.


2

Disposable email address cannot be easily tracked. Also, this can be used for fraudulent access to sites which require email authentication. It can also be used to post explicit content on sites and 'disappear' after posting so that the perpetrator cannot be tracked. There are many other reasons why disposable email addresses are not encouraged. Hope this ...


2

Same as Daniel was mentioning above, there is no specific standard set for sending the Testing Sign off email. But what you can do is, is to include the necessary details in the sign off email. Below items can be optional for your team, so choose the ones you need. Which feature you are signing off. Which environment,browser (versions)/application version ...


1

If you really, really need to do this via UI testing, a feasible way might be to test with a Gmail account. Once you've sent your mail, use the Gmail API to poll for the new e-mail, read it, send a reply, then check back in your application for the response. This entails you'll need some library to work on API-level.


1

Why don't you use different e-mail accoouns for this (of course if you are not going to test the case when user try to login two times and mix codes/use proper codes from two messages e.g. on 2 devices)?


1

For (automated) testing of email content I have used mailtrap.io in the past. I think you can use ClickSend for receiving SMS (and email) messages. Both have an API to send/receive and parse messages send to their service. So you should be able to programmatically test that SMS/Email is send/received and check the content.


1

The correct format is the format you and your team/company decide on. Like others wrote there is no industry standard. Actually I think most companies use a workflow management system to handle this, or a test management tool, not email. Still if email is the way to go, I would suggest you try to find the Minimal Viable Bureaucracy. Whats is the minimal ...


1

Some options:: https://mailcatcher.me/ display messages in web interface https://github.com/meatballhat/fakesmtpd http API, e.g. GET https://github.com/bluerail/post_office SMTP/POP https://github.com/koseki/mocksmtpd/ Older


1

Yes, you can validate the content of email. If you need to write selenium script which will trigger the email, then you can use javax mail API for fetching the email from inbox. Following is code for fetching the email from inbox. private Message getEmail(String emailID, String password, String subjectToBeSearched) throws Exception { Properties props =...


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 support), ...


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 just replaced our Gmail-based tests with a tool called Inbucket (http://www.inbucket.org/) and just query its REST API to check the email contents. It works pretty well so far. If you use c#, it's pretty simple to create a small class to query the API using RestSharp.


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