예제 #1
0
        public void SetUp()
        {
            //Declare objects

            driver           = new ChromeDriver(@"C:\browserdrivers\chromedriver\");
            objDHHomePage    = new DHHomePage(driver);
            objDHFormPage    = new DHFormPage(driver);
            objDHHelloPage   = new DHHelloPage(driver);
            objDHErrorPage   = new DHErrorPage(driver);
            objDHSiteCommons = new DHSiteCommons(driver);
            driver.Manage().Window.Maximize();
        }
예제 #2
0
 public void TheDHlogoIsVisible()
 {
     objDHSiteCommons = new DHSiteCommons(driver);
     Debug.Assert(objDHSiteCommons.IsImageLogoVisible());
 }
예제 #3
0
 public void WhenIClickOnButtonForm(string button)
 {
     objDHSiteCommons = new DHSiteCommons(driver);
     objDHSiteCommons.ClickOnSiteButton(button);
 }
예제 #4
0
 public void GivenTheTitleUITestingIsVisible()
 {
     objDHSiteCommons = new DHSiteCommons(driver);
     objDHSiteCommons.CheckTitleSite();
 }