예제 #1
0
        /// <summary>
        /// Selects the download mode duplicate.
        /// </summary>
        /// <returns><c>true</c> if XXXX, <c>false</c> otherwise.</returns>
        public bool SelectDownloadModeDuplicate()
        {
            RadioButton duplicate = new SelectionElements().DownloadModeDuplicate;

            if (duplicate != null)
            {
                duplicate.MoveTo(2000);
                Mouse.Click();
                return(true);
            }

            Log.Error(LogInfo.Namespace(MethodBase.GetCurrentMethod()), "Element is not available.");
            return(false);
        }
예제 #2
0
        /// <summary>
        ///     Clicks checkbox Upload
        /// </summary>
        /// <returns>
        ///     <br>True: If call worked fine</br>
        ///     <br>False: If an error occurred</br>
        /// </returns>
        public bool SelectUpload()
        {
            CheckBox checkBox = new SelectionElements().CbUpload;

            if (checkBox != null && checkBox.Enabled)
            {
                checkBox.MoveTo(2000);
                Mouse.Click();
                return(true);
            }

            Log.Error(LogInfo.Namespace(MethodBase.GetCurrentMethod()), "Element is not available.");
            return(false);
        }
예제 #3
0
        /// <summary>
        /// Selects the download mode all parameters.
        /// </summary>
        /// <returns><c>true</c> if XXXX, <c>false</c> otherwise.</returns>
        public bool SelectDownloadModeAllParameters()
        {
            RadioButton allParameters = new SelectionElements().DownloadModeAllParameter;

            if (allParameters != null)
            {
                allParameters.MoveTo(2000);
                Mouse.Click();
                return(true);
            }

            Log.Error(LogInfo.Namespace(MethodBase.GetCurrentMethod()), "Element is not available.");
            return(false);
        }