Dynamic Variables or Dynamic Input

Hi, I moved away from Selenium IDE to Katalon. What I need are dynamic fields or Strings. In Selenium I used java script for a variable that included a Date Fomat. Not sure how to this with Katalon? Can you give an example?

javascript{ \‘TC\’ +new Date().toISOString().substring(0, 16).replace(/[^a-zA-Z0-9 ]/g,“”) +\‘FirstName\’}

1 Like

The answer may be in this link. http://codebun.com/local-global-variable-katalon-studio/ I’m going to try it myself this week to see if it works. I’m also new to Katalon.

you can create a custom Keyword for it and call it within the project. https://www.katalon.com/resources-center/tutorials/create-custom-keyword/

Hi Everyone,

Anyone can help me to create function for accommodate variable dynamics?