public void ThenISeeTheThankyouMessageAs(string message)
        {
            var contactUsFormPage = new ContactUsFormPage();
            Assert.IsTrue(FindElement(contactUsFormPage.ThankYouMessageLocator).Text.ToLower().Contains(message.ToLower()));

        }
 public void GivenITickTheDisclaimerCheckbox()
 {
     var contactUsFormPage = new ContactUsFormPage();
     FindElement(contactUsFormPage.DisclaimerCheckBox).Click();
 }
 public void WhenIClickTheSubmitButtonForTheForm()
 {
      var contactUsFormPage = new ContactUsFormPage();
     FindElement(contactUsFormPage.SubmitContactUsFromButton).Click();
 }
 public void GivenISetTheQueryAs(string queryType)
 {
      var contactUsFormPage = new ContactUsFormPage();
     contactUsFormPage.SetQueryTypeOnContactUsForm(queryType);
 }
 public void GivenIPopulateTheQuestionAs(string question)
 {
      var contactUsFormPage = new ContactUsFormPage();
     FindElement(contactUsFormPage.QuestionLocator).SendKeys(question);
 }
 public void GivenISetTheRegionTo(string region)
 {
     var contactUsFormPage = new ContactUsFormPage();
     contactUsFormPage.SetRegionOnContactUsForm(region);
 }
 public void GivenISetTheProfessionAs(string profession)
 {
      var contactUsFormPage = new ContactUsFormPage();
     contactUsFormPage.SetProfessionOnContactUsForm(profession);
 }
 public void GivenIPopulateTheTelefoneNumberAs(string telefone)
 {
      var contactUsFormPage = new ContactUsFormPage();
     FindElement(contactUsFormPage.TelefoneLocator).SendKeys(telefone);
 }
 public void GivenIPopulateTheEmailAs(string email)
 {
     var contactUsFormPage = new ContactUsFormPage();
     FindElement(contactUsFormPage.EmailLocator).SendKeys(email);
 }
 public void GivenIPopulateTheFullNameAs(string fullName)
 {
     var contactUsFormPage = new ContactUsFormPage();
     FindElement(contactUsFormPage.FullNameLocator).SendKeys(fullName);
 }