コード例 #1
0
        public static bool ButtonDisabled(this IEntityButtonContainer container, string idButton)
        {
            By locator = container.ButtonLocator(idButton);

            return(container.Selenium.IsElementPresent(locator.CombineCss("[disabled]")));
        }
コード例 #2
0
        public static void ButtonClick(this IEntityButtonContainer container, string idButton)
        {
            var button = container.Selenium.FindElement(container.ButtonLocator(idButton));

            button.ButtonClick();
        }
コード例 #3
0
 public static By OperationLocator <T>(this IEntityButtonContainer <T> container, IEntityOperationSymbolContainer <T> symbol)
     where T : Entity
 {
     return(container.ButtonLocator(symbol.Symbol.KeyWeb()));
 }