Objective
The objective of this assessment is to evaluate the ability of participants to automate a web application using Selenium WebDriver, implement the Page Object Model (POM), and write test cases using TestNG or JUnit. The test will also include API testing using Rest Assured, assertions, data-driven testing, error handling, and report generation.
Skeleton Framework
Create a Maven project with the required dependencies for Selenium, TestNG/JUnit, Rest Assured, and Extent Reports. Use POM to manage object repositories. Implement UI test cases using Selenium WebDriver. Use the Page Object Model (POM) to structure tests. Use TestNG (or JUnit) to structure test cases. Use TestNG @DataProvider or JUnit @ParameterizedTest for data-driven testing. Use assertEquals() and assertTrue() to validate test results. Error Handling & Reporting Implement basic error handling (try-catch blocks) where required. Generate Reports to log test results. API Testing (Rest Assured) Validate API responses for property search and availability.
Execution and Performance