Class StepDefinitionHelper


  • public class StepDefinitionHelper
    extends Object
    The type Step definition helper.
    Author:
    Elan Thangamani
    • Constructor Detail

      • StepDefinitionHelper

        public StepDefinitionHelper()
    • Method Detail

      • getActualValue

        public static Object getActualValue​(String value)
        Gets actual value.
        Parameters:
        value - the value
        Returns:
        the actual value
      • getHostName

        public static String getHostName​(String resourceKey,
                                         String system)
        Gets actual resource.
        Parameters:
        resourceKey - the resource key
        system - the system
        Returns:
        the actual resource
      • getActualResource

        public static String getActualResource​(String resourceKey,
                                               String system)
        Gets actual resource.
        Parameters:
        resourceKey - the resource key
        system - the system
        Returns:
        the actual resource
      • buildJsonString

        public static String buildJsonString​(String fileName,
                                             String jsonInput)
                                      throws Exception
        Build json string string.
        Parameters:
        fileName - the file name
        jsonInput - the json input
        Returns:
        the string
        Throws:
        Exception - the exception