Set default variables for test-cases

When calling a test-case I supply variables:

WebUI.callTestCase(findTestCase('TESTCASE'), [('Gebruikersnaam') : 'katalon1', ('Wachtwoord') : 'katalon1'], FailureHandling.STOP_ON_FAILURE)

However, I often use the same variables. Is there a way to set a default value inside TESTCASE that’s set in case a variable is undefined?
I had to do some complicated work-around now with try/excepts. There must be simpler way?
Just using:

if(Gebruikersnaam == undefined) {

Doesn’t work, because the script won’t run because… “Gebruikersnaam” isn’t defined :biohazard:

@safihre

In the UI of the test case, you can see the Variables tab where you can create Test Case Variables with default values. Once defined there, you can use the variables in the test case.

Oh wow, very obvious.
Thank you!