Skip to main content

complex-workflows Scenario 3 — Register → Verify → Login → Extract Bonus

Written by RTILA X Engineering Team

Beginner ~4 min

What You'll Learn

Combine loops and conditional logic

Real-World Use Case

Processing only active items

LIVE DEMO

EXPECTED OUTPUT

RTILA X PROJECT JSON

    {
  "name": "Register_Verify_Login_Bonus",
  "settings": {
    "urls": [
      "https://learn.rtila.com/scenarios/complex-workflows/3"
    ]
  },
  "datasets": {
    "welcome": {
      "item_selector": "css=.cw-welcome",
      "properties": [
        {
          "name": "welcome_message",
          "type": "text",
          "selector": "css=self"
        }
      ]
    }
  },
  "commands": [
    {
      "command": "wait_for_selector",
      "params": {
        "selector": "css=#cw-reg-form"
      }
    },
    {
      "command": "fill",
      "params": {
        "selector": "css=#cw-reg-name",
        "value": "Jane Smith"
      }
    },
    {
      "command": "fill",
      "params": {
        "selector": "css=#cw-reg-email",
        "value": "jane@example.com"
      }
    },
    {
      "command": "fill",
      "params": {
        "selector": "css=#cw-reg-pass",
        "value": "secure123"
      }
    },
    {
      "command": "click",
      "params": {
        "selector": "css=#cw-reg-submit"
      }
    },
    {
      "command": "wait_for_selector",
      "params": {
        "selector": "css=.cw-verify-step"
      }
    },
    {
      "command": "wait_for_selector",
      "params": {
        "selector": "css=.cw-verify-link"
      }
    },
    {
      "command": "click",
      "params": {
        "selector": "css=.cw-verify-link"
      }
    },
    {
      "command": "wait_for_selector",
      "params": {
        "selector": "css=.cw-welcome"
      }
    },
    {
      "command": "extract_data",
      "params": {
        "dataset": "welcome"
      }
    }
  ]
}
  

Registration flows often include a verification step. The automation submits the onboarding form, clicks the verify link, and waits for the welcome message.

Did you complete this scenario?

Ready to run this automation?

Copy the project JSON above, open RTILA X, create a new project, and paste it.

This scenario covers 2 RTILA X commands and is referenced in 1 learning article.

Continue Learning

Was this helpful?