Esempio n. 1
0
        public void Initialize()
        {
            InitBrowser(BrowserType.Firefox);
            driver.Navigate().GoToUrl(FramesPage.BaseUrl);

            FramesPage = new FramesPage(driver);
        }
 public void LoadFrame_Frame2()
 {
     using (IWebDriver driver = new ChromeDriver())
     {
         var framesPage = new FramesPage(driver);
         framesPage.LoadPage();
         framesPage.SelectFrame_Frame2();
     }
 }
 public void NavigateToFramesPage_SideMenu()
 {
     using (IWebDriver driver = new ChromeDriver())
     {
         var alertsMainPage = new Alerts_MainPage(driver);
         alertsMainPage.LoadPage();
         FramesPage framesPage = alertsMainPage.NavigateToFramesPage_SideMenu();
         framesPage.EnsurePageLoaded();
     }
 }
Esempio n. 4
0
 public void BigFrameTest(string mainButtonName, string expnadButtonName, string text)
 {
     MainPage.OpenPageForTests(mainButtonName, expnadButtonName);
     FramesPage.BigFrameTest(text);
 }