Skip to content

sumat17/SQEDemonstrationChallengeUIProject

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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: sqedemonstrationchallenge@nbcuni.com

Expectations

We will be evaluating

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

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/

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. PositiveTestCases
  2. NegativeTestCases
  3. ResetOrderTest

Issues Observed

  1. Quantity box accepting string
  2. Ability to insert decimal numbers and negative numbers
  3. Order is done when no pizza is selected
  4. Both 2 toppings are always enabled to be selected(even for pizza without toppings)
  5. Toppings1 and Topping2 do not reset
  6. Able to check/select both payment radio buttons

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 75.7%
  • HTML 24.3%