io
The “io” command type represents a series of automation commands regarding io operations:
Available Commands
- assertEqual(file1,file2)
- assertFileContent(file,match,asLines)
- assertNotEqual(file1,file2)
- assertPath(path)
- assertReadableFile(file,minByte)
- base64(var,file)
- checksum(var,file)
- compare(expected,actual,failFast)
- copyFiles(source,target)
- copyFilesByRegex(sourceDir,regex,target)
- count(var,path,pattern)
- deleteFiles(location,recursive)
- deleteFilesByRegex(sourceDir,regex)
- filter(source,target,matchPattern)
- makeDirectory(source)
- moveFiles(source,target)
- moveFilesByRegex(sourceDir,regex,target)
- readFile(var,file)
- readProperty(var,file,property)
- rename(target,newName)
- saveDiff(var,expected,actual)
- saveFileMeta(var,file)
- saveMatches(var,path,fileFilter,textFilter)
- searchAndReplace(file,config,saveAs)
- unzip(zipFile,target)
- validate(var,profile,inputFile)
- waitForFile(file,minFileSize,waitMs,maxWaitMs)
- writeBase64decode(encodedSource,decodedTarget,append)
- writeFile(file,content,append)
- writeFileAsIs(file,content,append)
- writeProperty(file,property,value)
- zip(filePattern,zipFile)