# Variables in the recorder are showing up in the variable tab but not being used

**URL:** <https://forum.katalon.com/t/variables-in-the-recorder-are-showing-up-in-the-variable-tab-but-not-being-used/9204>\
**Category:** Web Testing\
**Tags:** katalon-recorder\
**Created:** [February 1, 2018, 11:12am UTC](https://forum.katalon.com/t/variables-in-the-recorder-are-showing-up-in-the-variable-tab-but-not-being-used/9204 "2018-02-01T11:12:40Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Reg\_Hawkins](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@Reg\_Hawkins](https://forum.katalon.com/u/Reg_Hawkins)\
**Post date:** [February 1, 2018, 11:12am UTC](https://forum.katalon.com/t/variables-in-the-recorder-are-showing-up-in-the-variable-tab-but-not-being-used/9204/1 "2018-02-01T11:12:40Z")

</div>

Command Target Value  
store webdriver userName  
echo ${userName}

#### [info] Executing: | store | webdriver | userName |

#### [info] Executing: | store | webdriver123 | userPassword |

#### [info] Executing: | echo | ${userName} | |

the variable are not being referenced by the syntax ${}  
WHat is the syntax

[variables.PNG](https://s3.amazonaws.com/katalon-forum/editor/nm/h3gaaw7ez77m.png)

---

<div class="post-metadata">

**Author:** ![Patrick\_Groot](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/patrick_groot/32/9976_2.png) [@Patrick\_Groot](https://forum.katalon.com/u/Patrick_Groot)\
**Post date:** [February 1, 2018, 11:27am UTC](https://forum.katalon.com/t/variables-in-the-recorder-are-showing-up-in-the-variable-tab-but-not-being-used/9204/2 "2018-02-01T11:27:44Z")

</div>

I’m not sure what you expect to happen?  
In the **log** you can see what’s going on and for me it’s working?

> [info] Executing: | store | webdriver | userName
> 
> [info] Executing: | echo | ${userName}
> 
> [info] echo: webdriver

---

<div class="post-metadata">

**Author:** ![Reg\_Hawkins](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@Reg\_Hawkins](https://forum.katalon.com/u/Reg_Hawkins)\
**Post date:** [February 1, 2018, 11:56am UTC](https://forum.katalon.com/t/variables-in-the-recorder-are-showing-up-in-the-variable-tab-but-not-being-used/9204/3 "2018-02-01T11:56:57Z")

</div>

#### [info] Executing: | type | id=login-form-username | ${userName} |

[login error.PNG](https://s3.amazonaws.com/katalon-forum/editor/9f/tq7268r39age.png)

---

<div class="post-metadata">

**Author:** ![Reg\_Hawkins](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@Reg\_Hawkins](https://forum.katalon.com/u/Reg_Hawkins)\
**Post date:** [February 1, 2018, 11:57am UTC](https://forum.katalon.com/t/variables-in-the-recorder-are-showing-up-in-the-variable-tab-but-not-being-used/9204/4 "2018-02-01T11:57:59Z")

</div>

It’s not working for me! that old chestnut

---

<div class="post-metadata">

**Author:** ![Patrick\_Groot](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/patrick_groot/32/9976_2.png) [@Patrick\_Groot](https://forum.katalon.com/u/Patrick_Groot)\
**Post date:** [February 1, 2018, 12:00pm UTC](https://forum.katalon.com/t/variables-in-the-recorder-are-showing-up-in-the-variable-tab-but-not-being-used/9204/5 "2018-02-01T12:00:39Z")

</div>

You’re running them in the same test case like this?

```auto
store | webdriver | userName
type | id=login-form-username | ${userName}

```

Not sure for me this is working without any problem.

---

<div class="post-metadata">

**Author:** ![Reg\_Hawkins](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@Reg\_Hawkins](https://forum.katalon.com/u/Reg_Hawkins)\
**Post date:** [February 1, 2018, 12:00pm UTC](https://forum.katalon.com/t/variables-in-the-recorder-are-showing-up-in-the-variable-tab-but-not-being-used/9204/6 "2018-02-01T12:00:53Z")

</div>

#### [info] Executing: | store | webdriver | userName |

#### [info] Executing: | echo | $(userName) | |

#### [info] echo: $(userName)

---

<div class="post-metadata">

**Author:** ![Reg\_Hawkins](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@Reg\_Hawkins](https://forum.katalon.com/u/Reg_Hawkins)\
**Post date:** [February 1, 2018, 12:02pm UTC](https://forum.katalon.com/t/variables-in-the-recorder-are-showing-up-in-the-variable-tab-but-not-being-used/9204/7 "2018-02-01T12:02:17Z")

</div>

my version is Katalon Automation Recorder 3.1.2.  
my chrome version Version 63.0.3239.108 (Official Build) (64-bit)

---

<div class="post-metadata">

**Author:** ![Reg\_Hawkins](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@Reg\_Hawkins](https://forum.katalon.com/u/Reg_Hawkins)\
**Post date:** [February 1, 2018, 12:04pm UTC](https://forum.katalon.com/t/variables-in-the-recorder-are-showing-up-in-the-variable-tab-but-not-being-used/9204/8 "2018-02-01T12:04:57Z")

</div>

![](https://s3.amazonaws.com/katalon-forum/editor/mu/0ghg6e1t4l5i.png "Image: https://s3.amazonaws.com/katalon-forum/editor/mu/0ghg6e1t4l5i.png")  
### I put a typo in line 3 as part of my error checking ###

[screenshot101.PNG](https://s3.amazonaws.com/katalon-forum/editor/mu/0ghg6e1t4l5i.png)

---

<div class="post-metadata">

**Author:** ![Patrick\_Groot](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/patrick_groot/32/9976_2.png) [@Patrick\_Groot](https://forum.katalon.com/u/Patrick_Groot)\
**Post date:** [February 1, 2018, 12:12pm UTC](https://forum.katalon.com/t/variables-in-the-recorder-are-showing-up-in-the-variable-tab-but-not-being-used/9204/9 "2018-02-01T12:12:52Z")

</div>

Yes it should work!  
Line3: $(userName) \> ${userName}  
Line6: ${userPssword} \> ${userPassword}

---

<div class="post-metadata">

**Author:** ![Reg\_Hawkins](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@Reg\_Hawkins](https://forum.katalon.com/u/Reg_Hawkins)\
**Post date:** [February 1, 2018, 1:06pm UTC](https://forum.katalon.com/t/variables-in-the-recorder-are-showing-up-in-the-variable-tab-but-not-being-used/9204/10 "2018-02-01T13:06:35Z")

</div>

#### ~~~~

| Variables ~~~~  
userName |   
webdriver |
| userPassword | webdriver123 |

~~~Logs~~

#### [info] Executing: | store | webdriver | userName |

#### [info] Executing: | echo | | ${userName} |

#### [info] Executing: | store | webdriver123 | userPassword |

#### [info] Executing: | echo | ${userPassword} | |

#### [info] echo: ${userPassword}

Note I tried the variable in the target and value hence the ||${userName} and ${userPassword}||  
This is really crazy

---

<div class="post-metadata">

**Author:** ![Reg\_Hawkins](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@Reg\_Hawkins](https://forum.katalon.com/u/Reg_Hawkins)\
**Post date:** [February 1, 2018, 1:52pm UTC](https://forum.katalon.com/t/variables-in-the-recorder-are-showing-up-in-the-variable-tab-but-not-being-used/9204/11 "2018-02-01T13:52:31Z")

</div>

I removed the extension, restarted my machine a couple of times and then put the extension back on not the store doesn’t even add the variables to the variable list

---

<div class="post-metadata">

**Author:** ![Reg\_Hawkins](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@Reg\_Hawkins](https://forum.katalon.com/u/Reg_Hawkins)\
**Post date:** [February 1, 2018, 1:55pm UTC](https://forum.katalon.com/t/variables-in-the-recorder-are-showing-up-in-the-variable-tab-but-not-being-used/9204/12 "2018-02-01T13:55:27Z")

</div>

Do I have to have kataklon studio running I have just found this in the extension logs  
background.js:214 WebSocket connection to ‘ws://localhost:50000/’ failed: Error during WebSocket handshake: net::ERR\_CONNECTION\_RESET

---

<div class="post-metadata">

**Author:** ![Kathy\_Anderson1](https://avatars.discourse-cdn.com/v4/letter/k/a88e4f/32.png) [@Kathy\_Anderson1](https://forum.katalon.com/u/Kathy_Anderson1)\
**Post date:** [February 1, 2018, 2:28pm UTC](https://forum.katalon.com/t/variables-in-the-recorder-are-showing-up-in-the-variable-tab-but-not-being-used/9204/13 "2018-02-01T14:28:24Z")

</div>

I couldn’t get this to work either.

---

<div class="post-metadata">

**Author:** ![Reg\_Hawkins](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@Reg\_Hawkins](https://forum.katalon.com/u/Reg_Hawkins)\
**Post date:** [February 1, 2018, 3:03pm UTC](https://forum.katalon.com/t/variables-in-the-recorder-are-showing-up-in-the-variable-tab-but-not-being-used/9204/14 "2018-02-01T15:03:19Z")

</div>

Well I have just got it working,  
I removed almost every extension I had ( I had Kantu, Selenium, katalon and another) as I was finding different issues with each also I had gliffy and office extension.  
After removal I restarted my machine twice, then tried Katalon didn’t work then added in this order selenium then kantu and now the variables work.

---

<div class="post-metadata">

**Author:** ![Reg\_Hawkins](https://avatars.discourse-cdn.com/v4/letter/r/f1d935/32.png) [@Reg\_Hawkins](https://forum.katalon.com/u/Reg_Hawkins)\
**Post date:** [February 1, 2018, 3:06pm UTC](https://forum.katalon.com/t/variables-in-the-recorder-are-showing-up-in-the-variable-tab-but-not-being-used/9204/15 "2018-02-01T15:06:09Z")

</div>

I have just removed kantu and selenium in that order and it still works

---

<div class="post-metadata">

**Author:** ![Patrick\_Groot](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/patrick_groot/32/9976_2.png) [@Patrick\_Groot](https://forum.katalon.com/u/Patrick_Groot)\
**Post date:** [February 1, 2018, 3:45pm UTC](https://forum.katalon.com/t/variables-in-the-recorder-are-showing-up-in-the-variable-tab-but-not-being-used/9204/16 "2018-02-01T15:45:38Z")

</div>

So in other words it looks like browser extensions can sting each other and causing errors? I think this should be something extension developers should have a look at if this kind of conflicts can be solved? I have also the above extensions installed Kantu, Selenium and Sideex. But they are not active if i’m working with one of those extensions. So probably you opened 2 extensions at some point at the same time that could have caused it?

---

<div class="post-metadata">

**Author:** ![sudha](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@sudha](https://forum.katalon.com/u/sudha)\
**Post date:** [February 6, 2018, 7:52am UTC](https://forum.katalon.com/t/variables-in-the-recorder-are-showing-up-in-the-variable-tab-but-not-being-used/9204/17 "2018-02-06T07:52:44Z")

</div>

hi,  
for me also in variables tab they are not even listed or visible. Echo of variables are showing variable with $syntax instead of value in log. how come restart of machine and other extensions will impact this? I dont have other extensions at all.

---

<div class="post-metadata">

**Author:** ![Patrick\_Groot](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/patrick_groot/32/9976_2.png) [@Patrick\_Groot](https://forum.katalon.com/u/Patrick_Groot)\
**Post date:** [February 6, 2018, 8:40am UTC](https://forum.katalon.com/t/variables-in-the-recorder-are-showing-up-in-the-variable-tab-but-not-being-used/9204/18 "2018-02-06T08:40:11Z")

</div>

> sudha said:
> 
> hi,  
> for me also in variables tab they are not even listed or visible. Echo of variables are showing variable with $syntax instead of value in log. how come restart of machine and other extensions will impact this? I dont have other extensions at all.

Awnser from the team behind Selenium IDE:

> That can not be the case, although in Selenium IDE test cases are ran one by one in a synchronized fashion, we are actively working on exporting Selenium IDE projects to webdriver code where it will be ran in parallel.  
> Thus you can’t rely on a test case to be ran before you, and use it’s variables.  
> And since test cases will be ran independently in webdriver, they can’t share variables between them, you would have to re-evaluate any or all variables before each test.

---

<div class="post-metadata">

**Author:** ![sudha](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@sudha](https://forum.katalon.com/u/sudha)\
**Post date:** [February 6, 2018, 9:09am UTC](https://forum.katalon.com/t/variables-in-the-recorder-are-showing-up-in-the-variable-tab-but-not-being-used/9204/19 "2018-02-06T09:09:01Z")

</div>

> Patrick Groot said:
> 
> > sudha said:
> > 
> > hi,  
> > for me also in variables tab they are not even listed or visible. Echo of variables are showing variable with $syntax instead of value in log. how come restart of machine and other extensions will impact this? I dont have other extensions at all.
> 
> Awnser from the team behind Selenium IDE:
> 
> > Thanks Patrick for your all reply to my comments.  
> > My tests in my project are designed in a way that above workflow will store the variable value which is used to verify in other multiple workflows .By which many no of lines will be reduced . I have achieved everything i want with my wonderful old selenium IDE.
> > 
> > My worry is why variables tab is not showing variables at all here in katalon. I am expecting that in a single test case where i want store variable and want to see or use the value in next line why this is not happening in katalon recorder 3.1.1.2 (both in firefox and chrome extensions)?

---

<div class="post-metadata">

**Author:** ![Patrick\_Groot](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/patrick_groot/32/9976_2.png) [@Patrick\_Groot](https://forum.katalon.com/u/Patrick_Groot)\
**Post date:** [February 6, 2018, 9:22am UTC](https://forum.katalon.com/t/variables-in-the-recorder-are-showing-up-in-the-variable-tab-but-not-being-used/9204/20 "2018-02-06T09:22:10Z")

</div>

For me this is working as intended? **Version 3.1.2**

store | testName | testCase  
echo | ${testCase} |  
type | input | ${testCase}

[Next page](https://forum.katalon.com/t/variables-in-the-recorder-are-showing-up-in-the-variable-tab-but-not-being-used/9204.md?page=2)
