PropertyFile

Common Functions

tr>
Method Name Parameter Return Type Usage Example
setPropFilePath fileName: String void To load Property file from src/main/resource package PropertyDriver propDriver = new PropertyDriver(); propDriver.setPropFilePath(fileName);
getFilePath File
setCucumberJsonFilePath jsonFile:String void
getCucumberJsonFilePath File void
readProp key: String String To read value from property file by key PropertyDriver.readProp(key)
readProp Map<String, String> PropertyDriver.readProp()
funcFetchConfigValue strVarName:String String PropertyDriver.funcFetchConfigValue(strVarName)