public void OpenAndQuitTab() { try { vdi = new VdiTab(); vdi.Open(); vdi.On <VDI>().Displayed.WaitFor(); } finally { vdi.Quit(); } }
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(); } }