Skip to content

Latest commit

 

History

History
executable file
·
56 lines (49 loc) · 2.32 KB

File metadata and controls

executable file
·
56 lines (49 loc) · 2.32 KB

Demo Challenge

Instructions

  1. Complete the project setup as listed below
  2. Complete the Excerise
  3. Email a synopsis of your work and the link to your git repo containing the completed exercise to: [email protected]

Technologies

  1. Java
  2. Selenium
  3. TestNG
  4. Any other technologies you see fit.
  5. Please do not use a BDD framework.

Project Setup

  1. Clone this project to your git account in a public repo
  2. Setup the project in your IDE
  3. Open the index.html file from src/test/resource/files in a browser
  4. Copy the url from the browser and update the url value in src/test/resource/config.properties to be the copied url.
  5. In src/test/resources update the config.properties file platform for your OS.
  6. From command line run mvn clean install -U -DskipTests
  7. Make sure you can run the DemoTest and chrome launches. You may need to update the chromedriver in /src/test/resources/chromedriver/ to the version that works with your browser https://chromedriver.chromium.org/

Expectations

We will be evaluating

  1. Quality of test cases
  2. Variety of testing types (examples: boundary, happy path, negative, etc)
  3. Code structure and organization
  4. Naming conventions
  5. Code readability
  6. Code modularity

Exercise

  1. Use the site at the index.html
  2. There are helper locators provided for you in the src/test/resource/files/locators.txt file.
  3. In the Test Cases section below:
  • List all of the test cases you think are necessary to test the sample page
  • Note any defects or issues observed
  1. Code up a few examples of:
  • At least one happy path case placing an order
  • At least one error case
  1. When complete please check your code into your public git repo

Test Cases

  1. Test each dropdown to make sure the calculation works correctly in the quantity and cost fields.
    • Pizza Size
    • Toppings
  2. Test the name, email, and phone fields to ensure they accept the correct information type (regex).
  3. Test the payment information fields to ensure only 1 can be selected.
  4. Ensure the reset button empties all selections.

Defects

  1. It is possible to order a second topping with only a 1-topping pizza selected (defect)
  2. Credit Card & Cash on Pickup can both be selected (defect)
  3. It is still possible to select toppings on a pizza with 0 toppings.