SlideShare ist ein Scribd-Unternehmen logo
1 von 9
Downloaden Sie, um offline zu lesen
EMAIL TESTING FOR WEB APPLICATIONS
SANTHOSH S TUPPAD
EMAIL TESTING
FOR WEB
APPLICATIONS

ABOUT ME

SANTHOSH S TUPPAD
PREFACE
This article provides some good software testing practices and
guidelines that I use diligently at my work. It provides an insight about
web applications using email systems, such as mail server, rendering
aspects in mail clients. This article does not focus testing any existing
or preexisting email service providers.

I have been as a software
tester for over 4 years. I am a
hands-on tester and I've been
winning bug battles & testing
competitions across the world.

In this article, I have also suggested a few questions that will guide you
the simple yet highly effective ways that you need to take to attain and
maintain a high-level testing when dealing with emails.

I am a testing enthusiast, who
conducts free workshops on
security testing across India,
and monthly meets for testers
in Bengaluru. I am also an avid
testing blogger.
You can visit my blog
http://tuppad.com/blog/ to know
more about me and the events.
You can connect to me @
Facebook:
https://www.facebook.com/sant
hosh.tuppad
Twitter:
http://twitter.com/#/santhoshst
LinkedIn:
http://in.linkedin.com/pub/santh
osh-tuppad/12/b74/338/
Phone: +91 97422 64809

1
Testing is a continuous process and what works now may not work in the future due to the evolving
changes in the technology and our email needs.
Most testers run a few tests and rely on the test results and report to solve all the problems. Testers
who test effectively to achieve best results in every email testing and open to make changes in their
testing strategy make a difference in any organization.

TEST STRATEGY
Mind mapping
Before commencing my testing activity, I do the profiling of different elements that are associated with
emails which helps me get test ideas. You can use any freeware for mind-mapping, but I use XMind. It
is a handy tool to create nodes and to use the built-in features, such as, emoticons, color codes. It
normally takes 30 minutes to create the draft version. However, you can update it over time by adding
new nodes or editing nodes based on the new test requirements or enhancements to the test plan.
After the mind map is completed, take a print of it and stick it to the wall near your workstation, or also
set the mind-map as “Background / Wallpaper” on the desktop. You can share it with the team, if
working in a team, to get more test ideas.

Email templates
Often we ignore testing the email templates and just skim through an email to check the functional
aspects of it.
Organizations or businesses must understand the importance of email campaign and email content
they send to their customers.
As a tester, you can test email templates for its content, purpose. Here are few emails that we often
receive:


Email account activation



Forgot password



Change password



Delete account email confirmation



Newsletter (un)subscription confirmation



Alerts or notification



And many more email/notification based on the business type and application type

2
A/B TESTING
A/B testing is also known as the Split Testing. For email templates, subscriptions or newsletters; I have
2 versions of the content for different set of users. For example, 100 users receive the template A for
Newsletter, while 100 users receive the template B. Have the JavaScript embedded into the HTML
email. This provides the analysis about how many people read and acted on the email. Compare A and
B, select the better template and make it the general template for all the users.
It is very important to select the audience for A/B testing for emails. A few of the questions that you
have to ask are:




What is the type of application?
Who are the target audience?
What kind of problems do our target audiences might face while using these emails?

TEST DATA AND DATA COVERAGE
To create the test data, here are the two effective ways that I follow:
One of the major components to create the test data is to create email addresses on public email
service provider(s). The challenge here is to create many (30 to 50) email addresses with details, such
as first name, last name and other generic details manually. iMacros is an add-on you can use for
recording and replaying the repetitious work. Using this add-on, you can record the first name, last
name, date of birth and other details that are generic. Run the generated script and enter e-mail
address and CAPTCHA manually in the form to create the e-mail account.
To create email addresses for invoking the send function of the SMTP server to check the performance
and reliability, you can use Microsoft Excel. Create three columns- username, domain name and email
address respectively.
1. In the first column, enter usernames with an increment number in two rows of the column. For
example, SanthoshTuppad001” and “SanthoshTuppad002” and then drag them to create as
many usernames you want.
2. In the second column, enter a domain name in the first row of the column. For example,
“EmailServiceProvider.com” and then drag it to create add it to the usernames that you have
created in the first column.
3. In the third column, use the Excel formula to create the email address using the values of the
first and second column. For example, SanthoshTuppad001@ EmailServiceProvider.com,
SanthoshTuppad002@EmailServiceProvider.com and so on.
4. Then use a database script to dump the data in the respective tables.

Data coverage points
•
•
•

Different character set
Mix of character set
Combinatorial testing

3
CHECK AUTOMATION
In the projects that I have worked, I have seen great challenge in implementing an end-to-end solution
for check automation for email testing. There are many companies, who provide frameworks for
automating checks, such as:
•
•
•
•
•

Rendering aspects across cross browser, multi-clients and public e-mail service providers
Code analysis
Link and image validation
Spell check
Character conversion

It is possible to develop your own framework for check automation. In my next article, I will share my
ideas about “Check automation for e-mail testing”, which you can use to implement to create a
framework.

REPORTING AND ANALYZING
Reporting bugs is a critical phase of the email testing. There will be a chance for the bugs you have
reported to be rejected by the developers. They also may be consider them as low-priority bugs. This
demotivates you for reporting bugs. I suggest that you must report the bugs without hesitation, even if
the bugs that you have raised are rejected, because, on the other hand, you will learn more about the
product and technology.

QUESTIONNAIRE
As software testers we have to ask ourselves several questions, as ignored information would be
critical for the success of the business. As James Bach says, “Testing is questioning a product in order
to evaluate it”. Here are a few questions that you can ask yourself before you commence testing, which
you can also use as test ideas.

User experience









Does my e-mail look beautiful everywhere?
How do emails appear on any email client software(s); such as Microsoft Outlook, Mozilla
Thunderbird?
Am I having sufficient information about the unsubscribing and providing information as, “Do not
reply to this e-mail” for “no-reply” e-mail accounts?
Are we good with email etiquette with respect to developing email templates?
Is the email system sending junk or bulk emails to the users, which could be annoying to them?
What type of email template must be used-HTML or plain text? Which one will add more value
over the other?
Is it important to run a spell and grammar check and also check for a content formatting?
Should there be an email signature that must be used for automated emails?

4


Does the email system provide information via application after submitting Forgot Password or
Sign up or any other form?
Example: “Please make sure that you check bulk / junk / spam folder if you get the email in your
inbox within 30 minutes or “X” minutes.”








Are there hyperlinks in the e-mail that navigate the customers to the website? This could
possibly be an encourage browsing agent.
Is there an optional text area or a drop-down box (HTML element) for customers who
unsubscribe can enter the reason for unsubscribing?
How does the HTML email elements render in the email viewer?
What font style is used in emails and do the operating systems have them and support them?
Do we use a font style which exists in widely used operating systems or the ones which our
application supports?
Are there any creative concepts for email templates design?
Example: If your web application is developed for target audience which includes old age people
of 60’s or 70’s or before that. They might enjoy the design being a notebook paper with lines or
no lines however, giving look of a letter. Most or some loved the way they used to write letters
on paper and send them or read them. You might give them that feeling.



Do emails render and look as expected on all electronic gadgets that support email? Are they
compatible on all the platforms and versions of platforms?

Functional aspects
•
•
•
•
•
•
•

Can email addresses be case-sensitive?
What is the maximum length e-mail text field that has to be set on the client-side, server-side
and database?
What happens when an SMTP server is down?
What could be the consequences or threats of using HTML templates when not developed
properly?
Is there a size limit for cached content or delivery failure notifications or any kind of data on
the SMTP server?
What are the consequences when the content reaches the limit? (E-mail size)
Does the email system send emails with attachments (Auto-generated)? If yes:
o What is the permissible file size of the attachment?
o Is it a zip file or raw file format?
o If it is a zip file, does the user need to download an external application to unzip it? Or
the default uncompressing application of the operating system can be used?

Security
•

If you are using multiple server and you are using some other server name in the from email address then it would be delivery failure as it is kind of impersonation of some other
sender. This helps in finding the threats during design phase of your e-mail system or SMTP
architecture for your application.

5
Errors and Exceptions
•
•
•
•

What happens when an email is bounced for any unknown reasons?
What are the exceptions that can be handled when an SMTP server is down?
Is there a plan to maintain the queue of bounced e-mails and re-sending them?
When the SMTP server is down and there are features that invoke the email system; for
example, Forgot Password Tokenized URL, a message must be provided, “We are facing
some technical challenges, we will be back soon and you can use this feature”.

Stakeholders / Product Owner
•
•
•
•

Is that email important or can I afford to ignore it?
Should the emails be sent to all or only selected people who have opted for it?
Should I consider Single and double opt-in?
Do I use DKIM (Domain Key Identified Mail) to avoid phishing attempts, or is there any kind
of counter-measures I have?

Reliability / Backup
•

Can I have multiple SMTP servers as back-up or alternative, where emails can be routed if
bulk emails are sent via the server?

Domain knowledge
•
•
•
•
•
•
•
•
•

Do I know how an e-mail system works?
Do I know SMTP, POP3, IMAP and PST? Is it important for me to understand this to do a
good and an effective testing?
What are the different characters that email service providers allow and do I have
consistency in our email address field sanitization? (Blacklist and white-list for characters).
Do I understand “SPAM” and “SPAM FILTERING”?
Do I measure CTR (Click-Through Rate) and Conversion Rate of e-mail campaigns?
If there is no better CTR, how can I improve it?
Do I understand “Opt-in Marketing”?
Am I aware of Phishing Attempts via email?
Am I aware of “Backscatter spam”?

Coverage
•
•
•
•

Have I tested on widely-used free email service providers and also on different domain
names; such as top level and country level (Sampling)?
The HTML formatting must be compliant with e-mail service provider anti-spam rules.
Have we tested enough if e-mails land in inbox, bulk, junk or spam folder with widely used
free e-mail service providers; such as Gmail, Yahoo, Hotmail, Rediffmail.
Have I tested on webmail clients; such as GoDaddy, Siteground and other widely used
hosting providers?

6
Business testing
•

•

Is there a plan for getting back the customers who have abandoned the website? For
example, sending emails or alerts about discounts, or offers to encourage revisiting the
website.
What is best time send or trigger specific emails?
Example: Let us say, you do a business which is for people who are techies and work from
0900 hours to 1800 hours. It is possible that they get lots of e-mails. Do you want your email to be positioned in the first when they open their inbox? Then, deciding on when to
send e-mail campaign or specific e-mails is one of the ways.

Claims testing
•

Have I read emailing policy or privacy policy of the customer?
o If there is not, check with the stakeholders or product owner
o Different countries can have different policies or compliances of e-mail spam. Do you
know them?

POSSIBLE REASONS TO ABANDON EMAILS
•
•
•
•
•
•
•
•
•
•

Not engaging
Not pleasing
Not appealing content
Usage of colors
The way the email is started
The way email is addressed to the recipient
The frequency in which emails are sent
Same information can be got from different sources
Preference to seek information instead of applications pushing the information
Lack of poor targeting

TOOLS
•
•
•
•
•

Hexawise (Free & commercial) – http://www.hexawise.com/
Data Generate (Free) – http://www.generatedata.com/
Litmus (Commercial) – http://litmus.com/email-testing
iMacros – https://chrome.google.com/webstore/detail/imacros-forchrome/cplklnmnlbnpmjogncfgfijoopmnlemp
Email on Acid (Commercial) – http://www.emailonacid.com/

REFERENCES / BOOKS
•
•
•

http://www.uxmatters.com/
http://www.nngroup.com/
http://en.wikipedia.org/

7
•
•

http://www.email-standards.org/acid-test/
http://tuppad.com/blog/wp-content/uploads/2010/08/Crash-course-on-Reporting-Bugs-inSoftware-Testing.pdf

8

Weitere ähnliche Inhalte

Kürzlich hochgeladen

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 

Kürzlich hochgeladen (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 

Empfohlen

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellSaba Software
 

Empfohlen (20)

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 

Email Testing for Web Applications by Santhosh Tuppad

  • 1. EMAIL TESTING FOR WEB APPLICATIONS SANTHOSH S TUPPAD
  • 2. EMAIL TESTING FOR WEB APPLICATIONS ABOUT ME SANTHOSH S TUPPAD PREFACE This article provides some good software testing practices and guidelines that I use diligently at my work. It provides an insight about web applications using email systems, such as mail server, rendering aspects in mail clients. This article does not focus testing any existing or preexisting email service providers. I have been as a software tester for over 4 years. I am a hands-on tester and I've been winning bug battles & testing competitions across the world. In this article, I have also suggested a few questions that will guide you the simple yet highly effective ways that you need to take to attain and maintain a high-level testing when dealing with emails. I am a testing enthusiast, who conducts free workshops on security testing across India, and monthly meets for testers in Bengaluru. I am also an avid testing blogger. You can visit my blog http://tuppad.com/blog/ to know more about me and the events. You can connect to me @ Facebook: https://www.facebook.com/sant hosh.tuppad Twitter: http://twitter.com/#/santhoshst LinkedIn: http://in.linkedin.com/pub/santh osh-tuppad/12/b74/338/ Phone: +91 97422 64809 1
  • 3. Testing is a continuous process and what works now may not work in the future due to the evolving changes in the technology and our email needs. Most testers run a few tests and rely on the test results and report to solve all the problems. Testers who test effectively to achieve best results in every email testing and open to make changes in their testing strategy make a difference in any organization. TEST STRATEGY Mind mapping Before commencing my testing activity, I do the profiling of different elements that are associated with emails which helps me get test ideas. You can use any freeware for mind-mapping, but I use XMind. It is a handy tool to create nodes and to use the built-in features, such as, emoticons, color codes. It normally takes 30 minutes to create the draft version. However, you can update it over time by adding new nodes or editing nodes based on the new test requirements or enhancements to the test plan. After the mind map is completed, take a print of it and stick it to the wall near your workstation, or also set the mind-map as “Background / Wallpaper” on the desktop. You can share it with the team, if working in a team, to get more test ideas. Email templates Often we ignore testing the email templates and just skim through an email to check the functional aspects of it. Organizations or businesses must understand the importance of email campaign and email content they send to their customers. As a tester, you can test email templates for its content, purpose. Here are few emails that we often receive:  Email account activation  Forgot password  Change password  Delete account email confirmation  Newsletter (un)subscription confirmation  Alerts or notification  And many more email/notification based on the business type and application type 2
  • 4. A/B TESTING A/B testing is also known as the Split Testing. For email templates, subscriptions or newsletters; I have 2 versions of the content for different set of users. For example, 100 users receive the template A for Newsletter, while 100 users receive the template B. Have the JavaScript embedded into the HTML email. This provides the analysis about how many people read and acted on the email. Compare A and B, select the better template and make it the general template for all the users. It is very important to select the audience for A/B testing for emails. A few of the questions that you have to ask are:    What is the type of application? Who are the target audience? What kind of problems do our target audiences might face while using these emails? TEST DATA AND DATA COVERAGE To create the test data, here are the two effective ways that I follow: One of the major components to create the test data is to create email addresses on public email service provider(s). The challenge here is to create many (30 to 50) email addresses with details, such as first name, last name and other generic details manually. iMacros is an add-on you can use for recording and replaying the repetitious work. Using this add-on, you can record the first name, last name, date of birth and other details that are generic. Run the generated script and enter e-mail address and CAPTCHA manually in the form to create the e-mail account. To create email addresses for invoking the send function of the SMTP server to check the performance and reliability, you can use Microsoft Excel. Create three columns- username, domain name and email address respectively. 1. In the first column, enter usernames with an increment number in two rows of the column. For example, SanthoshTuppad001” and “SanthoshTuppad002” and then drag them to create as many usernames you want. 2. In the second column, enter a domain name in the first row of the column. For example, “EmailServiceProvider.com” and then drag it to create add it to the usernames that you have created in the first column. 3. In the third column, use the Excel formula to create the email address using the values of the first and second column. For example, SanthoshTuppad001@ EmailServiceProvider.com, SanthoshTuppad002@EmailServiceProvider.com and so on. 4. Then use a database script to dump the data in the respective tables. Data coverage points • • • Different character set Mix of character set Combinatorial testing 3
  • 5. CHECK AUTOMATION In the projects that I have worked, I have seen great challenge in implementing an end-to-end solution for check automation for email testing. There are many companies, who provide frameworks for automating checks, such as: • • • • • Rendering aspects across cross browser, multi-clients and public e-mail service providers Code analysis Link and image validation Spell check Character conversion It is possible to develop your own framework for check automation. In my next article, I will share my ideas about “Check automation for e-mail testing”, which you can use to implement to create a framework. REPORTING AND ANALYZING Reporting bugs is a critical phase of the email testing. There will be a chance for the bugs you have reported to be rejected by the developers. They also may be consider them as low-priority bugs. This demotivates you for reporting bugs. I suggest that you must report the bugs without hesitation, even if the bugs that you have raised are rejected, because, on the other hand, you will learn more about the product and technology. QUESTIONNAIRE As software testers we have to ask ourselves several questions, as ignored information would be critical for the success of the business. As James Bach says, “Testing is questioning a product in order to evaluate it”. Here are a few questions that you can ask yourself before you commence testing, which you can also use as test ideas. User experience         Does my e-mail look beautiful everywhere? How do emails appear on any email client software(s); such as Microsoft Outlook, Mozilla Thunderbird? Am I having sufficient information about the unsubscribing and providing information as, “Do not reply to this e-mail” for “no-reply” e-mail accounts? Are we good with email etiquette with respect to developing email templates? Is the email system sending junk or bulk emails to the users, which could be annoying to them? What type of email template must be used-HTML or plain text? Which one will add more value over the other? Is it important to run a spell and grammar check and also check for a content formatting? Should there be an email signature that must be used for automated emails? 4
  • 6.  Does the email system provide information via application after submitting Forgot Password or Sign up or any other form? Example: “Please make sure that you check bulk / junk / spam folder if you get the email in your inbox within 30 minutes or “X” minutes.”       Are there hyperlinks in the e-mail that navigate the customers to the website? This could possibly be an encourage browsing agent. Is there an optional text area or a drop-down box (HTML element) for customers who unsubscribe can enter the reason for unsubscribing? How does the HTML email elements render in the email viewer? What font style is used in emails and do the operating systems have them and support them? Do we use a font style which exists in widely used operating systems or the ones which our application supports? Are there any creative concepts for email templates design? Example: If your web application is developed for target audience which includes old age people of 60’s or 70’s or before that. They might enjoy the design being a notebook paper with lines or no lines however, giving look of a letter. Most or some loved the way they used to write letters on paper and send them or read them. You might give them that feeling.  Do emails render and look as expected on all electronic gadgets that support email? Are they compatible on all the platforms and versions of platforms? Functional aspects • • • • • • • Can email addresses be case-sensitive? What is the maximum length e-mail text field that has to be set on the client-side, server-side and database? What happens when an SMTP server is down? What could be the consequences or threats of using HTML templates when not developed properly? Is there a size limit for cached content or delivery failure notifications or any kind of data on the SMTP server? What are the consequences when the content reaches the limit? (E-mail size) Does the email system send emails with attachments (Auto-generated)? If yes: o What is the permissible file size of the attachment? o Is it a zip file or raw file format? o If it is a zip file, does the user need to download an external application to unzip it? Or the default uncompressing application of the operating system can be used? Security • If you are using multiple server and you are using some other server name in the from email address then it would be delivery failure as it is kind of impersonation of some other sender. This helps in finding the threats during design phase of your e-mail system or SMTP architecture for your application. 5
  • 7. Errors and Exceptions • • • • What happens when an email is bounced for any unknown reasons? What are the exceptions that can be handled when an SMTP server is down? Is there a plan to maintain the queue of bounced e-mails and re-sending them? When the SMTP server is down and there are features that invoke the email system; for example, Forgot Password Tokenized URL, a message must be provided, “We are facing some technical challenges, we will be back soon and you can use this feature”. Stakeholders / Product Owner • • • • Is that email important or can I afford to ignore it? Should the emails be sent to all or only selected people who have opted for it? Should I consider Single and double opt-in? Do I use DKIM (Domain Key Identified Mail) to avoid phishing attempts, or is there any kind of counter-measures I have? Reliability / Backup • Can I have multiple SMTP servers as back-up or alternative, where emails can be routed if bulk emails are sent via the server? Domain knowledge • • • • • • • • • Do I know how an e-mail system works? Do I know SMTP, POP3, IMAP and PST? Is it important for me to understand this to do a good and an effective testing? What are the different characters that email service providers allow and do I have consistency in our email address field sanitization? (Blacklist and white-list for characters). Do I understand “SPAM” and “SPAM FILTERING”? Do I measure CTR (Click-Through Rate) and Conversion Rate of e-mail campaigns? If there is no better CTR, how can I improve it? Do I understand “Opt-in Marketing”? Am I aware of Phishing Attempts via email? Am I aware of “Backscatter spam”? Coverage • • • • Have I tested on widely-used free email service providers and also on different domain names; such as top level and country level (Sampling)? The HTML formatting must be compliant with e-mail service provider anti-spam rules. Have we tested enough if e-mails land in inbox, bulk, junk or spam folder with widely used free e-mail service providers; such as Gmail, Yahoo, Hotmail, Rediffmail. Have I tested on webmail clients; such as GoDaddy, Siteground and other widely used hosting providers? 6
  • 8. Business testing • • Is there a plan for getting back the customers who have abandoned the website? For example, sending emails or alerts about discounts, or offers to encourage revisiting the website. What is best time send or trigger specific emails? Example: Let us say, you do a business which is for people who are techies and work from 0900 hours to 1800 hours. It is possible that they get lots of e-mails. Do you want your email to be positioned in the first when they open their inbox? Then, deciding on when to send e-mail campaign or specific e-mails is one of the ways. Claims testing • Have I read emailing policy or privacy policy of the customer? o If there is not, check with the stakeholders or product owner o Different countries can have different policies or compliances of e-mail spam. Do you know them? POSSIBLE REASONS TO ABANDON EMAILS • • • • • • • • • • Not engaging Not pleasing Not appealing content Usage of colors The way the email is started The way email is addressed to the recipient The frequency in which emails are sent Same information can be got from different sources Preference to seek information instead of applications pushing the information Lack of poor targeting TOOLS • • • • • Hexawise (Free & commercial) – http://www.hexawise.com/ Data Generate (Free) – http://www.generatedata.com/ Litmus (Commercial) – http://litmus.com/email-testing iMacros – https://chrome.google.com/webstore/detail/imacros-forchrome/cplklnmnlbnpmjogncfgfijoopmnlemp Email on Acid (Commercial) – http://www.emailonacid.com/ REFERENCES / BOOKS • • • http://www.uxmatters.com/ http://www.nngroup.com/ http://en.wikipedia.org/ 7