Documentation

DocHandler function

DocHandler function is used to detect watermark and strike through texts in the word document.

Select SET command from the action dropdown and provide a variable name in Element key where output will be stored, edit parameter section and click on Form, select functions from the dropdown and select DOCHANDLER function. Select cmd as verifyWatermark or verifyStrikeThrough, provide file path and text to be checked.

In case of verifyWaterMark,

If the given text is detected successfully as a water mark, it will return true in a variable defined in the Element Key else it will return false and after completing this step test will look as below:

In case of verifyStrikeThrough,

If the given text is detected successfully as strike through, it will return true in a variable defined in the Element Key else it will return false and after completing this step test will look as below:

Was this page helpful?