Beispiel #1
0
 public static ChartPageProxy OpenChart(this SearchControlProxy searchControl)
 {
     searchControl.Selenium.FindElement(By.CssSelector("#qbChartNew")).Click();
     return(new ChartPageProxy(searchControl.Selenium).WaitLoaded());
 }
Beispiel #2
0
 public PaginationSelectorProxy(SearchControlProxy seachControl)
 {
     this.SearchControl = seachControl;
 }
Beispiel #3
0
 public static void UserQueryLocatorClick(this SearchControlProxy sc, string title)
 {
     sc.Selenium.FindElement(sc.UserQueryLocator(title)).ButtonClick();
     sc.Selenium.WaitElementPresent(sc.MenuOptionLocator("qbUserQueryEdit"));
 }
Beispiel #4
0
 public static By UserQueryLocator(this SearchControlProxy sc, string title)
 {
     return(sc.MenuOptionLocatorByAttr("title='{0}'".FormatWith(title)));
 }
Beispiel #5
0
        public static NormalPage <UserQueryEntity> EditUserQuery(this SearchControlProxy sc)
        {
            sc.Selenium.FindElement(sc.MenuOptionLocator("qbUserQueryEdit")).ButtonClick();

            return(new NormalPage <UserQueryEntity>(sc.Selenium).WaitLoaded());
        }
Beispiel #6
0
 public static PopupControl <ExcelReportEntity> CreateExcelReport(this SearchControlProxy sc)
 {
     sc.Selenium.FindElement(sc.MenuOptionLocator("qbReportCreate")).ButtonClick();
     return(new PopupControl <ExcelReportEntity>(sc.Selenium, sc.PrefixUnderscore + "New"));
 }
Beispiel #7
0
 public static SearchPopupProxy AdministerExcelReports(this SearchControlProxy sc)
 {
     sc.Selenium.FindElement(sc.MenuOptionLocator("qbReportAdminister")).ButtonClick();
     return(new SearchPopupProxy(sc.Selenium, sc.PrefixUnderscore + "New"));
 }