コード例 #1
0
 public void HaveFunctionalLink_BadRequest()
 {
     using (IWebDriver driver = new ChromeDriver())
     {
         var linksPage = new LinksPage(driver);
         linksPage.LoadPage();
         linksPage.ClickLink_BadRequest();
     }
 }
コード例 #2
0
 public void HaveFunctionalLink_Unauthorized()
 {
     using (IWebDriver driver = new ChromeDriver())
     {
         var linksPage = new LinksPage(driver);
         linksPage.LoadPage();
         linksPage.ClickLink_Unauthorized();
     }
 }
コード例 #3
0
 public void NavigateToLinksPage_SideMenu()
 {
     using (IWebDriver driver = new ChromeDriver())
     {
         var elementsPage = new Elements_MainPage(driver);
         elementsPage.LoadPage();
         LinksPage linksPage = elementsPage.NavigateToLinksPage_SideMenu();
         linksPage.EnsurePageLoaded();
     }
 }