Micro Focus QTP (UFT) Forums
manipulate cookies using scripts - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: manipulate cookies using scripts (/Thread-manipulate-cookies-using-scripts)



manipulate cookies using scripts - learnQtptips - 09-26-2013

Will I be able to update values of the cookies (or make any changes) and save it back using scripts.


RE: manipulate cookies using scripts - basanth27 - 09-27-2013

Below are the folders where they exist. Use FileSystemObject to see if you can manipulate the files.
Code:
"C:\DOCUMENTS AND SETTINGS\%USERNAME%\COOKIES\
"C:\DOCUMENTS AND SETTINGS\%USERNAME%\LOCAL SETTINGS\TEMP\