コード例 #1
0
ファイル: AbstractPage.cs プロジェクト: haimazulay/AmiteToro
        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();
 }