Forum Discussion
LexiAQA
7 years agoSmartBear Alumni (Retired)
Hi,
What kind of property are you referring to? How exactly this property is set? I've just tested the product behavior, and a test case property can be used just fine in the JSONPath Match assertion.
- Sriraj7 years agoContributor
i have attached as screenshot what i am trying to do.
the property in bold in the below is generated 1 step before the step in which this assertion is applied.
$[0]['Items__r']['records'][?(@._Item_Id__c=='${DataSource_CreateOrderNumbers#Points}_1']['Order_Status_Id__c']
- PaulMS7 years agoSuper Contributor
Can you temporarily replace ${DataSource_CreateOrderNumbers#Points} with the expected property value to confirm that the assertion passes successfully without property expansion?
What is the error message if the assertion fails?
Related Content
- 5 years agoComputingFroggy