예제 #1
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();
     }
 }
예제 #2
0
 public void AbstractVdiTestWithImplicitNavigation()
 {
     try
     {
         vdi = TabObject.Resolve <IVdiTab>();
         vdi.Goto <IEvents>().SearchFor("praxis qualitätssicherung");
         DialogWait.For(() => vdi.On <IEvents>().EventList.Count(), c => c == 0, "0 seminars in list");
     }
     finally
     {
         vdi.Quit();
     }
 }
예제 #3
0
 public void TestWithImplicitNavigation()
 {
     try
     {
         vdi = new VdiTab();
         vdi.Goto <Events>().SearchFor("praxis qualitätssicherung");
         DialogWait.For(() => vdi.On <Events>().EventList.Count(), c => c == 0, "0 seminars in list");
     }
     finally
     {
         vdi.Quit();
     }
 }
예제 #4
0
 public void OpenAndQuitTab()
 {
     try
     {
         vdi = new VdiTab();
         vdi.Open();
         vdi.On <VDI>().Displayed.WaitFor();
     }
     finally
     {
         vdi.Quit();
     }
 }