Exemplo n.º 1
0
        public static void TextNotEquals(this IOperationRunner <IElementWrapper> operationRunner, string text, bool caseSensitive = false, bool trim = true, string failureMessage = null)
        {
            var textNotEquals = new TextNotEqualsValidator(text, caseSensitive, trim);

            operationRunner.Evaluate <UnexpectedElementStateException>(textNotEquals);
        }
Exemplo n.º 2
0
        public static void TextNotEquals(IElementWrapper wrapper, string text, bool caseSensitive = false, bool trim = true, string failureMessage = null)
        {
            var textNotEquals = new TextNotEqualsValidator(text, caseSensitive, trim);

            EvaluateValidator <UnexpectedElementStateException, IElementWrapper>(wrapper, textNotEquals);
        }