Forum Discussion

ryanterronez's avatar
ryanterronez
Occasional Contributor
4 years ago
Solved

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 ...
  • AlexKaras's avatar
    4 years ago

    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?