public void MyProfile_DrobDownInitialization_Test_2()
        {
            using (var driver = new ChromeDriver())
            {
                /* Initialization */
                var wait = new WebDriverWait(driver, TimeSpan.FromSeconds(60));

                driver.Manage().Window.Maximize();
                driver.Navigate().GoToUrl("https://lionbridge.com/");

                MyProfile myProfile = new MyProfile(driver);

                /* Set of assertions */

                Assert.AreEqual(-1, myProfile.ItemsDropDownListIsExpanded);
                Assert.AreEqual(-1, myProfile.ItemsDropDownIsFull);
                Assert.AreEqual(-1, myProfile.ChosenItemsPerPage);

                myProfile.DropDownInitialization(driver);

                Assert.AreEqual(-1, myProfile.ItemsDropDownListIsExpanded);
                Assert.AreEqual(-1, myProfile.ItemsDropDownIsFull);
                Assert.AreEqual(-1, myProfile.ChosenItemsPerPage);
            }
        }
        public void MyProfile_DrobDownInitialization_Test_1()
        {
            using (var driver = new ChromeDriver())
            {
                /* Initialization */
                var wait = new WebDriverWait(driver, TimeSpan.FromSeconds(60));

                driver.Manage().Window.Maximize();
                driver.Navigate().GoToUrl("https://tms.lionbridge.com/");

                string       projectTitle = ""; // Project Name
                ProjectsPage testPage     = new ProjectsPage(driver, projectTitle);

                testPage.ClickChosenProject();
                ParticularProjectPage testProjectPage = new ParticularProjectPage(driver);
                testProjectPage.ProfileClick(driver);

                MyProfile myProfile = new MyProfile(driver);

                /* Set of assertions */

                Assert.AreEqual(0, myProfile.ItemsDropDownListIsExpanded);
                Assert.AreEqual(-1, myProfile.ItemsDropDownIsFull);
                Assert.AreEqual(-1, myProfile.ChosenItemsPerPage);

                myProfile.DropDownInitialization(driver);

                Assert.AreEqual(1, myProfile.ItemsDropDownListIsExpanded);
                Assert.AreEqual(1, myProfile.ItemsDropDownIsFull);
                Assert.AreEqual(250, myProfile.ChosenItemsPerPage);
            }
        }
        public void MyProfile_ChangeNumberOfItems_Test_1()
        {
            using (var driver = new ChromeDriver())
            {
                /* Initialization */
                var wait = new WebDriverWait(driver, TimeSpan.FromSeconds(60));

                driver.Manage().Window.Maximize();
                driver.Navigate().GoToUrl("https://tms.lionbridge.com/");

                string       projectTitle = ""; // Project Name
                ProjectsPage testPage     = new ProjectsPage(driver, projectTitle);

                testPage.ClickChosenProject();
                ParticularProjectPage testProjectPage = new ParticularProjectPage(driver);

                testProjectPage.ProfileClick(driver);
                MyProfile myProfile = new MyProfile(driver);

                /* Set of assertions */

                myProfile.DropDownInitialization(driver);
                Assert.AreEqual(250, myProfile.ChosenItemsPerPage);

                myProfile.ChangeNumberOfItems(driver, 25);

                Assert.AreEqual(0, myProfile.MyProfileBodyIsDisplayed);

                driver.Navigate().Refresh();

                testPage = new ProjectsPage(driver, projectTitle);
                testPage.ClickChosenProject();

                testProjectPage = new ParticularProjectPage(driver);
                testProjectPage.ProfileClick(driver);

                myProfile = new MyProfile(driver);

                myProfile.DropDownInitialization(driver);
                Assert.AreEqual(25, myProfile.ChosenItemsPerPage);
            }
        }