public void ValidarLabels()
        {
            AbreUrl("https://www.bootstrapdash.com/demo/star-admin-pro-vue/demo_1/#/basicFormElements/");
            BasicFormElementsPgo pageObject = new BasicFormElementsPgo(driver);

            Esperas espera = new Esperas(driver);

            espera.EsperaElementoSerClicavel(pageObject.CampoEmail);

            Assert.AreEqual("Basic Form", pageObject.TituloCard.Text);

            Assert.AreEqual("Basic form elements", pageObject.DescricaoCard.Text);

            Assert.AreEqual("Name", pageObject.LabelName.Text);

            Assert.AreEqual("Email address", pageObject.LabelEmail.Text);

            Assert.AreEqual("Password", pageObject.LabelPassword.Text);

            Assert.AreEqual("Upload file", pageObject.LabelUpload.Text);

            Assert.AreEqual("City", pageObject.LabelCity.Text);

            Assert.AreEqual("Message", pageObject.LabelMessage.Text);
        }
        public void VerificarCamposHabilitados()
        {
            AbreUrl("https://www.bootstrapdash.com/demo/star-admin-pro-vue/demo_1/#/basicFormElements/");
            BasicFormElementsPgo pageObject = new BasicFormElementsPgo(driver);

            Esperas espera = new Esperas(driver);

            espera.EsperaElementoSerClicavel(pageObject.CampoEmail);


            Assert.AreEqual(true, pageObject.CampoName.Enabled);

            Assert.AreEqual(true, pageObject.CampoEmail.Enabled);

            Assert.AreEqual(true, pageObject.CampoPassword.Enabled);

            Assert.AreEqual(true, pageObject.CampoUpload.Enabled);

            Assert.AreEqual(true, pageObject.CampoCity.Enabled);

            Assert.AreEqual(true, pageObject.CampoMessage.Enabled);
        }
        public void InsereEVerificaTextoNosInputs()
        {
            AbreUrl("https://www.bootstrapdash.com/demo/star-admin-pro-vue/demo_1/#/basicFormElements/");
            BasicFormElementsPgo pageObject = new BasicFormElementsPgo(driver);

            Esperas espera = new Esperas(driver);

            espera.EsperaElementoSerClicavel(pageObject.CampoEmail);

            DadosParaInputs dados = new DadosParaInputs();


            pageObject.CampoName.SendKeys(dados.Name);

            pageObject.CampoEmail.SendKeys(dados.Email);

            pageObject.CampoPassword.SendKeys(dados.Password);

            pageObject.CampoUpload.SendKeys(dados.Arquivo);

            pageObject.CampoCity.SendKeys(dados.City);

            pageObject.CampoMessage.SendKeys(dados.Message);


            Assert.AreEqual(dados.Name, BuscaValorDoElementoParaInputs(driver, pageObject.CampoName));

            Assert.AreEqual(dados.Email, BuscaValorDoElementoParaInputs(driver, pageObject.CampoEmail));

            Assert.AreEqual(dados.Password, BuscaValorDoElementoParaInputs(driver, pageObject.CampoPassword));

            Assert.AreEqual("C:\\fakepath\\Arquivo.docx", BuscaValorDoElementoParaInputs(driver, pageObject.CampoUpload));

            Assert.AreEqual(dados.City, BuscaValorDoElementoParaInputs(driver, pageObject.CampoCity));

            Assert.AreEqual(dados.Message, BuscaValorDoElementoParaInputs(driver, pageObject.CampoMessage));
        }