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:
- Access the canvas.
- In Basic Mode, select the step preceding or following the new step that will add the cookie.
- Click Add step > More.
- In the Add Flow Element dialog box:
- From the Element list, select Browser.
- From the Actions list, select Add a Cookie.
- Click ADD.
- To the right of the selected step, enter the cookie name and value.
- Above the canvas, click Save.
- Run your test to add the cookie.