Forum Discussion

rkpatnaik's avatar
rkpatnaik
Occasional Contributor
6 years ago

Property checkpoint with code expression

Hi,

 

I was trying to add one checkpoint using the following code expression

 

"I am↴"&Project.Variables.Var_quoteQuestion("Goal")

 

On screen,  the message is displayed as I am just investing (not sure where this ↴ come from).

The test is failing even though the actual value matches with the expected value. Please see attached screenshot. Can somebody tell me if I am using a wrong expression? 

 

 

3 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    That symbol represents a non-printing character and should not be used directly as is.  It probably represents a carriage return or line feed or some other non-printing character in the text.

    • rkpatnaik's avatar
      rkpatnaik
      Occasional Contributor

      Thanks Robert for the response. There is only a space between those texts on the screen and no such symbol.

      Any idea how can we handle that?

       

      Thanks,

      Ranjan

      • tristaanogre's avatar
        tristaanogre
        Esteemed Contributor

        As noted, the symbol represents a non-printing character so it should not be used directly within your checkpoint.  Instead, enter the value in your checkpoint as it would be, including non-printing characters.  You can do this, also, by doing a copy/paste directly from the relevant field in the Object Browser.