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:



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