public void SelectByText() { SeleniumPlugin.Elements.List ELement = Service.LocateWebElement.LocateElementByID(eElementType.List, "sel1") as SeleniumPlugin.Elements.List; ELement.SelectByText("Got It!"); Assert.AreEqual("Got It!", ELement.GetValue()); }
public void ClearValue() { SeleniumPlugin.Elements.List ELement = Service.LocateWebElement.LocateElementByID(eElementType.List, "sel1") as SeleniumPlugin.Elements.List; ELement.SelectByIndex(0); ELement.ClearValue(); ELement.GetValue(); }
public void GetValidValue() { SeleniumPlugin.Elements.List ELement = Service.LocateWebElement.LocateElementByID(eElementType.List, "sel1") as SeleniumPlugin.Elements.List; Assert.AreEqual(5, ELement.GetValidValue().Count); }