Exemplo n.º 1
0
 public void InitializePageMethods()
 {
     _iHomePageObjects           = new HomePageObjects(_driver);
     _iBasePageObjects           = new BasePageObjects();
     _iBasePageObjects.Driver    = _driver;
     _iBasePageObjects.PageTitle = "Lowe's Canada: Home Improvement, Appliances, Tools, Bathroom, Kitchen";
     _iBasePageObjects.PageUrl   = "https://www.lowes.ca";
     _iBasePageObjects.Wait      = new WebDriverWait(_driver, TimeSpan.FromMinutes(2));
     Homepage = new HomePageMethodsPhil(_iHomePageObjects, _iBasePageObjects);
 }
Exemplo n.º 2
0
 public HomePageMethodsPhil(IHomePageObjects iHomePageObjects, IBasePageObjects iBasePageObjects) : base(iBasePageObjects)
 {
     _IHomePageObjects = iHomePageObjects;
     _IBasePageObjects = iBasePageObjects;
 }