internal static SearchCriteria ForMenuBar(WindowsFramework framework)
        {
            var searchCriteria =
                new SearchCriteria(SearchConditionFactory.CreateForControlType(typeof(MenuBar), framework.ToString()));

            return(searchCriteria.NotIdentifiedByText("System Menu Bar"));
        }
Esempio n. 2
0
 internal static SearchCriteria ForMenuBar(WindowsFramework framework)
 {
     var searchCriteria = new SearchCriteria(SearchConditionFactory.CreateForControlType(typeof (MenuBar), framework));
     return searchCriteria.NotIdentifiedByText("System Menu Bar");
 }