Пример #1
0
 /// <summary>
 /// Selects all documents.
 /// </summary>
 public virtual void SelectAllDocuments()
 {
     if (_engine.ExistElementId(_selectAllButtonId[0]))
     {
         PressButton(_selectAllButtonId[0]);
     }
     else if (_engine.ExistElementId(_selectAllButtonId[1]))
     {
         PressButton(_selectAllButtonId[1]);
     }
     else
     {
         throw new DeviceWorkflowException($"The select all ID has changed, these did not work, {_selectAllButtonId[0]} and {_selectAllButtonId[1]}.");
     }
 }
        /// <summary>
        /// This method checks for an overlay that displays after successful login when the Print All tile was selected for Lazy Auth.
        /// 12/13/2019: Created for validating lazy auth "PrintAll" from the home screen.  If Lazy auth is not supported by SafeCom UC, this method can be removed.
        /// </summary>
        /// <param name="signedIn"></param>
        /// <returns></returns>
        private bool IsPrintingAll(out bool signedIn)
        {
            signedIn = _engine.ExistElementId("lblPleaseWait");
            System.Diagnostics.Debug.WriteLine($"{DateTime.Now}: JediOmniSafeComUCAuthenticator::IsPrintingAll::Found valid signin notification: {signedIn}.");

            return(signedIn);
        }