My AUT has two objects, MyEstate1 & MyEstate2. Each object shares all locators except for the ID which is dynamically created.
On the 1st page load the
ID= MyEstate01 & MyEstate02
On the 2nd page load the
ID= MyEstate01 & MyEstate03
Question…
When I use “//[contains(@id, ‘MyEstate’)]" or "//[starts-with(@id, ‘MyEstate’)]” MyEstate01 is clickable.
However I cannot figure out how to access ID= MyEstate02 or MyEstate03. What Xpath syntax should I use to access the 2nd object?