Exemplo n.º 1
0
 public static bool TextEmpty(ElemType element)
 {
     if (element.AsOther().Text == String.Empty)
     {
         return(true);
     }
     return(false);
 }
Exemplo n.º 2
0
            public static bool TextPartExistCaseSensitive(ElemType element, Await awaitFor)
            {
                if (element.AsOther().Text.Contains(awaitFor.Value))
                {
                    return(true);
                }

                return(false);
            }
Exemplo n.º 3
0
            public static bool TextEqualsCaseSensitive(ElemType element, Await awaitFor)
            {
                if (element.AsOther().Text == awaitFor.Value)
                {
                    return(true);
                }

                return(false);
            }
Exemplo n.º 4
0
            public static bool TextEquals(ElemType element, Await awaitFor)
            {
                if (element.AsOther().Text.ToLower() == awaitFor.Value.ToLower())
                {
                    return(true);
                }

                return(false);
            }
Exemplo n.º 5
0
            public static bool TextPartExist(ElemType element, Await awaitFor)
            {
                string subString = awaitFor.Value.ToLower();

                if (element.AsOther().Text.ToLower().Contains(subString))
                {
                    return(true);
                }

                return(false);
            }
Exemplo n.º 6
0
 public static bool Enabled(ElemType element)
 {
     return(element.AsOther().IsEnabled());
 }
Exemplo n.º 7
0
 public static bool Present(ElemType element)
 {
     return(element.AsOther().IsExist());
 }
Exemplo n.º 8
0
 public static bool Visible(ElemType element)
 {
     return(element.AsOther().IsVisible());
 }