Ejemplo n.º 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();
            }
        }
Ejemplo n.º 2
0
 public CustomerShared(IWebDriver Driver, ResourceManager EnvironmentConfig, ResourceManager BrandConfig, ActionBot actionBot)
 {
     this.Driver            = Driver;
     this.EnvironmentConfig = EnvironmentConfig;
     this.BrandConfig       = BrandConfig;
     this.actionBot         = actionBot;
 }
Ejemplo n.º 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();
 }