This task is designed to assess your skills in QA automation using Java + Selenium + TestNG + Maven for testing Google Maps. You are required to perform the following steps:
-
Open Google Maps Page: Navigate to Google Maps homepage.
-
Find 3 Different Cities: Search and locate three different cities using the search functionality of Google Maps.
-
Take Screenshots: Capture screenshots of each city's map view for verification.
-
Add Assertions: Implement assertions to validate key elements or information on the Google Maps page.
To execute the test, follow these steps:
mvn clean test -Dheadless=true