How to Open links with New tabs from csv

I have a CSV files that includes URL links from A1…n

and would like to open URL and click and then open another URL and do same flow.

{
  "Name": "test1",
  "CreationDate": "2022-4-4",
  "Commands": [
    {
      "Command": "csvRead",
      "Target": "ID.csv",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "executeScript_Sandbox",
      "Target": "return Number (1)",
      "Value": "currentRow",
      "Description": ""
    },
    {
      "Command": "while_v2",
      "Target": "${currentRow} <= ${!CSVREADMAXROW}",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "open",
      "Target": "${!COL1}",
      "Value": "!CSVREADLINENUMBER",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "60, !TIMEOUT_PAGELOAD",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "${!csvReadMaxRow}",
      "Value": "!csvReadLineNumber",
      "Description": ""
    },
    {
      "Command": "click",
      "Target": "xpath=//*[@id=\"root\"]/div/div/div[4]/div[2]/div[3]/button/span[2]",
      "Value": "",
      "Targets": [
        "xpath=//*[@id=\"root\"]/div/div/div[4]/div[2]/div[3]/button/span[2]",
        "xpath=//div[4]/div[2]/div[3]/button/span[2]",
        "css=#root > div > div:nth-child(1) > div.AnEAIdzFIAqVpfrXHXRH > div._NcOCI2PXQzgPtM5zKfO > div:nth-child(3) > button > span.Button-label"
      ],
      "Description": ""
    },
    {
      "Command": "click",
      "Target": "xpath=//*[@id=\"dropdown-menu-item-content-98\"]/div/div/div",
      "Value": "",
      "Targets": [
        "xpath=//*[@id=\"dropdown-menu-item-content-98\"]/div/div/div",
        "xpath=//li[2]/div/div/div/div",
        "css=#dropdown-menu-item-content-98 > div > div > div"
      ],
      "Description": ""
    },
    {
      "Command": "end",
      "Target": "",
      "Value": "",
      "Description": ""
    }
  ]
}

it keeps loading A1 URL with same tab,

You can use the option “Play Loop” that, if using a csvRead it would automatically grab the next row on each loop. The problem here that you might find is that the loop only travels in rows, not in columns.

Now, if you want to open each URL on a new tab, you can store the URL on a variable, for example:

csvRead | ID.csv |

store | ${!COL1} | URL

selectWindow | TAB=OPEN | ${URL}

Again, the “Play Loop” would auto-populate the variable ${!COL1} with the next row of the CSV.