deleteAllVisibleCookies does not work (CentOS - Firefox 3.5)

69 views
Skip to first unread message

Lars Juettermann

unread,
Jun 16, 2011, 10:03:28 AM6/16/11
to Selenium Users
Hi folks,

currently I'm somehow struggling with session-cookies in my tests with
SeleniumIDE.
I directly use the IDE to run the tests, but I'm planning to use
Selenium RC and JUnit in near future.

When accessing the page, I receive a JSESSIONID-cookie from my AUT.
Then, my testcase clicks a checkbox for "Terms & Conditions" (which is
mandatory for the further behaviour) and proceeds.

Next time the testcase runs, this checkbox was still checked and now
is unchecked by the click-event. This impacts the page flow and the
test fails.
I've tried a "deleteAllVisibleCookies" at the very beginning of the
test. But the JSESSIONID won't vanish as expected.

Any ideas?

Best regards,

Lars
Reply all
Reply to author
Forward
0 new messages