one championship app automation for verification of landing page carousel, event page and athlete nick name verification
/Configurationconfig.propertiesContains base URL and path of chrome driver and firefox driver
/Appapp-arm64-v8a-release.apk- apk for one championship
/src/test/java/pageObject- Contains page object for all the pagesOneChampionshipHome- Contains common elements and methods of One championship home pageOneChampionshipLanding- Contains common elements and methods of One championship landing pageOneChampionshipProfile- Contains common elements and methods of Athlete profile pageOneChampionshipSearch- Contains common elements and methods of Athlete search page
/src/test/java/testCasesBaseClass- Contains driver initilisation, teardown methodTC_OneChampionshipHome_001- Contains all the test cases of Carousel element verification, Athlete search and print the nick name
/src/test/java/testDataSearchData.xlsx- Contains all the test data needed for the Test
/src/test/java/testDataReadConfig- To fetch all the config from config.properties fileReporting- Contains TestListener methodsXLUtils- Contains methods to read data from excel
/src/test/java/resourcesextent-config.xml- xml config for extent reportlog4j2.xml- xml config of log4j for loggin configTestNG.xml- xml config of TestNG for passing browser and setting other params
test-output- contains all the html reports generatedpom.xml- xml config for getting all the required dependencies
#How to Execute
- Import the project to any of the IDE
- /src/test/java/resources/TestNG.xml - Change the value of param 'device' - Currently supports only android.
- Navigate to /src/test/java/resources/TestNG.xml right click and RunAs TestNG. This will execute the script and generate report