Katalon Recorder - Pause command using a variable time

Hi - I am struggling to do something in Katalon recorder. I am using the pause command to pause my test as I have to wait for certain elements to be loaded by javascript before the test can continue otherwise it fails because the elements it is looking for do not exist because the javascript hasn’t created them yet. I would like to use a variable to set the amount of miliseconds for it to pause, but when expanding the variable it does not work and does not pause. In the log I will see " [info] Executing: | pause | | ${PauseTiming} |" and " [info] Expand variable ‘’ into ‘’" but in the variables tab the variable is shown correct. Also if I echo the variable it is correct. I tried another variable I use elsewhere which works for something else, but it does not work when entered in to the pause command. Could someone please help me? I am getting my variables from a CSV file.


If the elements you are waiting for have known identifiers, you could try the command


Here’s the description from the documentation

Generated from isElementPresent(locator)
Arguments: *locator - an element locator .
Returns: true if the element is present, false otherwise

Here’s the documentation