Exemple #1
0
        public void SetUp()
        {
            Driver.Navigate().GoToUrl("http://demoqa.com/");

            page = new SelectMenuPage(Driver);
            page.SelectMenuLink.Click();
        }
Exemple #2
0
 public void SelectFrom_StandardDropDown()
 {
     using (IWebDriver driver = new ChromeDriver())
     {
         var selectMenuPage = new SelectMenuPage(driver);
         selectMenuPage.LoadPage();
         selectMenuPage.SelectFrom_StandardDropDown();
     }
 }
Exemple #3
0
 public void SelectFrom_OldStyleMenu()
 {
     using (IWebDriver driver = new ChromeDriver())
     {
         var selectMenuPage = new SelectMenuPage(driver);
         selectMenuPage.LoadPage();
         selectMenuPage.SelectFrom_OldStyleMenu();
     }
 }
Exemple #4
0
 public void SelectFrom_SelectOneField()
 {
     using (IWebDriver driver = new ChromeDriver())
     {
         var selectMenuPage = new SelectMenuPage(driver);
         selectMenuPage.LoadPage();
         selectMenuPage.SelectFrom_SelectOneField();
     }
 }
 public void NavigateToSelectMenuPage_SideMenu()
 {
     using (IWebDriver driver = new ChromeDriver())
     {
         var widgetsMainPage = new Widgets_MainPage(driver);
         widgetsMainPage.LoadPage();
         SelectMenuPage selectMenuPage = widgetsMainPage.NavigateToSelectMenuPage_SideMenu();
         selectMenuPage.EnsurePageLoaded();
     }
 }
 public void SetUp()
 {
     Initialize();
     _selectMenuPage = new SelectMenuPage(Driver);
     _selectMenuPage.NavigateTo();
 }
 public void DemoQASetup()
 {
     Initialize("http://demoqa.com/");
     _homePage       = new HomePage(Driver);
     _selectMenuPage = new SelectMenuPage(Driver);
 }