Email Testing Feature
  • 05 Nov 2024
  • 3 Minutes to read
  • Contributors
  • Dark
    Light

Email Testing Feature

  • Dark
    Light

Article summary

⚠︎ Email testing (malin) is available on particular plans. For details, please confirm this page.

The Email Testing feature allows you to create email addresses to use in tests, and to create and run tests using those email addresses.
There are two types of email address:

  • Random email address - a different address is issued each time the test is run.
  • Fixed email address - the same address is used each time a test is run.
Domain of the email address

The domain of the email address generated by the Email Testing Feature is fixed to @testmail.autify.com.

You can use these email addresses to create tests that check the content of emails, and tests that use a link contained in an email.

Please refer to Random vs. Fixed Email Addresses for their respective use cases.

How to create a scenario using a random email address

  1. You can create a random email address while creating or editing a scenario. First, start recording on the Scenario Details Page.
  2. In the Recording window, go to the page where you want to enter the email address.
  3. Click the [Email] button in the Autify Recorder.
  4. Click [Create Random Email Address].
  5. An email address will be generated. Click the [Copy] button to copy the email address to your clipboard.
  6. Paste the email address into the page and perform the action that sends the email.
  7. After the email is sent, select the email address in the Autify Recorder.
  8. A list of received messages will appear. Select the message you want to check.

Email Testing Feature_en_1.png

  1. The content of the email will be displayed in the Recording window. You can create assertions for the email content and record actions such as clicks.

Email Testing Feature_en_2.png

  1. When you have finished recording the test, click [Save].

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

How to create a scenario using a fixed email address

Create a fixed email address

  1. Go to the Workspace Setting Page. Click [Settings] on the sidebar.
  2. Select the workspace from the menu.
  3. In the Email Address section, click [Create].
  4. Enter a name for the email address, and then click [Create].

You have created a fixed email address.

We recommend that you create an email address for each specific purpose and name it so that it is easily identifiable. You can create as many email addresses as you like.
You can also 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 the email address.
  3. Click the [Email] button in the Autify Recorder.
  4. A list of email addresses defined in the Workspace appears.
    Select the email address you want to use in the test.
  5. Click the [Copy] button to copy the email address to the clipboard.
  6. Paste the email address into the page and perform the action that sends the email.
  7. After the email is sent, click the [Refresh] button on the Autify Recorder.
  8. Click on the email you want to check.
  9. The content of the email will appear in the Recording window. You can create assertions for the email content and record actions such as clicks.

Email Testing Feature_en_3.png

  1. When you are finished recording the test content, click the [Save] button.

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

Change the email address name

You can change the names of fixed/random email addresses that you create.

  1. To change the name of a random email address, open a scenario that uses that random email address. For fixed email addresses, open any scenario. Then, start recording at any step by clicking [Record here].
  2. In Autify Recorder, click on the email icon and select the fixed/random email address you want to change.
    en_change_mail_name_1
  3. Click [Edit] on the right side of the email address name.
    en_change_mail_name_2
  4. Change the name and press Enter or click [Done] to save the changes.

You have now changed the email address name.

Change the Email subject

The Email subject in the "Open Email With Title Like" step can be changed from the scenario edit screen.
update_subject_EN.png

Specifications for searching for emails to be verified

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

  • Received within 30 minutes
  • Unopened

The same specifications apply to replays.

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

en_email_not_found

Please see here for the main reasons for the "Email not found" error.


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.