Пример #1
0
 public void SelectAddContact(string consent)
 {
     if (consent.Equals("Yes", StringComparison.OrdinalIgnoreCase))
     {
         _formHelper.SelectRadioButton(ContactYes);
     }
     else
     {
         _formHelper.SelectRadioButton(ContactNo);
     }
 }
 public SelectAnOptionPage SelectContactOption(string option)
 {
     if (option.Equals("Contact an adviser", StringComparison.OrdinalIgnoreCase))
     {
         _formHelper.SelectRadioButton(ContactAdviser);
     }
     else if (option.Equals("Report a technical issue", StringComparison.OrdinalIgnoreCase))
     {
         _formHelper.SelectRadioButton(TechnicalIssue);
     }
     else if (option.Equals("Give feedback", StringComparison.OrdinalIgnoreCase))
     {
         _formHelper.SelectRadioButton(Feedback);
     }
     _objectContext.Set("SelectOption", option);
     return(this);
 }
 public RoutePage ClickSearchBySkills()
 {
     _formHelper.SelectRadioButton(RadioSearchBySkills);
     return(this);
 }
 public MatchResultsPage ContinueToCareerMatches()
 {
     _formHelper.SelectRadioButton(ButtonFindCareer);
     return(new MatchResultsPage(_context));
 }
 public WorkedPage ClickRadioYes()
 {
     _formHelper.SelectRadioButton(RadioYes);
     return(this);
 }
 public DYSACTraitsQuestionsPage SelectStronglyAgree()
 {
     _formHelper.SelectRadioButton(StronglyAgreeRadio);
     return(this);
 }
 public DYSACAttributesQuestionsPage ClickYes()
 {
     _formHelper.SelectRadioButton(YesRadio);
     return(this);
 }
Пример #8
0
 public MatchDetailsPage ClickCategory()
 {
     _formHelper.SelectRadioButton(CategoryFilter);
     return(new MatchDetailsPage(_context));
 }