Experimenting with Selenium Webdriver on the Google Gruyere web app
- Get the tests to actually fail when the expected string is not returned! (e.g. as it would in Selenium Grid)
- Define the page objects to increase maintainability
- Implement TakesScreenshot on failure
- Create random username for sign up
- Find a better way targeting snippets once created
- Remove comments
- Collaborate with the team :-)
- Define the page objects to increase maintainability Created signUpPage.js
- Create Step Defs Started but struggling to wire up feature file - have left suggested snippets in as template
#Testing Notes My testing notes can be found on mindmup here (in a new save location): https://www.mindmup.com/#m:a14176a2f024700134ba02003ec13586f5
For the purposes of this exercise, I started to use Cucumber as I have framework already set up & we use it for collaborating around stories at work. Unfortunately there was too much company data / information in the framework, so I switched to Selenium WebDriver.
Also, as I was not collaborating with others on the development of this product, I saw using Cucumber as slightly overkill - I'd be using it as a test tool rather than the collaboration tool it is intended to be.
This required me to set it up on my personal machine from scratch - the tests currently don't behave exactly as I'm used to when they are being executed in the testing framework.