コード例 #1
0
 public static bool TextEmpty(ElemType element)
 {
     if (element.AsOther().Text == String.Empty)
     {
         return(true);
     }
     return(false);
 }
コード例 #2
0
            public static bool TextPartExistCaseSensitive(ElemType element, Await awaitFor)
            {
                if (element.AsOther().Text.Contains(awaitFor.Value))
                {
                    return(true);
                }

                return(false);
            }
コード例 #3
0
            public static bool TextEqualsCaseSensitive(ElemType element, Await awaitFor)
            {
                if (element.AsOther().Text == awaitFor.Value)
                {
                    return(true);
                }

                return(false);
            }
コード例 #4
0
            public static bool TextEquals(ElemType element, Await awaitFor)
            {
                if (element.AsOther().Text.ToLower() == awaitFor.Value.ToLower())
                {
                    return(true);
                }

                return(false);
            }
コード例 #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);
            }
コード例 #6
0
 public static bool Enabled(ElemType element)
 {
     return(element.AsOther().IsEnabled());
 }
コード例 #7
0
 public static bool Present(ElemType element)
 {
     return(element.AsOther().IsExist());
 }
コード例 #8
0
 public static bool Visible(ElemType element)
 {
     return(element.AsOther().IsVisible());
 }