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:

  1. Access the canvas.
  2. In Basic Mode, select the step preceding or following the new step that will validate the cookie. 
  3. Click Add step > More.
  4. In the Add Flow Element dialog box: 
    1. From the Element list, select Browser.
    2. From the Actions list, select Validate a Cookie.
    3. Click ADD.
  5. To the right of the selected step, enter the cookie name and the value the cookie is expected to contain.
  6. Above the canvas, click Save.
  7. Run the test to validate the cookie.