top of page

Welcome
to NumpyNinja Blogs

NumpyNinja: Blogs. Demystifying Tech,

One Blog at a Time.
Millions of views. 

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 .


ree











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

ree






Step 2. Create a java class config file Reader

ree

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

ree

+1 (302) 200-8320

NumPy_Ninja_Logo (1).png

Numpy Ninja Inc. 8 The Grn Ste A Dover, DE 19901

© Copyright 2025 by Numpy Ninja Inc.

  • Twitter
  • LinkedIn
bottom of page