Testing the demo.yo-meals.com application using the Selenium Testing Framework, TestNG and Apache POI.
This is a final project before completion of the course Quality Assurance taught by IT Bootcamp in Serbia. It is based on the Selenium testing framework and implements TestNG (version 7.3.0) and ApachePOI libraries.
http://demo.yo-meals.com/ (developed by FATbit Technologies) demo Web app’s different functionalities were tested in three different tests.
- navigates to the login form page
- closes a pop-up navigation dialogue
- logs in with demo credentials
- verifies if the login is successful
- navigates to profile page
- changes customer data such as first name, last name, address, phone number, zip code, country, state, and city
- verifies if the profile setup is successful
- logs out
- verifies if the logout is successful
- navigates to the login form page
- closes a pop-up navigation dialogue
- logs in with demo credentials
- verifies if the login is successful
- navigates to profile page
- changes a profile photo
- verifies if the profile photo was updated
- deletes the profile photo
- verifies if the profile photo is deleted
- logs out
- verifies if the logout is successful
- navigates to a specific meal item page
- closes a pop-up navigation dialogue
- adds 4x the same meal item to the cart
- verifies if the location error message appears
- opens up a navigation dialogue
- sets the chosen location
- repeats step 3
- verifies if the meal is added to the cart
- navigates to a specific meal item page
- clicks on the “add to favorites” button
- verifies if the warning message appears to log in first
- navigates to the login form page
- logs in with demo credentials
- repeats step 1
- repeats step 2
- verifies if the product was added to favorites
- navigates to meals page
- sets the location
- reads URLs from an .xlsx file
- navigates to provided meal items pages
- adds 2x each meal from a corresponding URL to a cart
- verifies if the meal items were added to the cart
- clears the cart
- verifies if the cart is cleared
- navigates to meals page
- sets the location
- reads from an .xlsx file
- opens up a page from a URL provided in an .xlsx file
- changes the location based on the information from an .xlsx file
- checks if the number of meal items present on that specific meal page at the specific location is equal to the number of items in the .xlsx file
- checks if the meal item names on the specific meal page at the specific location are identical to the meal item names provided in the .xlsx file