Groovy - Leitura de arquivos csv Shimotsu Lyu7 de ago. de 20221 min de leituraFile file = new File(filepath) line = file.getText("UTF-8").split("\n")[-1].split(";") println line; prinln line[0];
File file = new File(filepath) line = file.getText("UTF-8").split("\n")[-1].split(";") println line; prinln line[0];
Groovy - Verifica se existe a imagem na telaKeywordUtil.markWarning("${image}"); for (x in 1..number_persist) { KeywordUtil.markWarning("Tentativa: ${x}") for (i in image){...
Groovy - Date formatimport java.text.SimpleDateFormat ]def date = new Date() today = new SimpleDateFormat("dd-MM-yyyy") println today.format(date);
Select de select SQLselect * from "tabela1" where "tabela1"."Id" in (SELECT "tabela2"."id" FROM "tabela2" where "tabela2"."numero" = 1);
Comments