verify response body equals to “response_body”
API Operations Step-def verify response body equals to “response_body” Keyword Given, When, And, Then Description Will verify response body. Declaration Code Element Application Test Data Then verify response body equals to “” NILL NILL A B Response_body_text “{ “”base64Screenshot””: null “”durationInSeconds””: 6.0031315 “”failureReason””: null “”name””: “”Then click on element “”acceptCookiesBtn”””” “”screenshotPath””: “”/executionData/switch_to_default_frame_SoliteraTA_Playground_542024102748/screenshot/executionwise/1712293114641_Line_1.png”” “”status””: “”Passed”” }” Remarks The “String Value” that is used through test data file should be in angular brackets. We can use any variable name Restriction Parameter selection- It is mandatory to meet all parameter data with validation criteria, such as the use of appropriate string or numerical data, an assigned value range, and conformance with length restrictions Call sequencing- It is also a challenge as every call must appear in a specific order to ensure the system works correctly. Table of contents Keyword Description Declaration Remarks Restriction
verify response body equals to “response_body” Read More »