Locator Filtering and Mapping

If your CSS changes with each build, Testim will automatically filter out the random component and map the locator to keep the element stable. We also give you manual controls.

05-18-2021

Dynamic or styled CSS can change with every build, causing challenges for many test automation tools. Rather than ignore the CSS entirely, or manually adjust locators on each element, Testim now filters and maps the dynamic classes to improve locator accuracy and minimize the need to manually edit the dynamic class selectors. This is now an automatic function that is performed during the recording time of new tests. Pre-existing tests are not impacted by this update.