Verify Response Values using Robot Framework:
---------------------------------------------
verifying status code
${statusCode}= Convert To Integer ${response.status_code}
Should Be Equal As Integers ${statusCode} 200
Content Verify:
${body}= Convert To String ${response.content}
Should Contain ${body} Rajiv Asan DVM
Response.Header is basically list of Dictionary for verifying Dictionary values we need to import Collects
${contentype}= Get From Dictionary ${response.headers} Content-Type
Should Be Equal ${contentype} application/json; charset=utf-8
On this page of the site you can watch the video online Robot Framework Beginner Class 6: Verify Response Values using Robot Framework with a duration of hours minute second in good quality, which was uploaded by the user Testing Tutorialspoint 19 August 2022, share the link with friends and acquaintances, this video has already been watched 877 times on youtube and it was liked by 14 viewers. Enjoy your viewing!