예제 #1
0
        public void ThrowsIfElementTypeIsInvalid()
        {
            var page = new InvalidElementTypePage();

            Assert.Throws <ArgumentException>(() => PageFactory.InitElements(mockDriver, page), "is not IWebElement or IList<IWebElement>");
        }
예제 #2
0
 public void ThrowsIfElementTypeIsInvalid()
 {
     var page = new InvalidElementTypePage();
     Assert.Throws<ArgumentException>(() => PageFactory.InitElements(mockDriver, page), "is not IWebElement or IList<IWebElement>");
 }
예제 #3
0
        public void ThrowsIfElementTypeIsInvalid()
        {
            var page = new InvalidElementTypePage();

            PageFactory.InitElements(mockDriver, page);
        }
예제 #4
0
 public void ThrowsIfElementTypeIsInvalid()
 {
     var page = new InvalidElementTypePage();
     PageFactory.InitElements(mockDriver, page);
 }