예제 #1
0
        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());
        }
예제 #2
0
        public void ClearValue()
        {
            SeleniumPlugin.Elements.List ELement = Service.LocateWebElement.LocateElementByID(eElementType.List, "sel1") as SeleniumPlugin.Elements.List;
            ELement.SelectByIndex(0);

            ELement.ClearValue();

            ELement.GetValue();
        }
예제 #3
0
        public void GetValidValue()
        {
            SeleniumPlugin.Elements.List ELement = Service.LocateWebElement.LocateElementByID(eElementType.List, "sel1") as SeleniumPlugin.Elements.List;

            Assert.AreEqual(5, ELement.GetValidValue().Count);
        }