Get email link in a smartphone test

Capture a link sent by email during a smartphone test: account confirmation, password reset, magic login. The AI picks the link you describe.

Capture a link sent by email 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 for later steps.

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?

Fill input

Use the extracted link in a later step

Email & SMS in tests

How test mailboxes work

Last updated on