How to create a dynamic Xpath

how can I created a dynamic xpath //[@id=“X1231231”]
in my Example value “1231231” is id that get generated when i complete my task and stored as global variable.
is there a way to update that to xpath //
[@id=“X”+GlobalVariable.id"]

1 Like
2 Likes

Thank you that was very helpful

1 Like