public void DisplaySelectedTextOnClick_WhyUseTab()
 {
     using (IWebDriver driver = new ChromeDriver())
     {
         var accordianPage = new AccordianPage(driver);
         accordianPage.LoadPage();
         accordianPage.DisplayText_WhyUseTab();
     }
 }
 public void NavigateToAccordianPage_SideMenu()
 {
     using (IWebDriver driver = new ChromeDriver())
     {
         var widgetsMainPage = new Widgets_MainPage(driver);
         widgetsMainPage.LoadPage();
         AccordianPage accordianPage = widgetsMainPage.NavigateToAccordianPage_SideMenu();
         accordianPage.EnsurePageLoaded();
     }
 }
Ejemplo n.º 3
0
 public void SetUp()
 {
     Initialize();
     _accordianPage = new AccordianPage(Driver);
     _accordianPage.NavigateTo();
 }
 public void SetUp()
 {
     Initialize();
     _accordianPage = new AccordianPage(Driver);
     Driver.GoToUrl(_accordianPage.URL);
 }
Ejemplo n.º 5
0
 public void AccordianTextTest(string mainButtonName, string expnadButtonName, string firstText, string secondText, string thirdtext)
 {
     MainPage.OpenPageForTests(mainButtonName, expnadButtonName);
     AccordianPage.ShowAccordianText(firstText, secondText, thirdtext);
 }
 public void DemoQASetup()
 {
     Initialize("http://demoqa.com/");
     _homePage      = new HomePage(Driver);
     _accordianPage = new AccordianPage(Driver);
 }