Documentation

FileCompareHandler function

FileCompareHandler function is used to compare two Excel file on the basis of alias name. You have to load both the excel files using LOAD_EXCEL_FILE command, get the alias name and then use this alias name in FileCompareHandler function to compare both the files.

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 FILECOMPAREHANDLER function. Provide alias name of both the files in the form.

If both the files are compared successfully then it will return true in the variable defined in the Element key else it will return false.

After completing this step, test step will look as below:

Was this page helpful?