Claddaghduff
3 years agoOccasional Contributor
How to enter a linefeed into a variable for a Property Checkpoint
I have a project variable that I use to check against a value on a web page. The actual value contains a linefeed (I believe) as when I recorded the test the expected value was as, "Accession No:\n40...
- 3 years ago
Hi Claddaghduff
Change the Condition of the checkpoint to "Matches (regular expression)" (or in Keyword edit, "cmpMatches"). This will allow TestComplete to pick up the \n escape character then.
Thanks
Mike