We tried to solve this problem through another approach: First using WAPT function the necessary data were exploit out of html content and were assigned to variables. Then we wanted to create cookies using these variables. But currently application only accepts static data to set cookies, not variables and dynamic data.