I am trying to test an input field to make sure it is behaving correctly with invalid input. But when I try to insert text with quotes and add a validation rule for it, the test fails. It seems that I have some problem with the special characters. I tried to replace them in the validation rule with "
, but it doesn't work. I had a similar problem when I tried to test for <>
characters, but when I replace them with <>
in the validation rule it works.
How can I test for quotes in my input with Visual Studio?