public void GivenIHaveSelectedOptionToContinueOntoTheFirstContactForm(string option)
 {
     selectAnOptionPage = contactUsHomePage
                          .NavigateToContactUsPage()
                          .ClickOnlineMessageLink()
                          .SelectContactOption(option);
     if (_objectContext.Get("SelectOption") != "Report a technical issue")
     {
         firstContactFormPage = selectAnOptionPage.ClickContinue();
     }
     else
     {
         reportaTechnicalIssuePage = selectAnOptionPage.ClickContinueTechnical();
     }
 }
Пример #2
0
 public FirstContactFormSteps(ScenarioContext context)
 {
     _context             = context;
     firstContactFormPage = new FirstContactFormPage(_context);
 }