# Add variable in xpath

**URL:** <https://forum.katalon.com/t/add-variable-in-xpath/79173>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [October 3, 2022, 6:24am UTC](https://forum.katalon.com/t/add-variable-in-xpath/79173 "2022-10-03T06:24:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Noor\_Ahmed\_Khan](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/noor_ahmed_khan/32/16104_2.png) [@Noor\_Ahmed\_Khan](https://forum.katalon.com/u/Noor_Ahmed_Khan)\
**Post date:** [October 3, 2022, 6:24am UTC](https://forum.katalon.com/t/add-variable-in-xpath/79173/1 "2022-10-03T06:24:20Z")

</div>

I have to add add variable in below mentioned details, click on that Id which is stored in ci  
can anyone help me out ?

 ![image](https://europe1.discourse-cdn.com/katalon/original/3X/c/0/c0e7c6368fcbcfe6ceb6cb88bb7cbbba2cf5b3a1.png)

---

<div class="post-metadata">

**Author:** ![grylion54](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/grylion54/32/16265_2.png) [@grylion54](https://forum.katalon.com/u/grylion54)\
**Post date:** [October 3, 2022, 3:20pm UTC](https://forum.katalon.com/t/add-variable-in-xpath/79173/2 "2022-10-03T15:20:29Z")

</div>

This has been asked many times on this forum, like the below question:

> [@Dynamic Xpath and Passing Variable Into the Xpath](http://forum.katalon.com/t/dynamic-xpath-and-passing-variable-into-the-xpath/29684/15):
>
> Hello, this article may help you
