I have a javascript into my script to generate an output csv file and has a path to be saved in my PC but I'm going to execute my test using LGs in the cloud. Where will be saved the files generated in each LG and how can I get them?. Do I have to put an specific path to save the file instead the path in my pc?
The output file contains variables obtained with the variable extractor and add info each iteration of my test and it looks like this:
var varSA= context.variableManager.getValue("varSecretarioDescripcion");
var varIdSA = context.variableManager.getValue("varIdSecretario");
//write LOG
var writer = new java.io.FileWriter("C:\\Logs\\logValidacionDemandaSA1JT.cvs",true);
writer.write(varFechaDePrueba + "," + varnumExpediente + "," + varActor+ "," + varMagistrado + "," + varIdMagistrado + "," + varSA + "," + varIdSA);
writer.write("\r\n");
writer.close();
It is not possible to retrieve a File from a remote LG, but there other possibilities according to what you want to achieve:
As an input for a potential new feature, what is exactly the need behind the CSV file?
No similar question
christophe answered
Jorge posted a new question