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")); }
public void WhenTheUserSelectsTheRadiobutton(string label) { _browsers[_c.CurrentUser].ClickRadioButton(CommonLocators.RadioButtonWithLabel(label)); _browsers[_c.CurrentUser].Driver.WaitUntilElementExists(CommonLocators.RadioButtonWithLabel(label)).Selected.Should().BeTrue(); }
public void WhenTheUserSelectsTheRadiobutton(UserBrowser browser, string label) { browser.ClickRadioButton(CommonLocators.RadioButtonWithLabel(label)); browser.Driver.WaitUntilElementExists(CommonLocators.RadioButtonWithLabel(label)).Selected.Should().BeTrue(); }