Incrementing each loop

Is there any way to increment a certain value during each loop? For example, loop 1 would type “User1”, loop 2 would type “User2” and so on.

Yes you can with storeeval or using a csv to extract the new value every loop.

Read this post with incremental loop you can use a similar example to increment your prefered variables

Use ExecuteScript_Sandbox to increment loops. If ${LoopCounter} is the variable you want to increase use

ExecuteScript_Sandbox | return Number (${LoopCounter}) + 1; | LoopCounter

Example:

{
  "Name": "loop2",
  "CreationDate": "2020-3-5",
  "Commands": [
    {
      "Command": "store",
      "Target": "fast",
      "Value": "!replayspeed"
    },
    {
      "Command": "store",
      "Target": "1",
      "Value": "i"
    },
    {
      "Command": "while_v2",
      "Target": "${i}  < 10",
      "Value": ""
    },
    {
      "Command": "executeScript_Sandbox",
      "Target": "return Number (${i}) + 1;",
      "Value": "i"
    },
    {
      "Command": "echo",
      "Target": "Username is User${i}",
      "Value": "green"
    },
    {
      "Command": "end",
      "Target": "",
      "Value": ""
    }
  ]
}