Best way to Locate Element

Short answer: there is no permanent solution. :persevere:

Improved answer: get better locators. :smile:

I presume when you say ID’s are changing, that means that ID’s are generated dynamically. In that case, I suggest trying parametrization. I believe the following articles and discussions could be helpful:

https://docs.katalon.com/katalon-studio/docs/parameterize-webmobile-test-object-properties.html

https://docs.katalon.com/katalon-studio/tutorials/data_driven_testing.html#what-is-data-driven-testing