Email Testing Feature
  • 31 Oct 2023
  • 3 Minutes to read
  • Contributors
  • Dark
    Light

Email Testing Feature

  • Dark
    Light

Article Summary

Introduction

This document explains the email testing feature and how to create and execute scenarios using email addresses.

The Email Testing feature

With the email testing feature, you can create test email addresses and create/execute scenarios using those email addresses.

How to create and run a scenario using a fixed email address

Create an email address

  1. Click [Settings] on the sidebar.
    スクリーンショット 2023-02-11 22.12.00.png

  2. Select a workspace from the menu to open the workspace's settings page.
    スクリーンショット 2023-02-11 22.12.58.png

  3. In the Email Address section, click Add.
    スクリーンショット 2023-02-11 22.13.54.png

  4. Enter a name for your email address, then click Save.
    スクリーンショット 2023-02-11 22.15.00.png

You have now created a fixed email address.

There is no limit to the number of email addresses you can create, so we recommend that you create an email address for each purpose and name it in a way that is easy to identify.
Alternatively, you can use the same email address in multiple Scenarios.

Create a Scenario

  1. Start recording from the Scenario Details Page.

  2. In the recording window, navigate to the page where you want to enter an email address.

  3. Click the Actions button in the Recording Area, then click [Email]
    スクリーンショット 2023-02-11 22.19.48.png

  4. A list of email addresses defined in the workspace will be displayed. Click the [Copy] button to copy your email address to the clipboard.
    スクリーンショット 2023-02-11 22.20.00.png

  5. Paste the email address on the page and perform the operation that sends the email.
    スクリーンショット 2023-02-11 22.38.47.png

  6. After sending the e-mail, click [E-mail] again from the Actions button menu.

  7. Click on the [>] mark on the right-side of the email address that you entered.
    スクリーンショット 2023-02-11 22.24.09.png

  8. Click the email that you want to check.
    スクリーンショット 2023-02-11 22.45.51.png

  9. The content of the email will be displayed in the recording window. You can create assertions for the email content and record operations such as clicks.
    スクリーンショット 2023-02-07 22.36.35.png

  10. When you have finished recording the test content, click the [Save] button.

You have now created a scenario using a fixed email address.

Run the test

As with any normal scenario, email test scenarios can be run from the Test Plan Details page.

Checking your email inbox

If you want to check your email directly, you can open your email inbox by clicking on any created email address in the workspace's settings page.

Notes

Email testing has the following specifications and limitations. Please keep these points in mind when using this feature.

Emails that can be verified within a scenario

Only emails that have been received within the last 30 minutes can be verified in a scenario. If you try to open an email that is older than that, the message "Email not found" will be displayed.

Specification for searching emails to verify

In the Email Testing feature, Autify will open and verify the email that has a subject line most similar to the one that was recorded and meets the following conditions:

  • Received within 30 minutes
  • Unopened

Note that the same specification applies to replays as well.

If no email meets these conditions when the test is run, Autify will wait for up to 2 minutes. If the email is still not found, you will get an "Email not found." message.

If no email is received

If an email should have been sent to a fixed email address, but you cannot confirm that the email was received, please do the following:

  • Check for send errors on the mail server.
  • Check if the system under test has a feature that prevents duplicate emails from being sent. If so, check to see if that's what's preventing the email from being sent.

Mail that cannot be received by Autify

Emails sent via the following methods will not be received:

  • Mailing list
  • Forwarding

Please contact support if an email isn't received and it wasn't sent using one of those methods.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.