Esempio n. 1
0
        public void WhenITakeAScreenshot()
        {
            string        BbcScreenShotsFolderPath = ConfigurationManager.AppSettings["ScreenShotsFolderPath"];
            WorkWithFiles WorkWithFiles            = new WorkWithFiles();

            WorkWithFiles.CreateFolderIfNotCreated(BbcScreenShotsFolderPath);
            WorkWithFiles.ClearFolder(BbcScreenShotsFolderPath);
            WorkWithFiles.GetScreenshot(BbcScreenShotsFolderPath, $"{WorkWithFiles.GetNumberOfFolderFiles(BbcScreenShotsFolderPath) + 1}");
        }