This is a custom keyword plugin for find a string and replace it with another string. In this method 3 parameters should be provided.
The first one is the body of the document (in form of string). second one is the string which is to be found from the document and the third or the final one the string to be inserted in place of the previous string. Means the string, which will be replacing the previous string.
The method is as following:
String getDocToReplace(String doc, String toFind, String toReplace)
It returns the final body of the document as a string after finding and replacing .
As reference the demo project can be found from the bellow link:
https://github.com/AishiMitra/Katalon-FindAndReplace
For any query get in touch with me at aishimitra.in@gmail.com
Thank you.
Visit Katalon Forum for Plugin related discussions.