Fields and locators with interrupted inheritance

Inherited fields are populated by locators from their parent class except in either of the following scenarios:

  1. If a inherited locator is copied.

  2. If an inherited locator is overridden.

In either of these cases, the fields in the same class are populated by their local locator with interrupted inheritance rather than the parent class locator with the same name.

This is because in the extraction sequence, the locator method is performed in the first step, and in either of the above scenarios, the locator method used is not inherited. This means that when the field is populated in the second step of the sequence, its value comes from a local locator that is either overridden or copied.