Code: Select all
Validate.Options option = new Validate.Options(ReportLevel.Info);
option.ExceptionOnFail=false;
Validate.Attribute(repo.AgileMobileApp.ConfirmLogoutNotification.DialogHeadingInfo, "Text", "Please enter your username and password","", option );
I want to take control here. If the text is not present, I want to test it against some alternative values.
How do I find out what the value of that text is, i.e. the text value in repo.AgileMobileApp.ConfirmLogoutNotification.DialogHeadingInfo?
.Text is not an option!