Exemplo n.º 1
0
        public void CalssInit()
        {
            _driver = new ChromeDriver(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location));
            _driver.Manage().Window.Maximize();
            _driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(10);

            _googlePage  = new GooglePage(_driver);
            _softuniPage = new SoftuniPage(_driver);
        }
Exemplo n.º 2
0
 public void ClassInit()
 {
     _softuniPage = new SoftuniPage(Driver);
 }
        public void SetUp()
        {
            _driver = new ChromeDriver(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location));

            _softuniPage = new SoftuniPage(_driver);
        }
Exemplo n.º 4
0
 public void NavigateHomePage(SoftuniPage softuniPage)
 {
     this.Navigate(Url);
 }