private static void appendToCsvFile(String csvFileName, List<QcTestCase> qcTestCases) throws Exception {
        File csvFile = new File(csvFileName);
        BufferedWriter bw = null;
        try {
            bw = new BufferedWriter(new FileWriter(csvFile, true));
            for (QcTestCase qcTestCase : qcTestCases) {
                bw.write(qcTestCase.getName() + "," + "\n");
            }
            System.out.println("csv file location :" + csvFile.getAbsolutePath());
        } catch (Exception e) {
            throw e;
        } finally {
            try {
                bw.close();
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
    }