Overview
These guides are designed to help you easily understand the available functions and tools for writing solid end to end tests in ZWL with great ease. We will explain some of the challenges you may experience while writing tests for complex applications and their easy solution. We're sharing every possible detail to make you awesome with e2e testing.
These guides are divided in following categories:
Category | Description |
---|---|
Building Selectors | Get a guidance on choosing the right selector, building resilient selectors and considerations. |
Finding Elements | Details of how to find elements, functions overview, selector types, and timeout. |
Manual Waits | Learn the concepts behind manual wait, waiting for asynchronous updates and page loads, overview of available untilXX functions, customizing the wait, details of staleness, removal, and more. |
Dry Running E2E Test Functions | Learn how to dry run tests that have e2e test functions. |
Navigating Pages | Learn navigating to pages, moving back forward and more. |
Windows & Frames | Learn how to open, close, move and manage browser windows. Learn to navigate among iframe s. |
Element State | Get an overview of available functions that tell element's state such as attributes, text, value, coordinates, staleness and existence. Learn how to capture elements screenshot and more. |
Interacting with Elements | Learn how to trigger various actions on elements such as click, typing, hovering, dragging, file uploading, pressing modifier keys and more. |
Running Javascript | Learn how to run js code in a page from a test. |
Cookies & Storage | Learn how to create, read cookie and how to work with browser storage. |
Working with Colors | Learn how to verify colors of elements in test. |
Select & Alerts | Learn how to work with html select element and js alerts/prompts. |
Timeouts | Get to know available timeouts and how to set and get them. |
Best Practices | Lean the best practices of e2e testing. |