Documentation for automated readers
A curated documentation index is available at: https://grafana.com/llms.txt
A complete documentation index is available at: https://grafana.com/llms-full.txt
These indexes can help with page discovery before fetching individual documents.
This page is also available in Markdown, which may be easier for automated readers and AI tools to parse than HTML. The Markdown version is available at https://grafana.com/docs/grafana-cloud/testing/agentic-testing/create-browser-tests-from-plain-language-user-journeys.md, or by sending Accept: text/markdown to https://grafana.com/docs/grafana-cloud/testing/agentic-testing/create-browser-tests-from-plain-language-user-journeys/. For broader documentation discovery, the curated index is available at https://grafana.com/llms.txt and the complete index is available at https://grafana.com/llms-full.txt.
Create browser tests from plain-language user journeys
Create a functional browser test by setting a start URL, adding plain-language steps, and saving the test in Grafana Cloud. For an overview of Agentic testing, refer to Introduction to Agentic testing.
Before you begin
To use Agentic testing, you need:
- A Grafana Cloud account
- Access to Testing & synthetics > Agentic testing in your stack. By default, only Grafana Cloud Admins have access. Refer to Projects and access to grant access to other users.
- Grafana Assistant enabled on your stack
Contact your Grafana Cloud administrator if you do not see Agentic testing in the main menu.
Create a browser test
To create a browser test:
Sign in to your Grafana Cloud stack.
On the main menu, click Testing & synthetics > Agentic testing.
Click + Create a new test.
In Start URL, enter the full URL where the browser opens first.
For example, enter
https://quickpizza.grafana.com/admin. QuickPizza is Grafana’s demo site, so you can run this example without setting up your own application.In User Journey, add one action or check per step in plain language. Steps run in order after the start URL opens.
For example, enter one line per step:
textFill username with admin Fill password with admin Click Sign in Verify the page shows Latest pizza recommendationsTip
Enter the action text only in each step field. The UI numbers steps for you, so don’t include
1.,2., and so on in the step text.Each step supports up to 300 characters. A test supports up to 20 steps. Refer to Introduction to Agentic testing for the full list of test limits.
In Test name, enter a name that describes the journey, for example
QuickPizza admin login.Click Save, or click Save and run to save the test and start a run immediately.
To store logins, API keys, or other sensitive values, create a secret and reference it as $SECRET_NAME in your journey steps.
Run a browser test
If you clicked Save and run when you created the test, Grafana Cloud starts the run immediately. Otherwise, to run a saved browser test:
- Open the test you created.
- Click Run.
Agentic testing runs one functional browser session on Grafana Cloud. Each step executes in a real browser, not as a protocol-only or uptime check. A single run can take up to 15 minutes.
While the test runs, you can follow live progress in the run view, including the current step and browser logs.
Review test results
When the run finishes, review the results to confirm whether the journey passed or failed. A completed run shows the overall status, how many steps passed, and View recording.
Each run includes:
- Step-level pass/fail results for every step in the user journey
- Logs that show what happened during the run
- A session recording you can replay to see the browser interaction
Use these artifacts to debug failures, share outcomes with your team, and iterate on the journey description without rewriting a full browser test script.
Debug a failed run
Expand the failed step to follow the agent’s reasoning and the tools it called. Click View recording to replay the browser session, and check the logs for the run. Revise the step wording in your user journey and run the test again.
If you can’t save a test, confirm you have access to Agentic testing. By default, only Grafana Cloud Admins can create tests. Refer to Projects and access.
For additional context on browser result views in Performance testing, refer to Inspect browser test results.
Was this page helpful?
Related resources from Grafana Labs


