To replace a content in a XML file, we could use a tcl command "regsub". It replaces the old string with new string character.
Kindly follow the steps:
readfile -> XML file -> Step properties -> Store Response -> var1. This must be followed by the regsub command.
Syntax: regsub -all old_string $var1 new_string var1
Please go through the sample attachment for your reference.