Add a cookie

You can quickly create a test step that adds a cookie to the web app under test, both in Basic Mode and in Advanced Mode. Here, we walk you through the procedure in Basic Mode.

You can also validate a cookie and delete a cookie.

To add a cookie:

  1. Access the canvas.
  2. In Basic Mode, select the step preceding or following the new step that will add 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  Add a Cookie.
    3. Click ADD.
  5. To the right of the selected step, enter the cookie name and value.
  6. Above the canvas, click Save.
  7. Run your test to add the cookie.