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.xmlfile from the specified path. - Map the path to the
sConfigPathvariable. - Create a
Logs.txtfile and pass the value to thesLogFilePathvariable before running the bot.
sConfigPath: Path to theConfig.xmlfile.sLogFilePath: Path to theLogs.txtfile.
