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()); }
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()); }