コード例 #1
0
ファイル: Use.cs プロジェクト: adrianf223/DW.CodedUI
        /// <summary>
        /// Starts searching for a window by its automation ID. By default CompareKind.Exact will be used.
        /// </summary>
        /// <param name="automationId">The automation ID to search for.</param>
        /// <returns>A combinable Use to be able to append additional conditions.</returns>
        public static CombinableUse AutomationId(string automationId)
        {
            var combinableUse = new CombinableUse();

            return(combinableUse.AutomationId(automationId));
        }
コード例 #2
0
ファイル: Use.cs プロジェクト: adrianf223/DW.CodedUI
        /// <summary>
        /// Starts searching for a window by its automation ID.
        /// </summary>
        /// <param name="automationId">The automation ID to search for.</param>
        /// <param name="comparison">The comparison kind how the automation ID will be compared.</param>
        /// <returns>A combinable Use to be able to append additional conditions.</returns>
        public static CombinableUse AutomationId(string automationId, CompareKind comparison)
        {
            var combinableUse = new CombinableUse();

            return(combinableUse.AutomationId(automationId, comparison));
        }