Method CheckResponseByList
Checks response by list (CheckList) where 'Path' is the path to the property and 'Value' is comparable valueUsage
Function CheckResponseByList(
Boolean Report [Optional]
)
Parameters
Report (optional)
Type: Boolean
Default value: True
Report Result
Returns
True if equal
Example
VBScript
Server("API Server").Method("Method").CheckResponseByList
' Set Report parameter
Server("API Server").Method("Method").CheckResponseByList True
JavaScript
Server("API Server").Method("Method").CheckResponseByList();
// Set Report parameter
Server("API Server").Method("Method").CheckResponseByList(true);
Documentation Categories
![](https://www.zaptest.com/wp-content/uploads/2022/02/1SCRIPT_STEP.jpg)
ZAPTEST
![](https://www.zaptest.com/wp-content/uploads/2022/02/FARM.jpg)
FARM
![](https://www.zaptest.com/wp-content/uploads/2022/02/LOAD.jpg)
Comment
Set Report parameter