Package utils

Class TestProperties

java.lang.Object
utils.TestProperties

public class TestProperties extends Object
Class to load, get, set and update the test properties
Author:
Nayeem John
  • Constructor Details

    • TestProperties

      public TestProperties()
      Constructor - Load the config properties for Test
  • Method Details

    • getProperty

      public String getProperty(String key)
      Utility method to get the property value after trim
      Parameters:
      key - - String - key of the property
      Returns:
      String - Returns value String of the property
    • setProperty

      public void setProperty(String key, String value)
      Method to set the property with the value
      Parameters:
      key - - String - key of the property
      value - - String - value of the property
    • updateTestProperties

      public void updateTestProperties()
      Method to update the Test properties with Run time System Property