testFileInDirectoryPath()

Tests the specified file located at the path returned using the getDirectoryPathFromRegistry() step. The available tests are:

  • Exists : true if the file name exists.
  • Does not Exist : true if the file name does not exist.
  • Contains : true if the test value is a sub string of the file content.
  • Not Contains : true if the test value is not a sub string of the file content.
  • Begins With : true if the test value begins with the variable value.
  • Ends With : true if the test value ends with the variable value.

Example - Core.3 Linux Procedures.Software Control.Applications.Install CHKCONFIG

If testFileInDirectoryPath("/var/tmp/installed-software.read") Contains "chkconfig"