top of page

ConfigReader(How to Implement configuration reader to read property files)

Step 1. Create a property file

first create a property file . Inside src/test/resources create a property file inside config folder .

You can define any file path in property file that you want test. This is some clips from the ds algo project

Here i am configure an excel path for login page and the url of very first page of ds algo

Step 2. Create a java class config file Reader

Step 3. Read each property from config property file

To read each properties from config property file , we will call each function from  class. Here we are calling URL with getUrl function from class

55 views0 comments


Rated 0 out of 5 stars.
No ratings yet

Add a rating
bottom of page