Forum Discussion

Claddaghduff's avatar
Occasional Contributor
3 years ago

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...
  • mikef's avatar
    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.