There are several ways, commonly people chose a less optimal one. This article shows a stable way, using Powerful XPath. — In web test automation, generally speaking, when there is a unique ID for the target element, we use the ID locator. However, at work, the IDs do not exist. This article show how to write a reliable automated step for a common operation where multiple buttons with the same text.