TestProject Forum
Powered by leading experts in the test automation community

Passing in parameter to an element

Is there a way to passing in parameter to an element like below? Created a parameter called actualRow and want to pass into //tr[actualRow]… in order to get the actual xpath element.

Hello @steve.wong.
You add the parameter in the exact same way as you add parameter in other ways, just click the plus sign and select the parameter.
image

1 Like

Thank you for the fast reply.