Thank you for the reply. The above example works if the Value Type is number but I want to concatenate with String. When I set the Value Type to string, I am geting the following output.
<
2021-02-18 16:01:32.552 INFO c.k.katalon.core.main.TestCaseExecutor - START Test Cases/New Test Case
2021-02-18 16:01:33.594 DEBUG testcase.New Test Case - 1: println(username)
test
2021-02-18 16:01:33.817 DEBUG testcase.New Test Case - 2: username += 1
2021-02-18 16:01:33.827 DEBUG testcase.New Test Case - 3: println(username)
test1
2021-02-18 16:01:33.842 DEBUG testcase.New Test Case - 4: username += 1
2021-02-18 16:01:33.847 DEBUG testcase.New Test Case - 5: println(username)
test11
2021-02-18 16:01:33.852 INFO c.k.katalon.core.main.TestCaseExecutor - END Test Cases/New Test Case
The username I create should be incremented with the numbers. Example, test+1@test.com
test+2@test.com
an so on. Also I want to store this value in a separate Global Variable. Please help.
Thanks