/// <summary>
        /// Determines whether [is catalog update dialog shown].
        /// </summary>
        /// <returns><c>true</c> if [is catalog update dialog shown]; otherwise, <c>false</c>.</returns>
        public bool IsCatalogUpdateDialogShown()
        {
            var  updateCatalog = new UpdateDtmCatalogMessageElements().Update;
            bool result        = updateCatalog != null;

            return(result);
        }
Exemple #2
0
        public bool Run()
        {
            bool   result = true;
            Button ignore = new UpdateDtmCatalogMessageElements().Ignore;

            if (ignore == null)
            {
                result = false;
                Log.Error(LogInfo.Namespace(MethodBase.GetCurrentMethod()), "Update button is null.");
            }
            else
            {
                ignore.Click();
                Log.Info(LogInfo.Namespace(MethodBase.GetCurrentMethod()), "Clicking update button.");
            }

            return(result);
        }