mcresswell
12 years agoNew Contributor
[Resolved] $ Next To Property
I am using the contains assertion to check for "$10" is in the soap response. 10 is a property that can change, so the contains assertion is actually "$${#TestCase#Amount}". This property is not resolving to 10 as expected.
-->Missing token [${#TestCase#Amount}] in Response
An escape character, "\$${#TestCase#Amount}", did not help either.
If I add a space after the dollar sign, "$ ${#TestCase#Amount}", the property resolves as expected
-->Missing token [$ 10] in Response (since there is no space in the fault message)
Has anyone successfully had a $ immediately before a property and still had it resolve correctly?
-->Missing token [${#TestCase#Amount}] in Response
An escape character, "\$${#TestCase#Amount}", did not help either.
If I add a space after the dollar sign, "$ ${#TestCase#Amount}", the property resolves as expected
-->Missing token [$ 10] in Response (since there is no space in the fault message)
Has anyone successfully had a $ immediately before a property and still had it resolve correctly?