This is Page object model framework. It uses Java, TestNg,Maven,Extent Reports
- Page Object model
- Log4j
- Extent Reports
- Read configuration from properites file
- Utils ( Basic Read data from Excel, Http getResponse method to check response of broken links etc)
- Proritization using TestNG
- Easily add common methods
- Added Listerners and easily update in the future
- Maven ( easily add dependencies using maven in future)
- Easily Run from command line with testng command line syntax
- When test fail it will skip the remainging execution , we have achieved this using testNG annotations
Test Steps covered in this Demo repo:
- Launch browser
- Search for product TV ( I will make this step dynamic, we can pass any product in the arugument)
- filter product with Screen size ( I will make this function also dynamic, we can pass any scrren size to the locator)
- Added First item to the cart which is having the facility to add cart
- Verify the Items added to the Cart
- I have not validated that search returning any results or not. We can add a check point to validate the search results and procedeed only if we have search results >0
- After filtering I have not added to check point to validate the search results