Whenever there is salesforce upgrade, the
Xpaths of lot of web elements get effected. This causes us to maintain them. Is there any better solution to this problem?
I have found a solution for input elements which are associated to an Id. here is the link: https://www.parasoft.com/blog/tips-tricks-for-testing-salesforce-enterprise-apps-with-selenium/
But the above solution solves it for only input elements, is there any other solution for reducing the maintenance efforts for button and fields to read the data as well?