How to create Web Tests
Introduction
You can create Web Tests in Endtest in four ways:
- By using the AI Test Creation Agent
- By using the Endtest Chrome Extension
- By manually creating test suites, test cases, and steps
- By importing files such as JSON or CSV
This gives you the flexibility to create tests in the way that works best for your workflow, whether you prefer generating them with AI, recording them in the browser, building them step by step, or importing them from existing files.
1. By using the AI Test Creation Agent
The AI Test Creation Agent helps you create Web Tests faster through an agentic approach that generates test steps based on your instructions.
You can access it by clicking the New Test Suite button and then selecting the Use AI option.
After starting the agent, you can choose between two approaches: Granular and High-Level.
In Granular mode, you provide instructions for individual steps, either one step at a time or multiple steps at once.
In High-Level mode, you provide broader directions for the flow you want to automate, and the agent generates the corresponding test steps for you.
You can also use files in the prompt to provide additional context to the agent.
The generated output consists of regular test steps that can be reviewed, modified, and reused just like any other steps in Endtest.
This is not a black-box approach where an AI instruction remains inside the test at runtime. Instead, the AI is used to generate clear and editable steps, giving you visibility into what the test will do and full control over the final result.
The AI Test Creation Agent also includes settings for configuring the remote machine in the Endtest cloud where it runs, including the platform, operating system, browser, browser version, and screen resolution.
If you want to start the AI-driven test creation process from a specific point in an existing test, you can manually add a Miscellaneous -> Start AI Test Creation Agent step to your test.
When the test execution reaches that step, the AI Test Creation Agent starts from that point, allowing you to create additional steps based on the current state of the workflow.
The newly created steps can then be saved either in the original test case or in a different test case.
This is especially useful when part of the workflow is already covered by an existing test and you want the agent to continue from that point, without having to generate the earlier steps again.
This is a fast, powerful, and reliable way to create tests with AI, especially when you want to reduce manual work and quickly build automated test flows.
2. By using the Endtest Chrome Extension
The Endtest Chrome Extension allows you to record Web Tests directly in your Chrome browser.
The recorded tests are saved directly to your Endtest account, where you can review and edit them later.
You can download and install the Endtest Chrome Extension from the Chrome Web Store.
The extension can identify elements by ID, Name, CSS Selector, and XPath.
It also supports more complex scenarios, including iframes and multiple browser tabs.
During recording, you can also add steps for assertions and screenshots.
The recording can be paused and resumed at any time, and the extension settings can be updated even while recording.
After saving the test, you can manually edit it and make any additional changes you need.
3. By manually creating test suites, test cases, and steps
You can also create Web Tests manually inside Endtest.
This approach gives you full control over the test structure and is especially useful for advanced scenarios, such as sending API requests, using IF Statements, or building more complex test flows.
It is a great option when you want to define each step precisely and customize the logic of your test in detail.
Add a test suite
- Go to the Web Tests section.
- Click the
New Test Suitebutton. - Click the
Blank Test Suiteoption. - Enter a name for the test suite.
- Click the
Save Test Suitebutton.
Add a test case
Test cases can be added after you create a test suite.
- Click the
New Test Casebutton. - Enter a name for the test case.
Add steps to the test case
A test case is made up of individual steps.
To add a new step, click the Add Step button.
Each step is defined by its Action.
Some actions apply to the entire page, such as Go to URL, Refresh Page, or Take Screenshot.
Other actions must target a specific element, such as Click or Write Text.
To target a specific element, you need to use a Locator.
A Locator is an attribute that identifies an element on the page, such as Id, Name, XPath, or Link Text.
4. By importing files such as JSON or CSV
You can also create Web Tests by importing supported files, such as JSON or CSV.
This option uses AI to help convert the imported content into Web Tests inside Endtest.
It is especially useful when migrating from other tools and you want to bring existing test definitions or data into Endtest faster.
Importing files can help you save time and reduce the amount of manual work needed when moving your testing workflow to Endtest.
