Esempio n. 1
0
 public void OpenAndQuitTab()
 {
     try
     {
         vdi = new VdiTab();
         vdi.Open();
         vdi.On <VDI>().Displayed.WaitFor();
     }
     finally
     {
         vdi.Quit();
     }
 }
Esempio n. 2
0
 public void TestWithExplicitNavigation()
 {
     try
     {
         vdi = new VdiTab();
         vdi.Open();
         vdi.On <VDI>().Displayed.WaitFor();
         vdi.On <Menu>().Events.Click();
         vdi.On <Events>().SearchText.Content = "praxis qualitätssicherung";
         vdi.On <Events>().Find.Click();
         DialogWait.For(() => vdi.On <Events>().EventList.Count(), c => c == 0, "0 seminars in list");
     }
     finally
     {
         vdi.Quit();
     }
 }