Documentation Index
Fetch the complete documentation index at: https://docs.testbrick.com/llms.txt
Use this file to discover all available pages before exploring further.
Recording Tests
The TestBrick Chrome extension records your browser interactions as test steps. Every click, keystroke, and navigation is captured automatically.Install the extension
- Install the TestBrick Chrome Extension from the Chrome Web Store
- Sign in with your TestBrick account
- The extension icon appears in your browser toolbar
Start recording
- Open a UI test file in TestBrick
- Click Record in the toolbar
- Navigate to your app — the extension starts capturing
What gets recorded
| Interaction | Captured as |
|---|---|
| Click a button | Click step with element locators |
| Type in an input | Fill step with the typed value |
| Navigate to a page | Navigate step with the URL |
| Select a dropdown option | Select step with the chosen value |
| Upload a file | Upload file step |
| Press Enter/Tab | Press key step |
Locator strategies
Each recorded step captures multiple ways to find the element, in priority order:- QA ID —
data-qa-idattribute (most reliable) - Role + Name — semantic ARIA role (e.g., button “Submit”)
- Test ID —
data-testidattribute - Label — associated form label
- Placeholder — input placeholder text
- CSS Selector — class/ID based
- XPath — full path (last resort)