Hi all,
Today, we are back with another article on Katalon TestCloud!
Have you ever thought about how to handle file downloads and verification during your WebUI tests with TestCloud?
In some scenarios, this capability is crucial to ensure that the files downloaded from your application meet the expected criteria. In this article, we will guide you through the steps to set up your testing environment, download files during your tests, and verify them effectively using Katalon Studio and TestCloud.
The following is a ready-to-use
FileExecutor
class that contains custom keywords for downloading and verify files. The keyword file should be placed under thecom.katalon.testcloud
package.
In the sample project, you can use the additional keyword, as seen below
1. To get the latest downloaded file:
2. To verify if the downloaded file contains the expected text:
For more information, please refer to our documentation at: Download and verify files | Katalon Docs
Please also find the sample project below:
If you find this article helpful, then donโt forget to leave a like or a heart and share it with your colleagues and team members. Your support to the KShare series is greatly appreciated!