I am trying to print all the teststeps done after the testrun to the console. So you can quickly see what steps were done and with what kind of result.
Since there are a lot of teststeps using WebUI.println() or WebUI.comment() results in not a very clear output because before and after each println() there is the following:
Yes, the problem is that I get my testvariables from a excel file, and the test itself contains a lot of loop- & condition- statements. Therefore the output contains a lot of steps and I would like a way to sum up all the important details that happened at once, in the end, if possible.
10-01-2018 09:54:54 AM - [START] - Start action : Statement - detail = com.kms.katalon.core.testdata.TestDataFactory.findTestData(((Testdat + testcase) + bm)).getValue("detail", dat)10-01-2018 09:54:54 AM - [INFO] - Checking test data id10-01-2018 09:54:54 AM - [INFO] - Finding test data with id 'Data Files/Testdat2bm'10-01-2018 09:54:54 AM - [INFO] - Test data is excel file, reading excel file10-01-2018 09:54:54 AM - [INFO] - Reading excel file with source file 'D:\Project\bm - test\testdat1bm.xls' and sheet name 'Tabelle4'10-01-2018 09:54:54 AM - [END] - End action : Statement - detail = com.kms.katalon.core.testdata.TestDataFactory.findTestData(((Testdat + testcase) + bm)).getValue("detail", dat)10-01-2018 09:54:54 AM - [START] - Start action : Statement - attribute = com.kms.katalon.core.testdata.TestDataFactory.findTestData(((Testdat + testcase) + bm)).getValue("attribute", dat)10-01-2018 09:54:54 AM - [INFO] - Checking test data id10-01-2018 09:54:54 AM - [INFO] - Finding test data with id 'Data Files/Testdat2bm'10-01-2018 09:54:54 AM - [INFO] - Test data is excel file, reading excel file10-01-2018 09:54:54 AM - [INFO] - Reading excel file with source file 'D:\Project\bm - test\testdat1bm.xls' and sheet name 'Tabelle4'10-01-2018 09:54:54 AM - [END] - End action : Statement - attribute = com.kms.katalon.core.testdata.TestDataFactory.findTestData(((Testdat + testcase) + bm)).getValue("attribute", dat)10-01-2018 09:54:54 AM - [START] - Start action : Statement - switch (topic)10-01-2018 09:54:54 AM - [START] - Start action : Statement - case "MODEL":10-01-2018 09:54:54 AM - [START] - Start action : printlnModel_select_tour_A030_active10-01-2018 09:54:54 AM - [END] - End action : println
This is just a short part, since a lot data is taken from the excel file…
Also e.g. when selecting a model, I check in the method which colors/styles are enabled for that model and this is something I would like as an output at the end, together with all the other results from the loops etc.