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

ParameterRequiredDescription
Email to receive linkYesThe test mailbox address that should receive the email containing the link.
VariableYesName of the variable that receives the link. Default: MailLink.
IntentNoWhich link the AI should extract. Default: The first link in the text.
Ignore error on this stepNoThe 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?

Navigate to URL

Open the extracted link and continue the flow

Email & SMS in tests

How test mailboxes work

Last updated on