Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

After clicking a button in my application with webdriver, it gives me “sorry..your session has been expired” in IE8 and i am unable to proceed. But I am able to do it manually.

Now to proceed with webdriver automation i have to login into my application manually first, then it doesnt give me that session expired error.

Problem is my application only works on IE. This issue is a showstopper now.

Now i am confused, is this an IE issue (some cookie handling) or webdriver provides some support for session or cookie handling?

I am using selenium version selenium-java-2.24.1 and IE driver version IEDriverServer_Win32_2.25.3.

Thanks

share|improve this question
    
Have you tried seeing what's different yet? Are the http requests significantly different between when selenium navigates through the pages as opposed to when you do? Have you checked for any security settings in IE that may be causing issues? –  Lyndon Vrooman Dec 24 '12 at 15:12
    
@LyndonVrooman:I checked url while navigating with both the ways (through webdriver and manually) ,url is same in both the cases. I have already set security settings as mentioned in selenium docs for IE. If still i am missing something or you can suggest me.Please lemme know. Thanks Lyndon.. –  Deepak Dec 26 '12 at 4:56
    
As per selenium docs here in code.google.com/p/selenium/wiki/InternetExplorerDriver I was trying to set "protected mode settings" but first thing its not mentioned there for Window xp and i am using Window XP.The second thing is on my machine i am not able to see any check box under tools-->internetOptions-->security.I think may be due to my office's security reasons.Now i am stuck how to do it.Please help me –  Deepak Dec 27 '12 at 15:42

1 Answer 1

Try to upgrade to the latest IEDriverServer: 4.43.xxx: http://selenium-release.storage.googleapis.com/index.html?path=2.43/ Also you can try both x86 and x64 versions.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.