18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
How to clear the cookies & catche in the browser?
Hi ,
I'm working in SAHI for a web based applications. In my application, i have to assign 1000 values to the 1000 variables. So I have used Data driven concept to retrieve 1000 values from the CSV file. When the system goes on retrieving values from the CSV file, the performance of the system slows down. So I want to clear the Cookies & Catche in the browser after assigning value to the 1st variable.
Is there any script to clear the Cookies & Catche in Firefox & IE?. So that i may insert your script & put a loop over it.
OS Name - Windows XP
Browser Name and version - Firefox/3.6.23, IE/8
Sahi Build - Sahi-V3.5
Can anyone please provide me a solution to solve this issue?.
Thanks in Advance
Regards,
Jeeva
I'm working in SAHI for a web based applications. In my application, i have to assign 1000 values to the 1000 variables. So I have used Data driven concept to retrieve 1000 values from the CSV file. When the system goes on retrieving values from the CSV file, the performance of the system slows down. So I want to clear the Cookies & Catche in the browser after assigning value to the 1st variable.
Is there any script to clear the Cookies & Catche in Firefox & IE?. So that i may insert your script & put a loop over it.
OS Name - Windows XP
Browser Name and version - Firefox/3.6.23, IE/8
Sahi Build - Sahi-V3.5
Can anyone please provide me a solution to solve this issue?.
Thanks in Advance
Regards,
Jeeva
Comments
Kindly have a look at below URLs:
http://sahi.co.in/forums/viewtopic.php?id=2948
http://sahi.co.in/forums/viewtopic.php?id=2739
Also, here is the script to delete the cookie.
_navigateTo("http://yahoo.com/"
_navigateTo("http://yahoo.com/_s_/dyn/Cookies_showAll"
_check(_checkbox("1"));
_click(_button("Delete"));
_navigateTo("http://yahoo.com/_s_/dyn/Cookies_showAll"
Regards
Sumitra