Method CheckMemberResponse
Checks property of object with a given valueUsage
Function CheckMemberResponse(
String Path,
String Value,
Boolean Report [Optional]
)
Parameters
Path
Type: String
Path to the object: User[5].Information.Awards
Value
Type: String
Value
Report (optional)
Type: Boolean
Default value: True
Report Result
Returns
True if response property value equals to value parameter, otherwise - false
Example
VBScript
Server("API Server").Method("GetBookById").Execute
Server("API Server").Method("GetBookById").CheckMemberResponse "Title", "Best Test Automation Software", True
JavaScript
Server("API Server").Method("GetBookById").Execute();
Server("API Server").Method("GetBookById").CheckMemberResponse("Title", "Best Test Automation Software", true);