File Functions
isFile()
1. Overview The isFile() function checks whether the input is a valid file object. It returns a boolean value (true or false) based on whether the specified input can be treated as a file. This is especially useful before performing further file ...
getFileType()
1. Overview The getFileType() function returns the file extension of the specified file. It helps in validating whether the file is of the expected type, such as "txt", "pdf", "png", "jpeg", and so on. 2. Syntax <variable> = ...
getFileSize()
1. Overview The getFileSize() function returns the size of the specified file in bytes. This is useful for validating if a file has been completely downloaded, meets expected size criteria, or to perform conditional logic based on file size. 2. ...
getFileName()
1. Overview The getFileName() function returns the name of the specified input file, including its extension. This is useful for validating file naming conventions or confirming that the expected file has been retrieved or downloaded. 2. Syntax ...
getFilecontent()
1. Overview The getFilecontent() function returns the content stored in the specified input file. It is commonly used in test cases to validate file data, read values for further logic, or check against expected content. 2. Syntax <variable> = ...
File Functions
1. In a nutshell Zoho QEngine provides built-in file functions that allow you to retrieve data and validate files within test scripts. 1.1 Availability These functions are available for : Files retrieved using the invoke URL method Files saved ...