private static void AskQuestion(Table table) { var questionForm = table.CreateInstance <QuestionForm>(); try { bBCSiteFacade.AskQuestion(questionForm.Text, questionForm.Name, questionForm.Email); } catch (Exception e) { ScenarioContext.Current.Add(errorTag, e.Message); } }
public void WhenISubmitTheQuestionFormWithAllFieldsFulfilled() { BBCSiteFacade.AskQuestion("some text", "", "*****@*****.**", "22", "some adress"); }