public void ValidateSpanIsNotEmpty() { var actualText = WebElement.Text; string messagePassed = $"The (Span) [ { ControlName} ] is not Empty, contains the value: [ { actualText} ]"; string messageFailed = $"The (Span) [ {ControlName} ] is Empty - FAILED, when it should contain a value"; ExceptionManager.AssertIsNotEmpty(actualText, messagePassed, messageFailed); }