示例#1
0
        public AbstractPage(IWebDriver driver, By[] pageUniqueElementsBy)
        {
            this.driver = driver;
            bot         = new ActionBot(driver);

            this.pageUniqueElementsBy = pageUniqueElementsBy;
            pageName = this.GetType().Name;

            if (pageUniqueElementsBy != null && pageUniqueElementsBy.Length > 0)
            {
                VerifyOnPage();
            }
        }
示例#2
0
 public CustomerShared(IWebDriver Driver, ResourceManager EnvironmentConfig, ResourceManager BrandConfig, ActionBot actionBot)
 {
     this.Driver            = Driver;
     this.EnvironmentConfig = EnvironmentConfig;
     this.BrandConfig       = BrandConfig;
     this.actionBot         = actionBot;
 }
示例#3
0
 public BrokerShared(IWebDriver Driver, ResourceManager EnvironmentConfig, ResourceManager BrandConfig, ActionBot actionBot)
 {
     this.Driver            = Driver;
     this.EnvironmentConfig = EnvironmentConfig;
     this.BrandConfig       = BrandConfig;
     this.actionBot         = actionBot;
     this.Locker            = new object();
 }