public static string NewTestDataName(Excel.Workbook workbook)
        {
            if (null == workbook)
            {
                throw new ArgumentNullException("workbook");
            }

            var dataList = GetDataList(workbook);
            int number   = dataList.Count();

            while (true)
            {
                number++;

                string name = string.Format(
                    CultureInfo.CurrentCulture,
                    "{0}{1}",
                    Properties.Resources.Prefix_Data,
                    number);

                if (dataList.Where(i => i.Name == name).Count() == 0)
                {
                    if (null == ExcelHelper.GetName(workbook, name))
                    {
                        return(name);
                    }
                }
            }
        }
        public static string NewTestCaseName(Excel.Workbook workbook)
        {
            if (null == workbook)
            {
                throw new ArgumentNullException("workbook");
            }

            var scenarioList = GetTestCases(workbook);
            int number       = scenarioList.Count();

            while (true)
            {
                number++;

                string name = string.Format(
                    CultureInfo.CurrentCulture,
                    "{0}{1}",
                    Properties.Resources.Prefix_Scenario,
                    number);
#if DEBUG
                Log.Logger.DebugFormat("{0}", name);
#endif

                if (scenarioList.Where(i => i.Name == name).Count() == 0)
                {
                    if (null == ExcelHelper.GetName(workbook, name))
                    {
                        return(name);
                    }
                }
            }
        }