Beispiel #1
0
        public IWebDriverExt WorkloadFrame(WorkloadContext context)
        {
            string viewName = context.ViewName.GetEnumDescription();

            if (driver.CurrentView != viewName && driver.CurrentFrame != Locators.WorkloadFrameLocator)
            {
                selectWorkloadTab(context.ViewName);
                dltMainFrame.SwitchToFrame(Locators.WorkloadFrameLocator);
                driver.CurrentView = viewName;
            }

            return(driver);
        }
 protected WorkLoadBasePage(LoadTest loadTest)
 {
     context      = new WorkloadContext(ViewName, byKeyElement);
     dltMainFrame = new DltMainFrame(loadTest);
 }