# Groovy scripts naming in Katalon

**URL:** <https://forum.katalon.com/t/groovy-scripts-naming-in-katalon/27133>\
**Category:** Miscellaneous\
**Tags:** katalon-studio\
**Created:** [June 6, 2019, 9:09am UTC](https://forum.katalon.com/t/groovy-scripts-naming-in-katalon/27133 "2019-06-06T09:09:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![musaffir.puthukudi](https://avatars.discourse-cdn.com/v4/letter/m/b5ac83/32.png) [@musaffir.puthukudi](https://forum.katalon.com/u/musaffir.puthukudi)\
**Post date:** [June 6, 2019, 9:09am UTC](https://forum.katalon.com/t/groovy-scripts-naming-in-katalon/27133/1 "2019-06-06T09:09:12Z")

</div>

Hi

May I know why a groovy scripting which is corresponds to a test case in katalone being named with some random numbers at the end  
The random number doesn’t looks like a timestamp… may I know what it is  
For example the groovy script file for a test case named as - Script1558680436926.groovy  
why this is in’t the name of test case ?

Thanks

---

<div class="post-metadata">

**Author:** ![Marek\_Melocik](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/marek_melocik/32/371_2.png) [@Marek\_Melocik](https://forum.katalon.com/u/Marek_Melocik)\
**Post date:** [June 6, 2019, 9:10am UTC](https://forum.katalon.com/t/groovy-scripts-naming-in-katalon/27133/2 "2019-06-06T09:10:48Z")

</div>

1. It is timestamp (milliseconds included)
2. Your test case must be converted to groovy script before it is executed and it seems Katalon requires some kind of uniqueness for those scripts, so the timestamp is appended.

---

<div class="post-metadata">

**Author:** ![hpulsford](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/hpulsford/32/2985_2.png) [@hpulsford](https://forum.katalon.com/u/hpulsford)\
**Post date:** [June 6, 2019, 9:11am UTC](https://forum.katalon.com/t/groovy-scripts-naming-in-katalon/27133/3 "2019-06-06T09:11:28Z")

</div>

The folder that its stored in should be the name of the test case, so it shouldnt cause much of a difference as you should still be able to identify which test case is which.

---

<div class="post-metadata">

**Author:** ![musaffir.puthukudi](https://avatars.discourse-cdn.com/v4/letter/m/b5ac83/32.png) [@musaffir.puthukudi](https://forum.katalon.com/u/musaffir.puthukudi)\
**Post date:** [June 6, 2019, 9:40am UTC](https://forum.katalon.com/t/groovy-scripts-naming-in-katalon/27133/4 "2019-06-06T09:40:19Z")

</div>

Yeah  
only issue that i see with this is , when the test case is renamed , assume its being done multiple times  
every time the groovy script name changes , so the version control system sees them as untracked

---

<div class="post-metadata">

**Author:** ![Ibus](https://avatars.discourse-cdn.com/v4/letter/i/e9a140/32.png) [@Ibus](https://forum.katalon.com/u/Ibus)\
**Post date:** [June 6, 2019, 10:36am UTC](https://forum.katalon.com/t/groovy-scripts-naming-in-katalon/27133/5 "2019-06-06T10:36:14Z")

</div>

even if the name is same, the vcs will see it as modified,so you have to commit it.  
so, just do ‘git add \*’ before to commit, or use ‘git commit -a’ if you are using cli

---

<div class="post-metadata">

**Author:** ![musaffir.puthukudi](https://avatars.discourse-cdn.com/v4/letter/m/b5ac83/32.png) [@musaffir.puthukudi](https://forum.katalon.com/u/musaffir.puthukudi)\
**Post date:** [June 7, 2019, 2:04am UTC](https://forum.katalon.com/t/groovy-scripts-naming-in-katalon/27133/6 "2019-06-07T02:04:08Z")

</div>

@Ibus  
as the name of groovy file is getting modified with the new time stamp, the vcs will see it as a new file and an untracked one … and not a modified one … if its modifed one , it would be have been much more easier …

---

<div class="post-metadata">

**Author:** ![albert.vu](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/albert.vu/32/20595_2.png) [@albert.vu](https://forum.katalon.com/u/albert.vu)\
**Post date:** [August 8, 2022, 7:48am UTC](https://forum.katalon.com/t/groovy-scripts-naming-in-katalon/27133/7 "2022-08-08T07:48:41Z")

</div>


