Пример #1
0
        public void BSNavigateToFindACourseHomePage(string profile, string environment)
        {
            _bsDriver   = (BrowserStackDriver)ScenarioContext.Current["bsDriver"];
            _driver     = _bsDriver.Init(profile, environment);
            _driver.Url = Configurator.GetConfiguratorInstance().GetBaseUrl();
            webDriver   = _driver;

            PageInteractionHelper.SetDriver(webDriver);
        }
 public AddVenueSteps()
 {
     if (!ScenarioContext.Current.ScenarioInfo.Tags.Contains("Regression"))
     {
         _bsDriver = (BrowserStackDriver)ScenarioContext.Current["bsDriver"];
     }
     else
     {
         webDriver = (IWebDriver)ScenarioContext.Current["_driver"];
     }
 }
Пример #3
0
 public BasePage(IWebDriver driver)
 {
     _bsDriver = (BrowserStackDriver)ScenarioContext.Current["bsDriver"];
     _driver   = driver;
     PageFactory.InitElements(_driver, this);
 }
Пример #4
0
 public BrowserStackSteps()
 {
     _bsDriver = (BrowserStackDriver)ScenarioContext.Current["bsDriver"];
 }
Пример #5
0
 public N11SingleScenarioSteps()
 {
     _bsDriver = (BrowserStackDriver)ScenarioContext.Current["bsDriver"];
 }
 public N11CartWishlistFunctionsSteps()
 {
     _bsDriver = (BrowserStackDriver)ScenarioContext.Current["bsDriver"];
 }