Beispiel #1
0
 public void ProgressToNextPage()
 {
     _browsers[_c.CurrentUser].ClickRadioButton(CommonLocators.RadioButtonWithLabel(_c.WebConfig.TestConfig.TestData.CameraWorking));
     _browsers[_c.CurrentUser].Click(CommonLocators.ButtonWithInnerText("Continue"));
     _c.Test.Answers.Add(new SuitabilityAnswer {
         Answer = _c.WebConfig.TestConfig.TestData.CameraWorking, ExtendedAnswer = null, QuestionKey = SelfTestQuestionKeys.SeeYourselfQuestion
     });
 }
 public void ProgressToNextPage()
 {
     _browsers[_c.CurrentUser].Driver.WaitForPageToLoad();
     _browsers[_c.CurrentUser].ClickRadioButton(CommonLocators.RadioButtonWithLabel(_c.WebConfig.TestConfig.TestData.CheckYourComputer));
     _browsers[_c.CurrentUser].Click(CommonLocators.ButtonWithInnerText("Continue"));
     _c.Test.Answers.Add(new SuitabilityAnswer {
         Answer = _c.WebConfig.TestConfig.TestData.CheckYourComputer, ExtendedAnswer = null, QuestionKey = SelfTestQuestionKeys.CheckYourComputerQuestion
     });
 }
 public void WhenTheUserAnswersNoToTheCheckYourComputerQuestion()
 {
     _browsers[_c.CurrentUser].ClickRadioButton(CommonLocators.RadioButtonWithLabel("No"));
     _browsers[_c.CurrentUser].Click(CommonLocators.ButtonWithInnerText("Continue"));
 }
Beispiel #4
0
 public void WhenTheUserSelectsTheRadiobutton(string label)
 {
     _browsers[_c.CurrentUser].ClickRadioButton(CommonLocators.RadioButtonWithLabel(label));
     _browsers[_c.CurrentUser].Driver.WaitUntilElementExists(CommonLocators.RadioButtonWithLabel(label)).Selected.Should().BeTrue();
 }
Beispiel #5
0
 public void WhenTheUserSelectsTheRadiobutton(UserBrowser browser, string label)
 {
     browser.ClickRadioButton(CommonLocators.RadioButtonWithLabel(label));
     browser.Driver.WaitUntilElementExists(CommonLocators.RadioButtonWithLabel(label)).Selected.Should().BeTrue();
 }