Concepts

Tasks

A task is a job you give to qtrl's AI agent: generating tests, running instructions or exploring your app.

What is a task

You describe your intent in natural language instead of writing code or scripting browser interactions. The agent interprets your instruction, plans the steps, and carries them out in a real browser.

You create tasks from the Tasks page of your project with Add task. You write what you want, choose a type and an environment, and start it. The agent picks it up as soon as a worker is free. If the environment is missing something the agent needs, like an App URL, the dialog tells you before anything starts, so a task that can't get past its first step never uses credits.

Task types

Generate tests

This is the most common starting point. You describe a feature, a user flow, or an area of your application, and the agent writes structured test cases with steps and expected results. It then runs each new test once in the browser and reviews it. The tests land in your Tests tab, ready for you to approve or reject.

For example, you might write: "Generate tests for the checkout flow, including adding items to cart, applying discount codes, and completing payment."

Run instructions

Use this when you want the agent to do something once: a quick check after a deployment, or trying out a flow before you write a test for it. The agent follows your instructions in the browser and reports what happened.

Instructions aren't saved to your test library unless you tick Save as a test when you create the task. If a run goes well and you want to keep it after all, use Save as test on the finished task.

Test run steps

When you start a test run, the system creates one task per automated test in the run. The run shows the overall results, and each task holds the agent's step-by-step log and screenshots for one test. These steps are hidden on the Tasks page by default; tick Include test run steps to see them, or open them from the run.

Explore

Exploration tasks tell the agent to navigate your application and learn about it. The agent browses through pages, interacts with elements, and builds up its understanding of how your application works. This knowledge is stored in Memory and helps the agent perform better on future tasks.

Exploration is especially valuable when you first set up a project or when significant changes have been made to the application.

Task statuses

  • Queued: the task is waiting for the agent to pick it up. If an attempt hits a temporary problem before the browser opens, the task goes back to the queue and says which attempt it's on. A group is Queued until its first step starts.
  • Running: the agent is working on it. Once a group has started, it stays Running while any of its steps is still queued or running, even if an earlier step failed.
  • Completed: the task finished. For a test, that means it passed.
  • Failed: your app didn't behave the way the test expects. This is the result to look at.
  • Couldn't run: the agent or the infrastructure had a problem, not your app. Running it again usually helps.
  • Cancelled: someone stopped the task before it finished.

Every finished task shows a one-line outcome under its title, such as "Passed: order confirmation shown" or "Failed: the Place order button stayed disabled", so you can see what happened without opening the log.

Task groups

A generation runs as a group of steps: writing the tests, a first run of each new test, and an AI review of each one. The group header sums it up, for example "Generated 8 tests · 7 approved · 1 rejected", and you can expand it to see every step with its own status, outcome and log.

Running again and cancelling

  • Run again starts the same request with the same settings and environment. On a generation it creates a new set of tests, so qtrl asks you first.
  • Retry step repeats one failed first run or review inside a generation, without starting the whole generation over. The new attempt replaces the failed one in the group's status and summary.
  • Cancel stops a queued or running task. On a group it stops every step that hasn't finished; steps that already finished keep their results.
  • Steps of a test run are re-run from the run itself with Re-run failed, so their results reach the run. Their tasks show Open run instead.

Credit consumption

Each task consumes credits from your organization's subscription. The number of credits used depends on the complexity and duration of the task. After a task completes, its credit consumption is displayed next to the task. A group shows the total across its steps, and each step shows its own.

Monitoring tasks

The Tasks page lists the most recent tasks first. You can filter by status and environment, and the filters stay in the page address, so you can bookmark or share a filtered view. Each task shows who started it, when, how long it took, and its outcome.

Expand a task to see what the agent did: a timeline with screenshots for browser runs, and a log for generation and review steps. While a task runs, both update live.

For guidance on writing task descriptions that produce the best results, see Best Practices: Creating Tasks.

Take a break

Some bugs got loose. Catch them.

Bugs caught: 0