Code URl: https://www.youtube.com/watch?v=n0_Lj5YJvgQ
- This framework implementation uses java, testng Setup (It is assumed that you have java and maven installed globally.)
- framework uses TestNG to run the tests.
- Install Java SE 12.*
- Install Maven (https://maven.apache.org/install.html)
- Testing URL: https://www.makemytrip.com/
- Enter City as Delhi and Bangalore
- Select date as current date and Arrival after 7 days
- Validate number of flight listed without any filter
- Apply Non-Stop filter
- Validate number of flights listed after filter applied
- Apply One-stop filter
- Validate number of flights listed after filter applied
- Make random selection of departure flight and arrival flight ( limit first 10 rows )
- Validate total fare and fare of selected flights
- Test data is in src\main\java\com\assign\qa\testdata\testData.xlsx
- properties file is in src\main\java\com\assign\qa\config\config.properties
- Extent report is generated inside ExtentReports folder with test Steps logs, Failed Screen shot and System info.
- Date gap for departure and return is Set for only 7 days ( Hard coded)