Пример #1
0
        public void TakeScreenShotTest()
        {
            var screenShotsManager = new ScreenShotsManager();

            Assert.IsNotNull(screenShotsManager, "ScreenShotManager could not be initialized");
            screenShotsManager.TakeScreenShot();
        }
Пример #2
0
 public void TempTest()
 {
     try
     {
         var screenShotsManager = new ScreenShotsManager();
         Assert.IsNotNull(screenShotsManager, "ScreenShotManager could not be initialized");
         screenShotsManager.TakeScreenShot();
     }
     catch (Exception e)
     {
         Console.WriteLine(e.Message + e.InnerException?.Message);
     }
 }