コード例 #1
0
        public UITestControl FindToolboxItemByAutomationId(ToolType tool, string properSearchTerm = "")
        {
            var theTerm = tool.GetToolboxName();

            if (!string.IsNullOrEmpty(properSearchTerm))
            {
                theTerm = properSearchTerm;
            }

            SearchForControl(theTerm);

            UITestControl theControl = FindControl(tool.GetDescription());

            return(theControl);
        }
コード例 #2
0
ファイル: ToolboxUIMap.cs プロジェクト: Robin--/Warewolf
        public UITestControl FindToolboxItemByAutomationId(ToolType tool, string properSearchTerm = "")
        {
            var theTerm = tool.GetToolboxName();
            if(!string.IsNullOrEmpty(properSearchTerm))
            {
                theTerm = properSearchTerm;
            }

            SearchForControl(theTerm);

            UITestControl theControl = FindControl(tool.GetDescription());
            return theControl;
        }