How can i save information about my execution in excel when i run my test.
Process:
1.- Execution Test Suite
2.- Save Information to variable my execution in excel (Log process)
3.- Finish Execution Test Suite
4.- Open to File Excel Information to variable
I want to save information from the screen that is shown, example: the titles that are displayed when executing the test (GetText), in an excel file to after finishing the tests visualize what was obtained or extracted information
How can i save information about my execution in excel when i run my test.
Process:
1.- Execution Test Suite
2.- Save Information to variable my execution in excel (Log process)
3.- Finish Execution Test Suite
4.- Open to File Excel Information to variable
Newby user here, first day playing with Katalon, and struggling with file writes as well. I couldn’t find any information on this site, but managed to write data to a csv file. Not the answer to your Excel question, but perhaps it is useful as a start.
'define a csv file, using a Windows path' def csv = new File("D:\\data\\some\\where\\katalon.csv")
'append tab seperated variable values and text to a newline in the csv file' csv.append("\r\n" + varMyVar + "\t" + varOtherVar + "\tSome plain text")
In manual mode, these two lines show up as a Binary Statement and Method Call Statement in the test case.