This test executes a Google single sign-on workflow on youtube.com. When the user first visits YouTube, they can see that the “Sign in” button is available. The user signs in, thus creating the cookie, which is saved to the customer sandbox environment in the QA Wolf Winner editor. The user starts a fresh browser and the test injects the previously constructed cookie into the browser before proceeding to YouTube, where they are automatically logged in. The user then visits the Google Calendar, where they have also been automatically logged in.
In this test, we use a script to build a cookie and save it to our environment. We then inject the cookie into the browser for subsequent runs allowing the test to run fully automated.