Ejemplo n.º 1
0
        public void MyScenarioInitialize()
        {
            // Create Results Folders
            Util.CreateFolder(ConfigurationVariable.TestCaseResultsPath);
            Util.CreateFolder(ConfigurationVariable.TestCaseResultsImageVideoPath);

            TestCaseInfo.TestCaseName        = scenarioContext.ScenarioInfo.Title;
            TestCaseInfo.TestCaseFullName    = scenarioContext.ScenarioInfo.Title;
            TestCaseInfo.TestCaseDescription = scenarioContext.ScenarioInfo.Description;


            //TC Folder Name
            var tcFolder = Path.Combine(ConfigurationVariable.TestCaseResultsImageVideoPath, TestCaseInfo.TestCaseName);

            Util.SaveCurrentTc(TestCaseInfo.TestCaseName);
            Util.CreateFolder(tcFolder);
            TestCaseProvider.Instance.AddNewTestCase(TestCaseInfo.TestCaseName, TestCaseInfo.TestCaseDescription);
            BaseTestManagerClass.MyTestInitializeConnection();
        }