示例#1
0
        private NormalPage <T> MenuClickNormalPage <T>(string itemId) where T : Entity
        {
            MenuClick(itemId);
            var result = new NormalPage <T>(this.resultTable.Selenium).WaitLoaded();

            return(result);
        }
示例#2
0
 public static void ExecuteSubmit <T>(this NormalPage <T> container, ExecuteSymbol <T> symbol, bool consumeAlert = false)
     where T : Entity
 {
     container.OperationClick(symbol);
     if (consumeAlert)
     {
         container.Selenium.ConsumeAlert();
     }
     container.WaitLoadedAndId();
 }
示例#3
0
        public static SearchPageProxy DeleteSubmit <T>(this NormalPage <T> container, DeleteSymbol <T> symbol, bool consumeAlert = true)
            where T : Entity
        {
            container.OperationClick(symbol);
            if (consumeAlert)
            {
                container.Selenium.ConsumeAlert();
            }

            return(new SearchPageProxy(container.Selenium).WaitLoaded());
        }