public void OccupationCode_WhenCorrectValueEntered_ShouldAcceptWithNoValidationErrors()
        {
            // Arrange
            string occupationCode = "1234";

            // Act
            Learners_LearnerListObjects learnerTab = WindowObjects.Windows.Main.SelectLearnerTab;

            learnerTab.ClickAddLearnerButton();
            LearningDeliveryObjects learningDeliveryTab = WindowObjects.Windows.Main.SelectLearningDeliveryTab;

            learningDeliveryTab.ClickAddLearnerButton();
            learningDeliveryTab.SelectLearningDeliveryHETab();
            learningDeliveryTab.SetOccupationCodeTextBox(occupationCode);

            // Assert
            var error = learningDeliveryTab.GetOccupationCodeValidationMessage;

            TakeScreenShot();
            Assert.True(string.IsNullOrEmpty(error), $"Validation failed for invalid Occupation code {occupationCode}");
        }