Example #1
0
        public void ChoiceProject()
        {
            Login login = new Login();

            login.DoLogin(driver);
            HomePageObjects homePageObjects = new HomePageObjects(driver);

            homePageObjects.ChoiceMyProject(ConfigurationManager.OpenExeConfiguration(Assembly.GetExecutingAssembly().Location)
                                            .AppSettings.Settings["MeuProjeto"].Value);
            homePageObjects.ClickSelectProjectButton();
            homePageObjects.ChoiceMyProject(ConfigurationManager.OpenExeConfiguration(Assembly.GetExecutingAssembly().Location)
                                            .AppSettings.Settings["TodosProjetos"].Value);
            homePageObjects.ClickSelectProjectButton();

            Assert.AreEqual("", verificationErrors.ToString());
        }