The Config Reader reusable template fetches the config node values configured in the config.xml
file into respective variables for further usage in the Parent bot. Before reading the node, it verifies if the given XML is valid. If valid, it fetches the node values otherwise, it logs the required details and terminates the bot. Feel free to customize the nodes and logic as per your needs.
- Download the
Config.xml
file from the specified path. - Map the path to the
sConfigPath
variable. - Create a
Logs.txt
file and pass the value to thesLogFilePath
variable before running the bot.
sConfigPath
: Path to theConfig.xml
file.sLogFilePath
: Path to theLogs.txt
file.