Welcome to the world of automated testing with WolfPack! In this section, we’ll explore an essential and powerful feature of the platform: email integration in your test scenarios. This functionality allows you to test complex workflows involving email sending and receiving, such as account creation, email validation, or automated notifications.
Using emails in your tests significantly improves functional coverage while seamlessly integrating into your existing scenarios. Whether you’re new to automation or an expert, this feature is designed to simplify your workflow and make your tests more robust.
Many modern web applications rely on email interactions, whether it’s to confirm a registration, reset a password, or send alerts. Automating the testing of these features is essential to ensure they work properly.
With WolfPack, you can include dedicated email steps directly in your test scenarios. This allows you to verify not only the reception of emails but also their content and even interact with them (such as clicking on a validation link). Here’s why this feature is indispensable:
A common scenario is account validation during registration. For example:
Test alerts sent by your application, such as:
This scenario includes:
These are just a glimpse of the possibilities. With WolfPack, the scenarios are limitless!
WolfPack’s email management is built on three key elements:
WolfPack automatically generates email addresses based on your projects. For example:
anything_${projectId}@mail.wolfpackqa.com
This flexibility allows you to customize the addresses according to your needs:
{{testRunId}}
.{{jobId}}
.When an email is sent to an address like @mail.wolfpackqa.com
, it’s automatically associated with the corresponding project. Two usage modes are available:
When an email is received and matches the defined criteria, it is displayed directly in the browser during the test execution. You can then:
Let’s take a concrete example: testing account creation on an application.
https://app.example.com/signup
input[name="email"]
: test_${testRunId}@mail.wolfpackqa.com
input[name="password"]
: password123
button[type="submit"]
noreply@example.com
/account-activated
This scenario can be easily configured in WolfPack without requiring additional setup.
To avoid interference, you can apply filters to:
Variables like {{testRunId}}
or {{jobId}}
allow you to customize emails in advanced ways, ensuring their uniqueness while simplifying management.
WolfPack’s interface simplifies email interaction:
Whether you run your tests locally or in the cloud, email management works identically. No additional configuration is required. As long as an email is sent to an @mail.wolfpackqa.com
address associated with the correct project, it will automatically be available in the test context.
Integrating emails into your test scenarios with WolfPack unlocks endless possibilities for automating and validating complex workflows. Whether you’re testing simple account validation or advanced notification systems, this feature ensures precise and reliable tests.
Thanks to its ease of use, customization options, and seamless integration, WolfPack turns email-related testing into a simple and efficient task. Try it now and see how this feature can enrich your testing scenarios!
If you have any questions or need help configuring your tests, our team is here to support you. 😊