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(); } }
public FirstContactFormSteps(ScenarioContext context) { _context = context; firstContactFormPage = new FirstContactFormPage(_context); }