Usage
Function CheckMemberResponse(
String Path,
String Value,
Boolean Report [Optional]
)
GetBookById
Check...Response
Title
Book Title
True
String Path
String Value
Boolean Report
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);
GetBookById
Execute
GetBookById
Check...Response
Title
Book Title
True
