System Tools and Scripting Plugins → MS Windows System Tools Plugin → Check File Contents Step
This step checks the file contents against a regular expression.
Required properties:
| Property Name | Description | 
|---|---|
| File to scan | The name of the file to scan. | 
| 
               Regular Expression  | 
            The regular expression used to scan the file contents. | 
Optional properties:
| Property Name | Description | 
|---|---|
| Directory Offset | The working directory to use when executing this command. This is relative to current working directory. | 
| Fail if a match was found | Check this option to fail the step if a match was found. Default is to fail if a match is not found. | 
Copyright © 2013–2017 Serena Software, Inc., a Micro Focus company. All rights reserved.