# Create local variable

Local variables in FinalRun allow you to store temporary values within a single test case. These variables are not retained after execution, making them useful for dynamic data handling.

### When to Use Local Variables

Use local variables when you need to:

* Store captured data for validation within the same test case.
* Perform calculations and reuse values.
* Maintain test case independence.



