Reading data from an external file is always a good practice.
As promised:
1. Find code from the following blog: http://www.livesteadfast.com/read-wri...
2. Get maven dependencies from : https://mvnrepository.com/
3. Learn how to setup TestNG in Eclipse : http://www.livesteadfast.com/how-to-s...