Beispiel #1
0
 public static void TearDown()
 {
     CortanaButton = null;
     CortanaSession.Dispose();
     CortanaSession = null;
     DesktopSession.Dispose();
     DesktopSession = null;
 }
Beispiel #2
0
        public static void TearDown()
        {
            ReturnToMainPage();
            SwitchToAlarmTab();

            // Delete all created alarms
            var alarmEntries = AlarmClockSession.FindElementsByName("Windows Application Driver Test Alarm");

            foreach (var alarmEntry in alarmEntries)
            {
                AlarmClockSession.Mouse.ContextClick(alarmEntry.Coordinates);
                AlarmClockSession.FindElementByName("Delete").Click();
            }

            AlarmClockSession.Dispose();
            AlarmClockSession = null;
        }
 public static void TearDown()
 {
     RestultTextElement = null;
     AppSession.Dispose();
     AppSession = null;
 }
Beispiel #4
0
 public void Dispose()
 {
     AppSession.Dispose();
     AppSession = null;
 }
Beispiel #5
0
 public void TearDown()
 {
     _driver.Dispose();
 }