# How to use different variable in a test case called in another

**URL:** <https://forum.katalon.com/t/how-to-use-different-variable-in-a-test-case-called-in-another/141320>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [August 12, 2024, 8:53am UTC](https://forum.katalon.com/t/how-to-use-different-variable-in-a-test-case-called-in-another/141320 "2024-08-12T08:53:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![qa-sa](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/qa-sa/32/23869_2.png) [@qa-sa](https://forum.katalon.com/u/qa-sa)\
**Post date:** [August 12, 2024, 8:53am UTC](https://forum.katalon.com/t/how-to-use-different-variable-in-a-test-case-called-in-another/141320/1 "2024-08-12T08:53:26Z")

</div>

Hi everyone,

I can’t find a solution for this “problem”:

So I have a test case number 1 that uses three variables. I want to call this test case in another test case but with different variable values.  
My issue here is how can I use the test case number 1 in any test case with the variable that can change according to the test case ?

How can I set the variable of the test case number 1 ?

Any thoughts on this ?

Many thanks

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/katalon/original/3X/d/5/d55596ab02785a255798e87ede769734747b30c4.svg) [@system](https://forum.katalon.com/u/system)\
**Post date:** [August 12, 2024, 8:53am UTC](https://forum.katalon.com/t/how-to-use-different-variable-in-a-test-case-called-in-another/141320/2 "2024-08-12T08:53:26Z")

</div>

Hi there,

Thank you very much for your topic. Please note that it may take a little while before a member of our community or from Katalon team responds to you.

Thanks!

---

<div class="post-metadata">

**Author:** ![qa-sa](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/qa-sa/32/23869_2.png) [@qa-sa](https://forum.katalon.com/u/qa-sa)\
**Post date:** [August 12, 2024, 2:03pm UTC](https://forum.katalon.com/t/how-to-use-different-variable-in-a-test-case-called-in-another/141320/3 "2024-08-12T14:03:08Z")

</div>

Hi everyone,

Problem solved. I came across this post [Call Test Case and Variable - #5 by Steven\_Taylor](http://forum.katalon.com/t/call-test-case-and-variable/20554/5) and it helped fixed my issue 🙂
