How to get cookie from the Request or browser

Hi ,

I want to maintain cookie for every request and i am trying to get the cookie from the browser or any request .

Thanks,
Shekar

XLT automatically manages the cookies and keeps it in sync aka when the cookies was for that server and has the right parameters, it will be sent back.

Depending on the test suite, you can for instance do that:

Context.get().getPage().getWebClient().getCookieManager().getCookie("foo");

Basically, get yourself the webclient and there you can get, set, and change cookies.