top of page
hand-businesswoman-touching-hand-artificial-intelligence-meaning-technology-connection-go-

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

Step 1. Create a property file config.properties

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 configFileReader.java  class. Here we are calling URL with getUrl function from configFileReader.java class


50 views0 comments

Recent Posts

See All
bottom of page