Sometimes we came across requirements where we
need to read the test data from notepad file and use this test data in
automation test instead of a conventional way of storing either in excel or in
the properties file.
In this article, we will learn how to read
data from Notepad or .txt file.