public void SpecialFeeIndicator_WhenCorrectSelectionIsMade_ShouldAcceptWithNoValidationErrors() { // Arrange string specialFeeIndicator = "9 - Other fee"; // Act Learners_LearnerListObjects learnerTab = WindowObjects.Windows.Main.SelectLearnerTab; learnerTab.ClickAddLearnerButton(); LearningDeliveryObjects learningDeliveryTab = WindowObjects.Windows.Main.SelectLearningDeliveryTab; learningDeliveryTab.ClickAddLearnerButton(); learningDeliveryTab.SelectLearningDeliveryHETab(); learningDeliveryTab.SetSpecialFeeIndicatorComboBox(specialFeeIndicator); // Assert var error = learningDeliveryTab.GetSpecialFeeIndicatorValidationMessage; TakeScreenShot(); Assert.True(string.IsNullOrEmpty(error), $"Validation failed for invalid Special fee indicator {specialFeeIndicator}"); }