public void KendoTreeViewSelectTest() { var text = "logo.png"; var homePage = new KendoTreeViewPage(this.DriverContext); homePage.Open().CollapseTreeView().SelectElementByText(text); Assert.AreEqual(text, homePage.SelectedOption); }
public void KendoTreeViewFindElementsByTextTest() { var text = "logo.png"; var elements = new Collection<string> { "logo.png" }; var homePage = new KendoTreeViewPage(this.DriverContext); homePage.Open(); CollectionAssert.AreEqual(elements, homePage.FindElementsByText(text)); }