Get email link in a web test
Follow a link sent by email during a web test: account confirmation, password reset, magic login. The AI picks the link you describe.
Follow an email link as part of the flow: account confirmation, password reset, magic login. The step waits for the email, asks the AI for the link matching your intent, and stores it in a variable. Open it with a Navigate to URL step to continue the scenario.
Parameters
| Parameter | Required | Description |
|---|---|---|
| Email to receive link | Yes | The test mailbox address that should receive the email containing the link. |
| Variable | Yes | Name of the variable that receives the link. Default: MailLink. |
| Intent | No | Which link the AI should extract. Default: The first link in the text. |
| Ignore error on this step | No | The run continues with the next step if no link is found. Default: off. |
Use the intent to disambiguate emails with several links: "The password reset link", "The link in the Confirm my account button".
Results and metrics
- Variable: the extracted link is stored in the variable. Open it with a navigation step to continue the flow.
- Timing: start, end, and duration (in seconds). The duration includes waiting for the email to arrive.
- Status: failed if no email arrives or the AI finds no link matching the intent.
- AI usage: the AI cost of the extraction is added to the run.
See Email & SMS in tests for how test mailboxes work.
What's next?
Last updated on