V
V
Viktor Guzinov2020-04-28 14:34:59
JavaScript
Viktor Guzinov, 2020-04-28 14:34:59

How to get a new line from a CSV file in Kantu (Ui VIsion, Selenium)?

Trying to deal with csvread https://ui.vision/rpa/docs/selenium-ide/csvread

{
  "Name": "T1 TEST AUTH",
  "CreationDate": "2020-4-28",
  "Commands": [
    {
      "Command": "open",
      "Target": "https://website.com",
      "Value": ""
    },
    {
      "Command": "csvReadArray",
      "Target": "data.csv",
      "Value": "myCSV"
    },
    {
      "Command": "click",
      "Target": "name=input",
      "Value": ""
    },
    {
      "Command": "type",
      "Target": "name=input",
      "Value": "${myCSV[0]}"
    },
    {
      "Command": "click",
      "Target": "xpath=/button",
      "Value": ""
    }
  ]
}

Algorithm: open the site, get a string from CSV, write it to input and send it.
${myCSV[0]} gets only the first line
How can I get a script to get a new line one by one when running in a loop?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question