SeleniumBuilder / se-builder

Legacy Selenium Builder Project
Other
215 stars 104 forks source link

Recording test cases in a suite with persistent cookies after login #280

Open mleopold opened 9 years ago

mleopold commented 9 years ago

Hi, I'm trying to make a simple test suite for a page that requires login, this seems to be supported during playback as mentioned in #67, but during recording it seems my cookies are still getting cleared.

Here's what I'm doing:

Unfortunately clicking Selenium 2 does exactly that - clears cookies and I'm now logged out of the page I'm trying to record from. To me that seems like undesired behaviour when building a suite of consecutive tests.

Br, Martin

mathias-aa commented 9 years ago

There is an option to keep your cookies across the whole suite test cases into the suite. image

mleopold commented 9 years ago

I'm not sure what the text in the screenshot reads, but mine has a "Share state across suite". Perhaps I didn't make that clear, but this is what I clicked and then record. Only it seems to make no difference during the recording session (only playback).

Zarkonnen commented 9 years ago

That option is indeed only for playback, but you're right, there should be one for recording too!

parul00 commented 8 years ago

This is must have feature so that a test can be recorded from any point. Else it is required to log-in every time, Which is not very good idea.