Example #1
0
        public void TestLeftVdiTestWithImplicitNavigation()
        {
            VDIWebPage vdi = new VDIWebPage();

            vdi.Goto <Seminare>().SearchFor("praxis qualitätssicherung");
            DialogWait.For(() => vdi.On <Seminare>().SeminarZeilen.Count(), c => c == 3, "3 seminars in list");
        }
        public void TestLeftCreatePageObjectTreeWithTests()
        {
            VDIWebPage vdi = new VDIWebPage();

            vdi.Configuration.EnableImages = true;
            vdi.TestBottomUp();
        }
Example #3
0
        public void TestLeftVdiTestWithExplicitNavigation()
        {
            VDIWebPage vdi = new VDIWebPage();

            vdi.Open();
            vdi.On <VDI>().VisibleOnScreen.WaitFor();
            vdi.On <Menu>().FortbildungsZentrum.Click();
            vdi.On <FortbildungsZentrum>().WeitereSeminare.Click();
            vdi.On <Seminare>().Volltextsuche.ScrollTo();
            vdi.On <Seminare>().Volltextsuche.Content = "praxis qualitätssicherung";
            vdi.On <Seminare>().SucheAnzeigen.Click();
            DialogWait.For(() => vdi.On <Seminare>().SeminarZeilen.Count(), c => c == 3, "3 seminars in list", TimeSpan.FromSeconds(10), TimeSpan.FromSeconds(10), TimeSpan.FromSeconds(1), true, null);
        }