Overview
Syllabus
00:00 *TOPICS*
01:17 STEP 1 - Add Apache POI Dependency to pom.xml Update maven project mvn clean install
03:44 STEP 2 - Create an Excel File TestData.xlsx Add test data
08:19 STEP 3 - Create ExcelUtils.java to Read Data
22:23 STEP 4 - Modify LoginTest.java to Use Data from Excel
36:05 STEP 5 - Run tests and check reports
40:55 How to get data from a data provider method
41:32 STEP 1 - Create a data provider method and annotate with @DataProvidername = "LoginData"
44:48 STEP 2 - Annotate the test function to use this data provider
45:50 How to get data from testng.xml
47:21 STEP 1 - Modify testng.xml to Pass Parameters
49:58 STEP 2 - Use @Parameters in LoginTest.java
52:57 Ending
Taught by
Automation Step by Step