Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mleopold opened this issue Sep 3, 2015 · 4 comments
Open

Comments

@mleopold
Copy link

mleopold commented Sep 3, 2015

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:

  • I start SE builder, select selenium 2 and record the steps for login
  • Save the test case
  • Select Suite->Record New Script
    -> The resulting pop-up warns "This will delete all cookies for the domain you're recording for"
  • Select "Selenium 2"

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
Copy link

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

@mleopold
Copy link
Author

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
Copy link

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

@parul00
Copy link

parul00 commented Apr 25, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants