ryanterronez
5 years agoOccasional Contributor
Text Rejected Error
When running a test I am getting an error in the log that says, "The text was rejected." There is validation on that control, and required you to enter a value in another control. The keyword test adds values to both controls and the process completes but I am getting a false negative in the log saying that the test failed. Is there a way to bypass this error, or ignore it so that I am not getting a failure in my test logs?
 
Hi,
As an initial guess: if the values are entered into controls via the .SetText() method, try to replace .SetText() with the .Keys() one.
Otherwise, can you post here the screenshot of your test?