/// <summary>
        /// Show Dialog to select suites and make xlsx file with them.
        /// </summary>
        /// <param name="fileName"></param>
        public void GenerateExcelFile(string fileName)
        {
            SuiteExportChoseForm exportDialog = new SuiteExportChoseForm(this.suiteTreeView.Nodes);
            DialogResult result = exportDialog.ShowDialog();

            if (result == DialogResult.OK)
            {
                List<TestSuite> suites = this.MakeSuiteList(exportDialog.Nodes);
                ExcelWriter file = new ExcelWriter(fileName);

                foreach (TestSuite suite in suites)
                    file.GenerateSuiteSheet(suite);

                file.Save();
                file.Close();
            }
        }
        /// <summary>
        /// Show Dialog to select suites and make xml file with them.
        /// </summary>
        /// <param name="fileName"></param>
        public void GenerateXmlFile(string fileName)
        {
            SuiteExportChoseForm exportDialog = new SuiteExportChoseForm(suiteTreeView.Nodes);

            if (exportDialog.ShowDialog() == DialogResult.OK)
            {
                List<TestSuite> suites = this.MakeSuiteList(exportDialog.Nodes);

                for (int i = 0; i < suites.Count; i++)
                {
                    XMLSuite xml = new XMLSuite(suites[i]);

                    //foreach (TestSuite suite in suites)
                    //	xml.AddSuite(suite);

                    xml.SaveAs(Path.GetDirectoryName(fileName)+'\\' + Path.GetFileNameWithoutExtension(fileName) + i+".xml");
                }
            }
        }