Method option CheckResponseByList.
Prior to use this one you need to insert Execute method.
CheckResponseByList checks if the output result contains expected data located in the check list.
The checklist contains path and value - please refer separate Checklist video for detailed explanation of these parameters.
The boolean output of CheckResponseByList is True if response matches the checklist data or False if response not matches the checklist data.
With the messagebox we can validate the output of method.
Here's how response looks like
We can see output is True means the response matches the checklist
The sum of the Execute and CheckResponseByList is method ExecuteAndCheckResponseByList
It sends the API request, validates it is correctly accepted by server and checks if the output result contains expected data located in the check list.
It returns True if request successfull and response matches the checklist data
Returns False in any other case.
Let's try it. As before we output result to the messagebox.
You can see that method been executed successfully and response is correct.