Beispiel #1
0
        public void TestCountNumberOfOffices()
        {
            Homepage homepage = new Homepage(driver);

            homepage.officesPageMenuItem.Click();
            OfficesPage officesPage = new OfficesPage(driver);

            officesPage.waitforAnimation();
            System.Diagnostics.Debug.WriteLine("Number of Offices " + officesPage.numberOfOffices().ToString());
        }
        public MainWindow()
        {
            InitializeComponent();

            jobsPage             = new JobsPage();
            panelContent.Content = jobsPage;
            officesPage          = new OfficesPage();

            sbUser.Content     = Environment.UserName;
            sbComputer.Content = Environment.MachineName;
        }
Beispiel #3
0
        public void WhenIClickOnUKSection()
        {
            OfficesPage myOfficesPage = new OfficesPage(_driver);

            myOfficesPage.IClickOnUkButton();
        }
Beispiel #4
0
        public void ThenICanGetListOfUKOffices()
        {
            OfficesPage myOfficesPage = new OfficesPage(_driver);

            myOfficesPage.IGetUKOffices();
        }