Validate a cookie
You can check the value stored in a cookie you added by adding a validating step, both in Basic Mode and in Advanced Mode. Here, we walk you through the procedure in Basic Mode.
See also Add a cookie and Remove a cookie.
To validate a cookie from your canvas:
- Access the canvas.
- In Basic Mode, select the step preceding or following the new step that will validate the cookie.
- Click Add step > More.
- In the Add Flow Element dialog box:
- From the Element list, select Browser.
- From the Actions list, select Validate a Cookie.
- Click ADD.
- To the right of the selected step, enter the cookie name and the value the cookie is expected to contain.
- Above the canvas, click Save.
- Run the test to validate the cookie.