Exemplo n.º 1
0
        public static AutomationElement QuickLinkCapture(this LeftPanelProxy left, string name)
        {
            var button = left.QuickLinks().Child(c => c.Current.Name == name).Child(c => c.Current.ControlType == ControlType.Button);

            return(button.ButtonInvokeCapture(
                       actionDescription: () => "Waiting to capture window after QuickLink {0} on LeftPanel".FormatWith(name)));
        }
Exemplo n.º 2
0
 public static NormalWindowProxy <T> QuickLinkNavigate <T>(this LeftPanelProxy left) where T : Entity
 {
     return(left.QuickLinkCapture(QueryUtils.GetKey(typeof(T).FullName)).ToNormalWindow <T>());
 }
Exemplo n.º 3
0
 public static SearchWindowProxy QuickLinkExplore(this LeftPanelProxy left, object queryName)
 {
     return(left.QuickLinkCapture(QueryUtils.GetKey(queryName)).ToSearchWindow());
 }
Exemplo n.º 4
0
 public static AutomationElement QuickLinks(this LeftPanelProxy left)
 {
     return(left.Element.Child(c => c.Current.ClassName == "LinksWidget").ChildById("expQuickLinks").Child(c => c.Current.ControlType == ControlType.Pane));
 }
Exemplo n.º 5
0
 public static AutomationElement Button(this LeftPanelProxy left, string name)
 {
     return(left.Element.Descendant(el => el.Current.ControlType == ControlType.Button && el.Current.Name == name));
 }