Creating Elements
Definitions of your Elements by CSS or XPath Selectors
Last updated
Definitions of your Elements by CSS or XPath Selectors
Last updated
Elements in DoesQA allow you to manage and reuse selectors for interacting with and locating elements on the web page during test execution. Creating and maintaining elements centrally makes your tests more maintainable and robust.
There are two ways to create elements in DoesQA:
Left-Hand Menu: Navigate to the Elements section in the left-hand menu and click the "New" button to create a new element.
Node Edit Modal: While editing a node in a test, click the "+" button to create a new element on-the-fly.
When creating an element, select the appropriate type and provide a valid expression or value based on the selected type. This will ensure that DoesQA can effectively locate and interact with the element during test execution. Need some help defining locators? Book a session with our QA experts and we can assist.