Category: Cucumber

How to load properties file in Java 0

How to load properties file in Java

We can load properties file in Java as shown in below example. Note that Environment.properties file is kept in test resources directory. import java.io.InputStream; import java.util.Properties; public class PropertyTest { public static void main(String[]...