Object repository
Object repository
The object repository stores reusable pages and elements for autotest steps. Pages hold paths used by navigation. Elements hold locators used by actions and checks.
Use this section when you maintain shared targets for Playwright steps or prepare a page before Autotest generation from a page. Autotest definitions and runs live under Autotests and Autotest runs.
Boundaries
- Pages and elements live in separate catalogs (kinds
PAGEandELEMENT). - A page path supports relative
gototogether with the starting host and protocol from the autotest run. - Locators should be unique enough for stable steps. Unstable locators produce flaky autotest results.
- The repository does not execute tests by itself. Execution happens in an autotest run.
In this section
| Page | Purpose |
|---|---|
| Page | Paths used by navigation steps |
| Element | Locators used by element actions and checks |
What to read next
- Add pages and elements you will reuse.
- Build or import steps: Autotest creation or Autotest generation from a page.
- Run on a verified domain: Autotest run creation.
Did this page help?