Beispiel #1
0
        /// <summary>
        /// The UI is searching for windows again and again as soon the timeout is not ellapsed. This defines that there is no wait time between each search run.
        /// </summary>
        /// <returns>A combinable With to be able to append additional conditions.</returns>
        public static CombinableWith NoInterval()
        {
            var combinableWith = new CombinableWith();

            return(combinableWith.NoInterval());
        }
Beispiel #2
0
        /// <summary>
        /// The UI is searching for UI elements again and again as soon the timeout is not ellapsed. This defines the wait time beween each search run.
        /// </summary>
        /// <param name="milliseconds">The wait time in milliseconds between the searches</param>
        /// <returns>A combinable With to be able to append additional conditions.</returns>
        public static CombinableWith Interval(uint milliseconds)
        {
            var combinableWith = new CombinableWith();

            return(combinableWith.Interval(milliseconds));
        }
Beispiel #3
0
        /// <summary>
        /// If the UI element is not found no exception has to be thrown. In this case the Search returns null.
        /// </summary>
        /// <returns>A combinable With to be able to append additional conditions.</returns>
        public static CombinableWith NoAssert()
        {
            var combinableWith = new CombinableWith();

            return(combinableWith.NoAssert());
        }
Beispiel #4
0
        /// <summary>
        /// The UI element should be searched just once.
        /// </summary>
        /// <returns>A combinable With to be able to append additional conditions.</returns>
        public static CombinableWith NoTimeout()
        {
            var combinableWith = new CombinableWith();

            return(combinableWith.NoTimeout());
        }
Beispiel #5
0
        /// <summary>
        /// The UI element should be searched again and again as long this timeout is not elapsed.
        /// </summary>
        /// <param name="milliseconds">The timeout in milliseconds.</param>
        /// <returns>A combinable With to be able to append additional conditions.</returns>
        public static CombinableWith Timeout(uint milliseconds)
        {
            var combinableWith = new CombinableWith();

            return(combinableWith.Timeout(milliseconds));
        }
Beispiel #6
0
        /// <summary>
        /// The UI element has to be visible and enabled.
        /// </summary>
        /// <returns>A combinable With to be able to append additional conditions.</returns>
        public static CombinableWith ReadyToUse()
        {
            var combinableWith = new CombinableWith();

            return(combinableWith.ReadyToUse());
        }