Simple DDT(Data driven testing) | Read user's detail from excel & login to application multiple times
Hello Dear Friends!!! I hope you are doing well!!! So guys in today's article we are going to see below points. 1. Data driven testing using excel 2. Simple ways and methods to read data from excel file 3. Read data from excel and Automate web application 4. Use of @DataProvider annotation in TestNG framework Problem Statement : Read multiple user's credentials from excel file and login to application one by one. In last session we have created one project i.e. TestNGDemo, so that project only will take for the today's demo. To watch last session open mentioned link : TestNG Demo And to watch today's session on YouTube open mentioned link : DDT Session Solution : For the demo will create two classes and using one input file as mentioned below : 1. LoginDemo.java 2. ExcelReadingMethods.java 3. Input file LoginData.xlsx 1. LoginDemo.java //This class is for writing the Test Cas...