Not able to click on the check box

Hello Team, I am not able to handle a click the check box, which is a dynamic xpath, the format of xpath is as below:
//*[@id=“2766da4b-1564-4ca5-8ad8-b34a066a128a”]

//*[@id=“d84764b4-53ca-43ec-86da-dd8681f80103”]

//*[@id=“1569d8d5-5fed-4bd8-8e81-d40b38a7a8f6”]

Please suggest how to proceed further to handle the click the checkbox option, Thank you.

1 Like

@chevuri.chandrasekha - You can take help to How to handle dynamic xpath? - #37 by salman.ahmad

1 Like

If you have a dynamic pathway, then you cannot use it. You have to look at other attributes in order to identify the element. If you can show some HTML of the checkbox, then we may be able to assist you further. Right click on the checkbox and select “Inspect”. Do this twice to show you the HTML of this specific element.

Edit: it might be as simple as "//table/thead/tr[2]/th[1]/input" assuming it is the second row of a heading.

1 Like