Skip to content
Help Center
Browse documentation

Explore your app to build the knowledge base

Start an AI exploration of your web app in TestOptim, follow its progress live and stop it if needed. The result is your knowledge base.

Updated 5 min read

To explore your app, open your project's Knowledge page and click Start exploration. TestOptim's AI agent opens your project's URL in a real browser, clicks around, tries forms and, if you gave it a login, signs in and keeps going. What it finds is saved as your knowledge base.

Before you start

  • You need the Owner, Admin, QA Lead or QA Engineer role to start an exploration. Only Owner, Admin and QA Lead can stop one. Developers and Viewers can watch but not start.
  • If your app needs a login, add a credential profile first. Without one the agent only sees pages that are public.
  • Exploration uses your plan's monthly page budget. Solo, including the trial, has 30 pages a month, so a first exploration of a mid-size app can use most of it. See How long does exploration take, and what does it cost?.
  • The project must not be archived, and no other AI job (a test run, test generation) can be running on it.

Start an exploration

  1. Open your project and click Knowledge in the sidebar.

  2. Check that the status badge says Pending. The page shows 0 pages, 0 flows and 0 entities.

    The Knowledge page of a new project with a Pending badge and the Start exploration button
    A new project's Knowledge page

  3. Click Start exploration.

    • If the project has two or more credential profiles, the button reads Explore as.... Pick the profile the agent should log in with. Each exploration uses one profile. Explore as... only appears while the status is Pending, so to explore as another profile after a finished run, clear the knowledge base first. The new run replaces what was found.
    • If the project has no credentials at all, a No Credentials Configured dialog appears. Click Cancel to add credentials in Settings, or Explore Anyway to explore only the public pages.
    The No Credentials Configured warning with Cancel and Explore Anyway buttons
    Shown when the project has no credential profile

Watch it work

As soon as the run starts, the Stop exploration button appears and an Agent Activity log opens with an Exploring badge. The Pages counter goes up as the agent visits pages. Flows and entities show "known when run completes".

The Agent Activity log with login steps, analyzed pages and a pages counter
The live log is the only progress indicator
The agent logs in, then analyzes each page it reaches

The log is the only progress signal, and it can look quiet for a minute or more while the agent works on a page. That is normal. You can leave the page: you get an email and an in-app notification when the run ends.

What the agent does:

  1. Without logging in, it lists your public pages and tests forms, including empty and invalid input.
  2. Logs in once with the credential profile you chose, then explores the signed-in pages.
  3. It saves what it finds as it goes.

The agent never logs out, deletes data, makes payments or changes passwords or settings.

Stop an exploration

Click Stop exploration if you started it by mistake or the agent is stuck. It finishes the current step and then stops. Everything it discovered up to that point is kept, so a stopped run still leaves you a partial knowledge base. The badge goes back to Pending and the pages, flows and entities found so far stay listed, but Improve with AI and Clear knowledge are not offered. Click Start exploration to run again. Only Owner, Admin and QA Lead can stop a run.

The Knowledge page after stopping: Pending badge, Start exploration button and the partial results
A stopped run keeps what it found

Note

Starting a new exploration while one is running stops the running one first. Other jobs on the same project (a test run, test generation) are blocked until exploration ends and show "... is already in progress for this project" (see Another job is already in progress).

What happens when exploration finishes?

When the agent finishes:

  • The badge changes to Approved. This is just how "exploration finished" is shown. There is no review step you must complete.
  • The counters show how many pages, flows and entities were found.
  • An Exploration Complete dialog offers View Test Cases or I'll do this later.
    The Exploration Complete dialog
    Click I'll do this later to stay on the Knowledge page

Next, review what exploration found before you generate test cases from it. Exploration also files issues for problems it notices along the way. You will find them in Issues.

How long does exploration take, and what does it cost?

A small app usually takes 5 to 15 minutes. A single run stops on its own after 30 minutes, and everything found up to that point is kept as a partial knowledge base. If a run fails, TestOptim retries automatically up to 2 times and notifies you if it still did not finish.

Pages are counted against your monthly budget when the crawl ends. Every distinct page visit counts, so a page seen both logged out and logged in counts twice. The crawl stops when it reaches your remaining page budget, and if you have no pages left, exploration won't start. See You have reached your plan limit and Track your usage and buy top-up packs.

Tip

If the run keeps pausing at a login that sends a code, see Enter a one-time code during exploration.