Forum Discussion

priyalmistry4's avatar
priyalmistry4
Occasional Contributor
5 years ago
Solved

Incorrect property checkpoint results

Hello,

 

I am performing test complete on API notebooks and I have set property checkpoint to match a substring of the actual result with the expected result. My checkpoint looks as expected but the property checkpoint fails.

Also, these test cases have passed earlier with no failures.

 

Any guidance is appeciated.

 

  • priyalmistry4's avatar
    priyalmistry4
    5 years ago

    Thank you tristaanogre . I did figure out the actual mismatch. Results were modified by the developers to no longer display quotes.

    Appreciate your help.

2 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    Your expected value has single quotes around the Please specifiy... section... the actual value does not have those single quotes anywhere.  The "contains" actually looks for the substring EXACTLY... so that substring doesn't actually exist.

    • priyalmistry4's avatar
      priyalmistry4
      Occasional Contributor

      Thank you tristaanogre . I did figure out the actual mismatch. Results were modified by the developers to no longer display quotes.

      Appreciate your help.