In order for us to better assess your understanding and use of page objects, frameworks, test cases and coding we ask that you write tests for the following problems. If unable to create a framework write the tests in scripts. Upload to your github/bitbucket or return to us in a zip file. Include instructions on how to setup and run the tests.
- Write all tests you think necessary for the following form: https://the-internet.herokuapp.com/login
- Write tests for all three javascript alerts: https://the-internet.herokuapp.com/javascript_alerts
- Validate dynamic controls - enable/disable input field and checkbox: https://the-internet.herokuapp.com/dynamic_controls
- Write a test to check the current latitude and longitude: https://the-internet.herokuapp.com/geolocation
- Install Visual Studio 2017.
- Install SpecFlow for Visual Studio 2017 Extension.
- Clone Repository to local machine.
- Open Solution in Visual Studio 2017.
- Enable the Test Explorer window. Menu: Test > Windows > Test Explorer
- Build the Solution. NuGet packages should be automatically restored.
- Might need to build again to see the tests within the Test Explorer.
- Optionally, right-click the SpecFlowTestProject parent entry in the Test Explorer tree and select "Expand All".
- Click Run All
- View the Test Run Report file from the Tests Output pane.
- Optionally, comment out or remove the "@Ignore" tag on the 2 "Bug" tests within the Dynamic section, then save the feature file and run each of those tests manually, viewing the Test Run Report file after each failure.