So it is successfully locating the object. But if we scroll within the page then its starts indicating different check box, which gets visible on scrolling. Though the required check box is also visible there. We cannot use id as well, as this is for SFDC Conga page and its not a static id.
Please suggest some work around here.,
Thanks for your response.
That is exactly the query that we have ‘how to make the Xpath less brittle?’ . We are not able to do anything here as there is no static locator available in the page Initially we tried out with id but that is also changing.
See the enclosed screenshot
Please suggest what more Information can we share.
I doubt those are the only options available.
You can start by learning more abouth xpath:
and further search about how you can optimize such.
note that, the xpath locators are not the only ones available into this universe, you can use also css or attribute locators, or even js.