Пример #1
0
        public void CreateControlsByDirectConstructor()
        {
            var homePage = this.Context.NavigateTo <HomePage>(this.TestAppUrl);

            var races = new WebControlCollection <WebControl>(homePage.Context, homePage, new SearchProperty[] { new SearchProperty(WebControl.SearchNames.JQuerySelector, ".race") });

            Assert.AreEqual(3, races.Count());
        }
Пример #2
0
        public void CreateControlsByDirectConstructor()
        {
            var homePage = this.Context.NavigateTo<HomePage>(this.TestAppUrl);

            var races = new WebControlCollection<WebControl>(homePage.Context, homePage, new SearchProperty[] { new SearchProperty(WebControl.SearchNames.JQuerySelector, ".race") });

            Assert.AreEqual(3, races.Count());
        }