ATF Custom UI can not distinguish between multiple identical componentsDescriptionATF will still click the first button after the page developer has removed the button defined in an ATF Custom UI step. Steps to Reproduce 1. Navigate to the "System UI > UI Pages" module and select "New".2. Fill out the fields as follows:"Name" = <any value>"HTML" = <?xml version="1.0" encoding="utf-8" ?><j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null"><div id="mydiv"></div><div><button onclick="foo('First')">Click me!</button></div><div><button onclick="foo('Second')">Click me!</button></div><div><button onclick="foo('Third')">Click me!</button></div></j:jelly>"Client script" = function foo(msg) {gel('mydiv').innerText = msg;}3. Click on "Submit".4. Navigate to the "Automated Test Framework (ATF) > Tests" module, click "New" and then "Save".5. Click "Add Test Step", then "Form", then "Open an Existing Record" and "Next".6. Set "Table" to "UI Page" and "Record" to the record created in step 1-3, then click "Submit".7. Click Add Test Step > Form > Click a UI Action, then "Next".8. Set "UI Action" to "Try It" and click "Submit".9. Click Add Test Step > Custom UI > Click Component (Custom UI) then click "Next".10. When prompted click "Retrieve components", allow the test to run to completion in the tab it opens, then go back to the test designed and click "Next".11. In the component dropdown select any of the "Button <button>: Click me!" components then click "Submit".12. Click "Run" and then "Run Test" if prompted.Observe not all the buttons can be clicked by navigating back to the "Click Component (Custom UI)" step and changing the component dropdown. No matter which one of the "Button <button>: Click me!" components are selected, it will only ever click on the very first one, making it impossible to click the "Second" or "Third" buttons.WorkaroundThis issue has been addressed in Rome. The ATF is better equipped to find and interact with multiple identical UI Components / html elements on the page.Related Problem: PRB1356037