Example #1
0
        protected override void ExecuteCore(ICommandAdapter adapter)
        {
            var command = new ActionCommand("OK")
            {
                SuppressExceptions = _optional
            };

            command.Execute(adapter);
        }
 protected override void ExecuteCore(ICommandAdapter adapter)
 {
     if (adapter.GetTestApplication().Platform() == Platform.Web)
     {
         var command = new ActionCommand("OK")
         {
             SuppressExceptions = _optional
         };
         command.Execute(adapter);
     }
     else
     {
         var command = new ActionCommand("Close")
         {
             SuppressExceptions = _optional
         };
         command.Execute(adapter);
     }
 }
        protected override void ExecuteCore(ICommandAdapter adapter)
        {
            var command = new ActionCommand("OK");

            command.Execute(adapter);
        }