Email Integration

Connecting Robonito to an email account via the IMAP protocol allows the test automation engine to read incoming messages securely.

This integration is extremely useful for bypassing security flows that mandate users click a "Magic Link" or input a One-Time Password (OTP) sent directly to their email address.


1. Setting Up the IMAP Connection

To establish a secure read-only connection to your test email inbox:

  1. Navigate to Integrations: Open the Integrations tab from the left sidebar on the main dashboard.
  2. Select Email: Find the Email integration tile and click Connect.
  3. Provide Server Credentials:
    • Email Address: The specific inbox Robonito should monitor (e.g., qa-test-1@yourdomain.com).
    • Password: The account password. If the inbox uses 2FA restrictions (like Gmail or Outlook), you must generate and provide a dedicated App Password.
    • IMAP Server: Your provider's IMAP host address (e.g., imap.gmail.com).
    • IMAP Port: Typical secure ports are 993 (SSL/TLS).
  4. Connect: Click Connect to test the credentials. The UI will update to "Connected" if the handshake succeeds.

2. Fetching OTPs During Test Execution

Once connected, you can program the Robonito recorder to pause, parse the inbox, and inject the dynamically fetched code.

  1. Start Recording: Launch your test case and trigger your app's "Send Code via Email" logic.
  2. Fetch OTP: Once the application UI loads the verification input screen, click the Fetch OTP button on the Robonito toolbar overlay.
  3. Target Email: Choose Email as your source target.
  4. Enter Subject Line Payload: Enter the exact (or partial) subject line of the expected email (e.g., Your Verification Code).

Robonito will autonomously parse the matching email, extract the underlying numeric string using regex logic, and explicitly inject the code into your application's UI to let the test properly proceed.